gimarsa
Code is Art
Profile
Posts: 12
Reg: Sep 18, 2011
seville
120
01/23/13 11:41 AM (13 years ago)

A lot of Errors on opening hte Bt package in Eclipse (Self Hosted Control Panel)

Hello, after succesfully publishing my first BT app on Itunes I am in the process to prepare the same app for Android. Downloaded the package from my Self-Hosting and on opened it in Eclipse, reported 513 errors. The log of error is about java, this is the report: "R cannot be solved to a variable" and is repeated for several resources: BT_act_contoller.java, BT_activity_root.java, BT_screen_blank.java, BT_screen_customURL.java,etc... I read all topics of "Eclipse, Errors, Installing, Configuring " and aplied sugested solutions and there is no way to solve it: I am usisng Google API (version 2.2 -8), downloaded the package several times, refreshing, fixing project properties. So I set up this test: I created a simple test new app with only a "simple menu" in my Self-Hosting and at the same time in the Buzztouch.com Control Panel. I downloaded the package of the two versions and I opened it in Eclipse twice on a Mac and on a Windows PC and this is the result: - ON WINDOWS the Self Hosted versions presents the same kind of errors but reduced on quantity (100) due to the fact that there is only one plugin used in the app. The Buzztouch.com Control Panel version opens well without java errors but on running on simulator present: [2013-01-23 19:32:51 - Emulator] Failed to allocate memory: 8 - on Mac the Self-Hosted version presents the same errors, but the Buzztouch.com Control Panel version opens CORRECTLY WITH OUT ERRORS! and run correctly on Simulator. So the conclusion is that it is related with the packaging of the Self-Hosting server (is the last version 2.1.7) but I have no idea what depends on... Someone could help me? or have the same problem?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/23/13 11:49 AM (13 years ago)
Hey @gimarsa, When you download it from your server are you testing a plugin or anything? LA
 
gimarsa
Code is Art
Profile
Posts: 12
Reg: Sep 18, 2011
seville
120
like
01/23/13 12:42 PM (13 years ago)
Hey LA, I first downloaded the package for Android of the app I recently created for iOS, it has a lots of screens and different plugins, all compatibles for iOS and android, the itunes link of the app is: itms://itunes.apple.com/us/app/aabollullos/id591144455?l=es&ls=1&mt=8&ign-mscache=1&ign-msr=https%253A%252F%252Fitunesconnect.apple.com%252FWebObjects%252FiTunesConnect.woa%252Fwo%252F5.0.9.9.3.11.11.3.0.4.0.1 Then the testing app I createded have a simple menu list and a customURL screen, nothing else. The intention is to see if it depend on some plugin or not, by now the only conclusion is that the problem occur with the Self-Hosted package download... and NOT with the buzztouch.com Control Panel...
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/23/13 12:47 PM (13 years ago)
Hi @gimarsa, I was just curious because sometimes I receive the same errors after downloading from my server. Error like R cannot be resolved to a variable. Most of the errors I can fix by properties-selecting the correct Google API's but not that one. LA
 
gimarsa
Code is Art
Profile
Posts: 12
Reg: Sep 18, 2011
seville
120
like
01/23/13 12:58 PM (13 years ago)
Yes, but I don´t think it depend on Google API's because in all cases I alwase used the same settings and it gives different result depending on which package is Self Hosted or not...
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/23/13 01:01 PM (13 years ago)
I have to do it every time I load a package in Eclipse. It can be the same package in there and just doing a restart and still have to do it. The R error is a different story though. LA
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
01/23/13 01:15 PM (13 years ago)
@gimarsa - 'R cannot be resolved to a variable' errors are almost always caused by something wrong in the 'Res' folder of your project. It might be image names with capital letters, or you might have specified a png image in your control panel but added a jpg to the project, or an xml file with an incorrect reference, that sort of thing. Maybe if you're porting over from xcode, it might be capital letters in image names? Do you have the 'problems' pane opened in eclipse? That and the 'console' pane can help a lot in tracking down errors. It's also likely to be only one or two errors, but they're causing a bunch of errors in the java files.
 

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.