Hi All. After trying on and off several times to get my Corona apps to run on the Android emulator for testing purposes, I was finally able to do it.
Here’s how to test your Corona Android apps on Android JellyBean and other versions. I tested this on a Mac OSX Lion system.
-
Download the Android SDK http://developer.android.com/sdk/index.html
-
Launch the Android SDK Manager http://developer.android.com/tools/help/android.html
-
Install the System images for the Android platforms your want to test on. I recommend 4.1.2, 4.0.3, 4.0, 2.3.3, and 2.2.
-
Launch the AVD Manager http://developer.android.com/tools/devices/managing-avds.html
-
Create an AVD for each Android version you want to test on.
-
For each AVD you create, go into properties, select GPU Emulation and set it to YES. Make sure to press ENTER after changing the value, or it will still be set to NO when you create the AVD. This step is important! Otherwise the application will crash on launch.
-
Run the AVD of your choosing.
-
Install your application onto the emulated device using the ADB tool http://developer.android.com/tools/help/adb.html. You may need to restart the ADB tool if it doesn’t detect the device, you can do this by running “./adb kill-server” followed by “./adb start-server”
-
Run your application! [import]uid: 135827 topic_id: 32386 reply_id: 332386[/import]