Hello, I followed the instructions here:
https://developer.amazon.com/sdk/fire/emulator-guide.html after installing all of the packages on ADT v21.0.1. First of all, the AVD definition screen does not let me choose 'Kindle Fire HD 7" (Amazon) - API Level 15' for target. All it has for options are: - Android 4.0.3 - API Level 15 and 3 others. But, the 4.0.3 selection is pre-selected. If I use this target anyway, I get this error when I try to launch: Starting emulator for AVD 'KindleFireHD7' Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. What am I doing wrong here? Thanks, Kevin
BTW, I reloaded eclipse, and the correct target shows up now. I set that as the target, but I still get this error: Starting emulator for AVD 'KindleFireHD7' Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Any ideas, Thanks, Kevin
one note. i later had problems trying to run it again. this time i had to change hw.ramSize=832 to mw.ramSize=832MB in an .ini file under c:\users\ \.android\avd\KindleFireHD7.avd\config.ini for version 21 of ADT. yikes! found that on a random web page. not reassuring! thanks, kevin
Hi Kevin, As you mentioned above , we have changed the hw.ramsize=832 to mw.ramSize=832 in config.ini file. But we can able to launch the KF HD7 AVD without any issue. Please make sure to update the Android SDK Tools in Android SDK manager and install the new updates in Eclipse on ADT plugin tools. If you still face any issues, please raise a contact-us with your settings while creating the avd. This would help us to assist you further.
kevindelafield, Just to add to Dixith's response: Sorry there are issues launching your Kindle Fire AVD. One note on the fix you found: By changing "hw.ramSize=832" to "mw.ramSize=832" the emulator defaults to 256 megabytes of memory. When the emulator starts up, it doesn't find a key for "hw.ramSize" and so it defaults to 256. This is quite low, and the emulator performance may degrade quite a bit. The "Failed to allocate memory: 8" is an error that indicates that the emulator on your machine couldn't allocate as much memory as you requested (832 is the default we have set in this case). To get around this, I recommend doing the following: 1. Revert the change to "hw.ramSize" 2. Select your AVD in the AVD Manager and hit edit 3. Try changing the value under Memory Options: RAM: to something smaller than 832, such as 600. This should allow your AVD to start but still have enough memory to run properly.
that was not the problem. i found this solution on the internet and it worked. this time i had to change hw.ramSize=832 to mw.ramSize=832MB in an .ini file under c:\users\ \.android\avd\KindleFireHD7.avd\config.ini for version 21 of ADT. yikes! kevin