RBeaujard
Aspiring developer
Profile
Posts: 2
Reg: Nov 05, 2010
New York
20
11/06/10 09:35 AM (15 years ago)

Can't compile in Windows

I am having trouble compiling my app in Windows 7 Ultimate 32 bit. I have Eclipse ver 3.5 with android pluggin, android sdk, and the virtual phone set up to test 1.6 To be clear, when Eclipse starts it asks for a work folder, I choose an empty folder on my desktop called MyApp Once Eclipse starts, I connect the android sdk. Then I go to new, android project. I enter MyApp for the name, choose create from existing and point to my downloaded buzztouch folder. Immediately I get the following errors in the console of eclipse. [2010-11-06 12:11:38 - SDK Manager] Warning: Error parsing 'C:\Users\new\Desktop\android-sdk-windows\platforms\android-2\sdk.properties': java.io.FileNotFoundException: C:\Users\new\Desktop\android-sdk-windows\platforms\android-2\sdk.properties (The system cannot find the file specified). [2010-11-06 12:11:38 - SDK Manager] Warning: Error parsing 'C:\Users\new\Desktop\android-sdk-windows\platforms\android-5\sdk.properties': java.io.FileNotFoundException: C:\Users\new\Desktop\android-sdk-windows\platforms\android-5\sdk.properties (The system cannot find the file specified). [2010-11-06 12:11:38 - SDK Manager] Warning: Error parsing 'C:\Users\new\Desktop\android-sdk-windows\platforms\android-6\sdk.properties': java.io.FileNotFoundException: C:\Users\new\Desktop\android-sdk-windows\platforms\android-6\sdk.properties (The system cannot find the file specified). [2010-11-06 12:14:43 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\Users\new\Desktop\android-sdk-windows\AndroidManifest.xml: java.io.FileNotFoundException: C:\Users\new\Desktop\android-sdk-windows\AndroidManifest.xml (The system cannot find the file specified) [2010-11-06 12:14:43 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\Users\new\Desktop\android-sdk-windows\AndroidManifest.xml: java.io.FileNotFoundException: C:\Users\new\Desktop\android-sdk-windows\AndroidManifest.xml (The system cannot find the file specified) After clicking finish, it runs through a few building processes and then stops. The android phone simulator doesn't load and my project has a red exclamation mark next to it. Please advise. Thank you. RJB
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6868
Reg: Jan 01, 2010
Monterey, CA
78,860
like
11/07/10 11:31 AM (15 years ago)
Hi RJB, lets do this: Start by seeing if you can create a blank Android app without worrying about the buzztouch source code. There are literally thousands of cases where the buzztouch package compiles with no errors in Eclipse so we should first see if your Eclipse environment is setup properly. It sounds like it is but the errors above are mysterious. You could also check out this thread, it's kinda related? http://www.buzztouch.com/forum/thread.php?tid=3A67E60FCA43B41
 
Annonymous
Profile
11/07/10 12:22 PM (15 years ago)
OK in Eclipse, after attempting a compile I get and error at MyApp> src> com.v1_4.B62BE13E9D9A1D30.com> Obj_MapLocation.java> Obj_MapLocation> point There are errors on these two lines import com.google.android.maps.GeoPoint; and GeoPoint point; There are similar errors at Screen_LocationMap.java Also I tried switching to a Google 1.6 simulator as opposed to the android one, same results. No errors with a blank app. I must be missing something somewhere. RJB
 
RBeaujard
Aspiring developer
Profile
Posts: 2
Reg: Nov 05, 2010
New York
20
like
11/07/10 12:23 PM (15 years ago)
OK in Eclipse, after attempting a compile I get and error at MyApp> src> com.v1_4.B62BE13E9D9A1D30.com> Obj_MapLocation.java> Obj_MapLocation> point There are errors on these two lines import com.google.android.maps.GeoPoint; and GeoPoint point; There are similar errors at Screen_LocationMap.java Also I tried switching to a Google 1.6 simulator as opposed to the android one, same results. No errors with a blank app. I must be missing something somewhere. RJB
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6868
Reg: Jan 01, 2010
Monterey, CA
78,860
like
11/08/10 12:50 AM (15 years ago)
Sorry about the delay in responding, getting crazy around here! So, the errors you posted are starting to make sense and appear to be related to the Maps API and associated classes. It appears that you have not downloaded and installed in Eclipse the Google Maps API stuff. Details here: http://code.google.com/android/add-ons/google-apis/maps-overview.html However, you should not have to do anything Map Related if you have not included a map screen in your buzztouch control panel. The source-code for the project you downloaded (from your control panel) should have some comments in the README.txt file related to the maps. It talks about some stuff to uncomment If you have used the maps. If you have not included any map screens you should not have to do this. It looks like Eclipse is yelling at us about maps stuff anyway - ugh. Probably the easiest thing to do is to follow the instructions in the URL above and add the Google Maps stuff to your Android / Eclipse environment even though you may not be using the API's. If you don't want to do this, were gonna have to figure out why Eclipse insists on showing the errors anyway. In fact, I haven't heard about this problem from others and when we figure this out (you and I) the fixes will end up helping tons of folks - thanks for this. a) Make sure this is commented out in Manifest.xml (near the end of the file) Commented out means the should exist (everything in between is ignored by Eclipse b) Make sure this is commented out in Act_ActivityBase.java (around line 283 of the file) Inside the showLocationMap() method... Intent theIntent = new Intent(this, Screen_LocationMap.class); startActivity(theIntent); */ If you can't find this stuff, or you can't get anywhere, I'd be happy to do this over the phone. Again, you can't be alone with these troubles! If you feel like having a phone conversation about it, send your number to info at buzztouch.com and I'll call you tomorrow (monday) when I get a chance. DO NOT POST YOUR PHONE NUMBER ON THIS FORUM - it's public and a bad idea ;-)
 

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.