question

hollandnumerics avatar image
hollandnumerics asked

Unable to see app in Kindle Fire HD7 emulator

Environment: Win7 64-bit Ultimate, Eclipse Helios, Android SDK 20 App: WebView + calls to email + minimum version Kindle Fire (2.3.3) I'm trying to install app in Kindle Fire HD7 emulator by launching from Eclipse Helios, but all the apps I can see in the emulator are: Amazon Test Client, Calendar and Email Console (Android): [2012-09-16 10:44:09 - howsasp00z] ------------------------------ [2012-09-16 10:44:09 - howsasp00z] Android Launch! [2012-09-16 10:44:09 - howsasp00z] adb is running normally. [2012-09-16 10:44:09 - howsasp00z] Performing com.hollandnumerics.howsasp00z.main activity launch [2012-09-16 10:44:09 - howsasp00z] Automatic Target Mode: Preferred AVD 'Kindle_Fire_HD7' is not available. Launching new emulator. [2012-09-16 10:44:09 - howsasp00z] Launching a new emulator with Virtual Device 'Kindle_Fire_HD7' [2012-09-16 10:44:22 - howsasp00z] New emulator found: emulator-5554 [2012-09-16 10:44:22 - howsasp00z] Waiting for HOME ('android.process.acore') to be launched... I've also tried it with minimum version Kindle Fire HD7 (4.0.3), but without any improvement. What have I missed?.............Phil
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel@Amazon avatar image
Samuel@Amazon answered
If your app is compiled successfully on eclipse, you can follow the below steps to install an app in KF Emulator. -> Right click on project and "Run As"-> "Android Application" That should open up KF emulator and with your app installed on it or you can chose KF emulator manually in Run Configurations. -> Run Configurations -> target. In target you can select preferred Android Virtual Device for deployment. You can find additional information regarding the emulator at: https://developer.amazon.com/sdk/fire/emulator-guide.html Hope this helps you.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hadi@Amazon avatar image
Hadi@Amazon answered
Thanks for bringing this to our attention. This happens only if the emulator is not running when you launch your application from eclipse. Once the emulator is running, launching from eclipse should works as expected. Try launching your application from eclipse with the Kindle Fire HD7 emulator running.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hollandnumerics avatar image
hollandnumerics answered
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anshul@Amazon avatar image
Anshul@Amazon answered
Thank you for your post muliawanh. This will definitely help other developers as well.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hollandnumerics avatar image
hollandnumerics answered
Surely the emulator should work the same way for all platforms? You don't need to open the emulator first with any non-Amazon platforms.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hollandnumerics avatar image
hollandnumerics answered
Just for the record, this issue also exists on the Kindle Fire (2nd Edition) emulator too! ..........Phil
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel@Amazon avatar image
Samuel@Amazon answered
Hi, you do not need to open the emulator first in order to open your app on emulator, but you need to make sure that the emulator is installed under Window -> AVDManager -> Android Virtual Devices. Once emulator is installed, you can run your project by selecting Run As -> Run Configurations -> Target and chose your emulator to run your app. You do not need to do this every time but initially you need to do this to run your app on emulator.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hollandnumerics avatar image
hollandnumerics answered
Samuel, That's what I was doing, and the emulators start OK, but my app isn't visible on Kindle Fire HD 7" or Kindle Fire (2nd Generation) emulator. However, this app loads onto the Kindle Fire emulator OK, so I don't believe it is a problem with the app itself. [2012-09-25 10:01:02 - howsasp01z] ------------------------------ [2012-09-25 10:01:02 - howsasp01z] Android Launch! [2012-09-25 10:01:02 - howsasp01z] adb is running normally. [2012-09-25 10:01:02 - howsasp01z] Performing com.hollandnumerics.howsasp01z.main activity launch [2012-09-25 10:01:02 - howsasp01z] Automatic Target Mode: Preferred AVD 'Kindle_Fire_HD7' is not available. Launching new emulator. [2012-09-25 10:01:02 - howsasp01z] Launching a new emulator with Virtual Device 'Kindle_Fire_HD7' [2012-09-25 10:01:39 - howsasp01z] New emulator found: emulator-5554 [2012-09-25 10:01:39 - howsasp01z] Waiting for HOME ('android.process.acore') to be launched... [2012-09-25 10:13:43 - howsasp01z] ------------------------------ [2012-09-25 10:13:43 - howsasp01z] Android Launch! [2012-09-25 10:13:43 - howsasp01z] adb is running normally. [2012-09-25 10:13:43 - howsasp01z] Performing com.hollandnumerics.howsasp01z.main activity launch [2012-09-25 10:13:43 - howsasp01z] Automatic Target Mode: Preferred AVD 'Kindle_Fire_2ndGen' is not available. Launching new emulator. [2012-09-25 10:13:43 - howsasp01z] Launching a new emulator with Virtual Device 'Kindle_Fire_2ndGen' [2012-09-25 10:14:40 - howsasp01z] New emulator found: emulator-5554 [2012-09-25 10:14:40 - howsasp01z] Waiting for HOME ('android.process.acore') to be launched... ..............Phil
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel@Amazon avatar image
Samuel@Amazon answered
Hi Phil, we got your issue and we are looking into it. Meanwhile, as a work around, you can solve this by following the below way, When you got the log "Waiting for HOME ('android.process.acore') to be launched...", wait for few seconds and run the project again as Android application, which opens up and loads your app on the emulator. This is only work around and we will get back to you soon on the original issue. Thanks for you patience.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tim@Amazon avatar image
Tim@Amazon answered
Hi Phil, Thanks again for bringing this issue to our attention. We recently released an update for both the Kindle Fire (2nd Generation) and Kindle Fire HD 7" emulators. This update, among other things, should fix the issue you describe with your app not getting installed on the initial launch of the emulator. You can update the two emulators through the SDK Manager. Tim
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.