Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Can't run in Android Emulator. No AVD created.

$
0
0

Hello, in Titanium I can run a simple mobile app on iOS emulator, but I'm having problems with Android. This is my environment:

OS: Mac OS X Mavericks

Titanium Studio: 3.2.1.201402041146

Titanium SDK: 3.2.2.GA

Android SDK: 4.1.2

Android SDK Manager: 2.6.2

I ran the CLI environment check and everything is ok. The problem I see is that my avd folder in .android is empty, there is no emulator. In Titanium, when I want to select an Android Emulator I see a list of all device definitions, but no AVD.
In the "Creating Your First Titanium App" tutorial, it says that I should choose "titanium_1_WVGA800" but it's missing.

This is the error I see when I try to run in Galaxy Nexus emulator:

[ERROR] : Emulator exited with error: 1 [ERROR] : PANIC: Could not open: Galaxy Nexus [ERROR] Application Installer abnormal process termination. Process exit value was 1

I see in the trace this line: Running: /Users/mohinder/android-sdk/tools/emulator "-avd" "Galaxy Nexus" "-port" "5554" "-no-boot-anim" "-partition-size" "128"

I tried to run that command manually form terminal and it also failed, because there's no AVD with name "Galaxy Nexus". I manually created an AVD in "Android Virtual Device Manager", and then updated the command above with the name of the AVD I created, and then command succeeded, but I don't see this AVD in the list of emulators in Titanium, so I can't run the app.

Thanks!


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>