Discussion Forums  >  Uncategorized

Replies: 4    Views: 214

WoodView Company
Aspiring developer
Profile
Posts: 2
Reg: Jan 04, 2012
Preston UK
20
01/07/12 11:19 AM (14 years ago)

v1.4 workes in eclipse but get errors on v1.5 apps

v1.4 apps work fine in eclipse but when i try to run a v1.5 app i get a pop up message stating that my app has errors and that i need to fix them before continuing. the effected files seam to be in the src folder. do i have the wrong apk?
 
WoodView Company
Aspiring developer
Profile
Posts: 2
Reg: Jan 04, 2012
Preston UK
20
like
01/07/12 11:30 AM (14 years ago)
i managed to get a bit furthure, i right cliked on the project selected properties and changed it to google api rather than android 2.3 but when i run the emulater i get the following output in the console: [2012-01-07 18:21:59 - Fix My PC] Android Launch! [2012-01-07 18:21:59 - Fix My PC] adb is running normally. [2012-01-07 18:21:59 - Fix My PC] Performing com.fixmypc.BT_activity_root activity launch [2012-01-07 18:21:59 - Fix My PC] Failed to find an AVD compatible with target 'Google APIs'. [2012-01-07 18:22:01 - Fix My PC] Still no compatible AVDs with target 'Google APIs': Aborting launch. [2012-01-07 18:22:01 - Fix My PC] Performing com.fixmypc.BT_activity_root activity launch [2012-01-07 18:22:07 - Fix My PC] Launching a new emulator with Virtual Device 'MonoForAndroid_API_8' [2012-01-07 18:22:12 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error [2012-01-07 18:22:12 - Fix My PC] New emulator found: emulator-5554 [2012-01-07 18:22:12 - Fix My PC] Waiting for HOME ('android.process.acore') to be launched... [2012-01-07 18:22:38 - Fix My PC] HOME is up on device 'emulator-5554' [2012-01-07 18:22:38 - Fix My PC] Uploading Fix My PC.apk onto device 'emulator-5554' [2012-01-07 18:22:39 - Fix My PC] Installing Fix My PC.apk... [2012-01-07 18:22:59 - Fix My PC] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2012-01-07 18:22:59 - Fix My PC] Please check logcat output for more details. [2012-01-07 18:22:59 - Fix My PC] Launch canceled!
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/07/12 11:40 AM (14 years ago)
Do you have any errors (red X) on project If so, right click project > android Tools > fix project properties
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/07/12 02:59 PM (14 years ago)
Looks like you don't have a valid emulator built. In Eclipse go to Window / AVD Manager. New > enter name > Google APIs - API Level 8. Give it some memory, enable snapshot, Create AVD. Try running it on that.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/07/12 09:00 PM (14 years ago)
And make sure you have Google API 2.2/8, which is what you need for v1.5. It's different than what you use for v1.4. Mark
 

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.