stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
08/02/14 10:11 PM (10 years ago)

Just when you think you're done

As can be seen from previous posts, I was having a lot of problems with an Android app so I decided to just start all over again, reinstall eclipse, and lo and behold, I was able to compile my app and there were no errors. So I ran it in the simulator, with the simulator being Nexus 7, target being Android 4.4W, API 20, and CPU Android Wear ARM (armeabi-ver7a). After hitting run, things go very slowly, the simulator shows the nexus screen with Android pulsing on it but finally, the screen goes to the home screen but no app. The log is: [2014-08-03 00:52:28 - stories] Uploading stories.apk onto device 'emulator-5554' [2014-08-03 00:52:35 - stories] Installing stories.apk... [2014-08-03 00:54:43 - stories] Failed to install stories.apk on device 'emulator-5554! [2014-08-03 00:54:43 - stories] (null) [2014-08-03 00:54:43 - stories] Launch canceled! Anyone have any ideas why this has happened? Again there are no errors listed. Thanks. Steve
 
KevinPerry
Android Fan
Profile
Posts: 199
Reg: Jan 10, 2012
Wisconsin, USA
12,890
like
08/02/14 10:40 PM (10 years ago)
Maybe the size of the apk and the size of the AVD storage space ... make it bigger? Maybe try and start the AVD first, then hit the run ... after it gets the home screen loaded? Other than that I am not sure, if they don't help hopefully someone else might be able to.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
08/03/14 09:50 AM (10 years ago)
I thought the problem was with using Android 4.4W so switched to 4.0, API 14. Solved some of other problems but in the end, the simulator still sits there: [2014-08-03 12:41:52 - stories] Android Launch! [2014-08-03 12:41:52 - stories] adb is running normally. [2014-08-03 12:41:52 - stories] Performing com.stories.BT_activity_start activity launch [2014-08-03 12:41:52 - stories] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_buzztouch5' [2014-08-03 12:41:52 - stories] Launching a new emulator with Virtual Device 'AVD_for_buzztouch5' [2014-08-03 12:41:54 - Emulator] emulator: emulator window was out of view and was recentered [2014-08-03 12:41:54 - Emulator] [2014-08-03 12:41:54 - stories] New emulator found: emulator-5554 [2014-08-03 12:41:54 - stories] Waiting for HOME ('android.process.acore') to be launched... Any other suggestions? by the way, how do you start the AVD first, and then the app? Steve
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
08/03/14 09:54 AM (10 years ago)
Actually, it seems to work now. Go figure.
 

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.