Ricardo Vio
Android Fan
Profile
Posts: 13
Reg: Jul 22, 2013
NYC
3,380
05/20/14 11:09 AM (10 years ago)

R cannot be resolved to a variable - Layout XML files with errors

Hello, Began working on a new app and downloaded the source code for it yesterday. Have 250 Errors just importing it into Eclipse. I have referenced the appropriate google play services lib folder and am having the issue R cannot resolve. After about 12 hours searching through stackoverflow I think it may be tied to having 2x layout xml files with errors. I did not edit the source code after downloading it from BT just imported it straight away. Eclipse is set to API 14 android 4.0 and also java encoding is at 1.6. Please see the below images. http://tinypic.com/r/25z6upt/8 http://i57.tinypic.com/33fdnvq.png http://tinypic.com/r/2u8w2uf/8
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/20/14 12:13 PM (10 years ago)
I havent had time to update artdroid plugin but read the howto.txt file in downloaded project.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/20/14 12:20 PM (10 years ago)
https://www.dropbox.com/s/d7a3uzojuahepkl/howTo.txt and this is the menu you unzip and drag in your project https://www.dropbox.com/s/qrtsd3zbda2ycmm/menu.zip those files are in the download also.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/20/14 12:36 PM (10 years ago)
And this video I have on working with BT v3 projects should help as well: https://www.youtube.com/watch?v=UgurXKgP2AE Mark
 
Ricardo Vio
Android Fan
Profile
Posts: 13
Reg: Jul 22, 2013
NYC
3,380
like
05/21/14 05:56 AM (10 years ago)
Hey thanks for the quick responses. As stated above unless you actually do the howto.txt stuff above the plugin throws major errors. All good now tho, thank you!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/23/14 08:16 PM (10 years ago)
Ive updated art_droid,where you no longer need to add menu folder and strings in strings.xml.only one step,which is in the link of the plugins page
 

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.