MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
10/26/10 01:14 PM (15 years ago)

Works fine in xCode, Eclipse? Not so much.

Hi all. Sorry to post what may seem trivial but I am now 8 hrs deep in this problem. I have trawled forums, resinstalled etc but to no avail so here is the issue. App created and works fine in xCode but the same App in Eclipse isn't playing. Eclipse / Prefs / SDK location / android-sdk-mac_x86 File / New / Android Project - Named Project App1 Create from existing source and point to the buzztouch Android download. Then it just keeps telling me 'App1] AndroidManifest.xml file missing!' AM ready to tweet, share on FB and donate to all followers if I can get this fixed! Thanks in advance Keith Ps If you want to take remote control of my Mac by all means.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/26/10 02:23 PM (15 years ago)
Hi, something trivial must be going on, thousands of them work without trouble - hang tight while we investigate.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/26/10 03:14 PM (15 years ago)
Some other things to check. Not sure what 'App1] Android Manifest.xml file missing' means, I'm assuming you can see the AndroidManifest.xml file your project - right? Also, where is the ] bracket coming from? Is that part of your project name? I've heard from other Eclipse devs. that it doesn't like project names that contain spaces - does yours? I don't think Eclipse yells at you when you enter a space in the project name but I've heard it's a bad idea, may as well use no spaces. Also, when you first create the project (after choosing name, from source, etc). When you click Done (it may read Finish), the project itself will show a little red icon on in Project Explorer if there are any obvious errors or missing files. Does it show a red icon anywhere? If it does, expand the directories inside the project and try to find what file is missing. Red icons in project normally mean missing or messed up files. Also, does your Java Build Path look OK? Form the Project Explorer, view the Properties of the project, inspect the Android build path and the Java Build path, does it all look ok? These things should be set for you when you add the Android SDK to Eclipse but it's worth checking.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
10/26/10 03:26 PM (15 years ago)
Yip. The Android Manifest.xml is indeed there. Clean install now and will name without spaces and post update. Thanks.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/26/10 05:14 PM (15 years ago)
Turns out the the Google AVD (Simulator) was not being used, the Android AVD (Simulator) doesn't work the same way- there is a difference. The projects are compiled against the Google Android API's and as such sometimes fail when running in the Android (non-Google) Simulator. Strange but true. Just configure a Google Android simulator in the AVD Run Configuration screen in Eclipse.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
10/28/10 02:57 PM (15 years ago)
Al is well, you guys truly rock. Beats anything else I've tried out there. Keep it up, you got my vote!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/28/10 04:49 PM (15 years ago)
Thanks for the kind words, and the Tweets aren't too shabby either - good stuff! Stay tuned for more flexibility, simplicity, and control panel fun. out.
 

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.