Reputation: 883
please help me... :(
I downloaded Android ADT from google play and update all of it's SDK and etc to last version and also I've installed Java Runtime(SE) last version.
Now according to any basic learning courses, I want to run the first App "Hello World!" in AVD.
For example : from menu I just click "new" and select "Android Application Project". then I just set App Name, project Name and Package Name just as like all trainings and there is no error in here and everythings goes well.
after that I must choose my SDKs and in order to lessons, I was choose combo boxes as bellow :
Then I didn't change and left all options to their default. and finally click on Finish button.
now I can see my first program environment but in design mode.
the problems are here :
at last, I want run my first program with AVD as shown in bellow :
and run AVD.
1st problem : after long time(almost 3 or 6 min) AVD simulate Andriod smart phone.
2nd problem : in menu screen i can't see my first App Icon so I can't Run It.
3rd problem : If I want Run AVD with Intelx86, the emulator Run after horrible long time and say this error:
Starting emulator for AVD 'AVD_for_AVD_for_test_5_1in_WVGA' emulator: Failed to open the HAX device! HAX is not working and emulator runs in emulation mode emulator: Open HAX device failed
so please help me. I'm really like to learn Android Programming :((
Upvotes: 3
Views: 19130
Reputation: 9336
For the application not present in the menu, I think that you are not running the project from eclipse and just looking into the emulator. Please run the project from the IDE that you are using eg. Eclipse.
If have run the app and still not seeing it on the emulator then please post the logcat.
For the problem regarding the HAX, go to the folder
[Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager
then run IntelHaxm.exe
and install.
For running the app, right click on the project > Run as > Android Application
Upvotes: 3