Recently I tried to learn Android programming. I installed Eclipse, Android SDK, almost 10 GB of data with SDK Manager. I create new project and AVD. When I run the code, all I see on the console is this :
[2015-02-18 20:16:27 - Hey] ------------------------------
[2015-02-18 20:16:27 - Hey] Android Launch!
[2015-02-18 20:16:27 - Hey] adb is running normally.
[2015-02-18 20:16:27 - Hey] Performing com.example.hey.MainActivity activity launch
[2015-02-18 20:16:27 - Hey] Automatic Target Mode: Preferred AVD 'AndroidEmu' is not available. Launching new emulator.
[2015-02-18 20:16:27 - Hey] Launching a new emulator with Virtual Device 'AndroidEmu'
[2015-02-18 20:16:45 - Hey] New emulator found: emulator-5554
[2015-02-18 20:16:45 - Hey] Waiting for HOME ('android.process.acore') to be launched...
And all I see is emulator with android logo. I waited almost half an hour, I tried almost every method on internet, I am working on this problem since yesterday and now I am completely stuck.
I have 32-Bit Windows 7, 4 GB RAM, Intel Core 2Duo CPU. I have an old computer, is this the problem?
I really need help, I want to learn Android so much but thanks to these problems, I couldn't try anything.
Android Emulator is known for being really slow. I would recommend you to take a look at Genymotion. https://www.genymotion.com/
It's a lot better experience.
Its better to try your own real device as per my opinion
Please consider trying Android Studio instead of Eclipse. It is the newer and officially supported IDE for android development. Doing so will allow you to use HAXM, which is Intel's tool to allow your emulator to make use of hardware acceleration. You should see considerable speed improvements with it.
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Related
Whenever I tried to run any projects from my eclipse following message thrown up in the console window
[2014-07-30 06:32:53 - Project_Name] ------------------------------
[2014-07-30 06:32:53 - Project_Name] Android Launch!
[2014-07-30 06:32:53 - Project_Name] adb is running normally.
[2014-07-30 06:32:53 - Project_Name] Performing com.example.workingver1.HomeScreen activity launch
[2014-07-30 06:32:54 - Project_Name] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_5_4_FWVGA'
[2014-07-30 06:32:54 - Project_Name] Launching a new emulator with Virtual Device 'AVD_for_5_4_FWVGA'
[2014-07-30 06:32:54 - Emulator] unknown option: -dns
[2014-07-30 06:32:54 - Emulator] please use -help for a list of valid options
What could be the problem?
I tried following things but couldn't rectify it.
Clean Project and Run
Tried Windows->preference->launch (Launch Settings)
Delete my existing AVD and Create a new one, that too didn't work
Any suggestions?
in Eclipse
Select Windows -> Preference
Android -> Launch -> Default Emulator Option ->
Paste this: -Dns-server 8.8.8.8,8.8.4.4
than Apply -> OK
clean up your project
check for ANDROID ARM system image is available installed properly
open Android virtual device
check your API levels properly
select Arm
it might be an ARM Ram problem too .. if you use core i3 system processor choose 512 ram in Avd or choose any other emulator with 512 Ram I suggest you to go with android API level 19 or 20 with Android Nexus one Emulator its the better emulator which starts easily.
and
start the emulator launch it
once your Emulator starts running then run your app
Try this,
clean up the project
set the default emulator option in windows
1. preference
2. android
3. launch
This question has been asked here multiple times but nothing works for me. I have installed Android SDK on Windows 7 and trying to run HelloWorld project on the emulator. Unfortunately it never launches and just always showing flashing ANDROID label. The console says:
Waiting for HOME ('android.process.acore') to be launched...
As suggested here i run my project as Android application once again and yes, things change, now the console happily tells me:
[2013-07-27 22:53:36 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2013-07-27 22:53:37 - HelloWorld] Installing HelloWorld.apk...
[2013-07-27 22:53:55 - HelloWorld] Success!
[2013-07-27 22:53:56 - HelloWorld] Starting activity com.example.helloworld.MainActivity on device emulator-5554
but the emulator remains unchanged, just flashing with ANDROID. Can anyone give an advice?
Increase ram for the virtual device and try to select a old device with small screen to emulate , btw some times the splash screen may take up to a minute to load depending in your computer
Consiter using this very fast alternative:
genymotion
You can launch from eclipse and android studio, it has great performance.
I was developing my app and everything was OK. I installed ADT - 15.0.0 and installer_r15-windows.exe. After that, when I press Ctrl+F11 my project is uploaded but stayed in installing state without any progress. Why? can anybody help me?
thanks,
[2011-11-05 17:24:31 - order] ------------------------------
[2011-11-05 17:24:31 - order] Android Launch!
[2011-11-05 17:24:31 - order] adb is running normally.
[2011-11-05 17:24:31 - order] Performing org.mabna.order.ui.ActLogin activity launch
[2011-11-05 17:24:31 - order] Automatic Target Mode: using device '380700042ffa097'
[2011-11-05 17:24:31 - order] Uploading order.apk onto device '380700042ffa097'
[2011-11-05 17:24:33 - order] Installing order.apk...
[2011-11-05 17:24:31 - order] Automatic Target Mode: using device '380700042ffa097'
According to this line from the console log that you provided, this is not an emulator, this is an actual device. If you are trying to deploy to a device, make sure you have the right adb driver installed, if you are trying to deploy to an emulator create an AVD using the AVD manager.
launch an emulator first, or better yet, disconnect your android device if you want to launch your app in an emulator. eclipse should launch the correct emulator for you (assuming you created a compatible one already)
I updated eclipse and the problem solved.
I am trying to learn about Android development. I have installed Eclipse (3.6.2) the ADT plugin (10.0.1) and the Android SDK (r11 off the official site) all are installed as 32 bit but my OS is Windows 7 64-bit.
What happens is I run my app (HelloAndroid) and the emulator and I see the main wallpaper screen but then then nothing happens! I have looked on the emulator for the app and cannot find it anywhere.
My console output is shown below...
[2011-05-20 19:14:20 - HelloAndroid] ------------------------------
[2011-05-20 19:14:20 - HelloAndroid] Android Launch!
[2011-05-20 19:14:20 - HelloAndroid] adb is running normally.
[2011-05-20 19:14:20 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-05-20 19:14:20 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'Android2.1'
[2011-05-20 19:14:20 - HelloAndroid] Launching a new emulator with Virtual Device 'Android2.1'
My AVD (Android Virtual Device) is set up as the tutorial suggests and the target is Android2.1-update1-API Level 7.
I have installed this app on my phone (HTC Hero, Android 2.1) and it works fine, but before I try and write other applications I need to get the emulator working, has anyone encountered this issue before?
I have looked online and cannot find a solution that solves my problem.
Thanks for your help in advance.
You can use adb to install your app. Find the bin directory in your eclipse workspace. There should be a YOUR_PROJECT_NAME.apk file there. To install it, from the command line, run:
adb install -r YOUR_PROJECT_NAME.apk
You will need adb in your path.
Start the emulator, switch to the logcat view in Eclipse (Window -> show view -> other ... -> logcat).
Clear the console output for logcat.
Try to deploy your application.
What does the output in logcat say? Does it display an error message?
I am a beginner android developer and I had followed the instructions in the Quick Start and SDK Setup. After following all the steps I attempted to run the Hello World sample application and when I run the project, I get the standard "emulator.exe has encountered a problem and needs to close." box. I tried running the avd that I created in the AVD manager with the same results. I also tried running the AVD from the command line, using "emulator.exe #my_avd". I've tried 2.1 and 2.2 platforms. I using Eclipse 3.5 SR2 with the android plug-in. I am running Windows XP SP3, 512MB RAM, Intel Core 2 Quad on a virtual machine using VM-Ware. My machine running the virtual machine has the 3GB max ram for a 32-bit machine.
Thanks in Advance,
Mark
In response to comments:
Android console says:
[2010-07-29 10:39:20 - HelloAndroid] ------------------------------
[2010-07-29 10:39:20 - HelloAndroid] Android Launch!
[2010-07-29 10:39:20 - HelloAndroid] adb is running normally.
[2010-07-29 10:39:20 - HelloAndroid] Performing odog.andriod.example.helloandroid.HelloAndriod activity launch
[2010-07-29 10:39:20 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2010-07-29 10:39:20 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
DDMS console says nothing.
I have not tried to run the emulator on the physical machine. I'm trying to keep the Android development machine "clean". My physical machine has Visual Studio 2010, 2008, 6, Windows Platform SDKs, DirectX SDKs of various versions as well as various versions of Eclipse for micro-controller and BlackBerry programming. Little mucky .... needs to be formatted.
It seems deleting and reinstalling all the packages in the Android SDK and AVD Manager worked. Thanks for interest.