miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
03/03/14 10:12 AM (10 years ago)

R cannot be resolved as a variable

If I download project for Android v3.0 I get about 100 errors - R cannot be resolved as a variable. If I use previous version all works good. In 3.0. I use Android 4.0, API 14. I also tried with Clean... but doesn“t change. It is one error more: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). AndroidManifest.xml /cetrta line 66 Android AAPT Problem
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/03/14 10:21 AM (10 years ago)
Have you added Google Play Services to your workspace and linked it to your app? ---------------- https://www.buzz-tools.com
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/03/14 10:22 AM (10 years ago)
Hello, Do you have the Google Play Services linked to your project per the instructions PDF that comes with the download package? Also...BT made a change to the AndroidManifest.xml file recently that fixes the issue you noted above with respect to the error. If you haven't downloaded the package within the last week, it might be good to pick up a new one. Mark
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
03/03/14 12:36 PM (10 years ago)
Thanks, works now. Best regards Milan
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
03/04/14 02:24 AM (10 years ago)
That was on my Mac version of Eclipse. Today I tried also on Win7, did the same procedure, but now my errors are: The method getHomeScreen() is undefined for the type BT_application BT_activity_root.java /cetrta/src/com/cetrta line 247 Java Problem The method getTab0ScreenData() is undefined for the type BT_application BT_activity_root_tabs.java /cetrta/src/com/cetrta line 180 Java Problem The method getTransitionTypeHistory() is undefined for the type BT_application BT_act_controller.java /cetrta/src/com/cetrta line 356 Java Problem The method setTab1ScreenData(BT_item) is undefined for the type BT_application BT_activity_root_tabs.java /cetrta/src/com/cetrta line 294 Java Problem
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.