I have started learning android myself, I have setup the enivronment I am following this link, I have successfully created Hello World app,but when I am running it,the AVD is appearing with black screen with just android word on it.
I have followed each step mentioned in the link,but no luck there is no error in console too, I saw solution in this link and I have waited so too long but its still showing just android word and not Hello world.
Also Please suggest some good book/tutorial for android
Restart your AVD, it takes some time in the beginning. You need to have patience and wait till the home page comes in the emulator. If this doesn't work try to use another Android AVD as mentioned in the above ans.
Also you should prefer Android Studio over eclipse.
Android is the intro of the emulator for some reason your emulator cannot starts,restart your emulator or create a new one. I recommend you use GenyMotion for Android emulator . Some good tutorials for android:
http://developer.android.com/index.html , http://www.androidhive.info/ , http://www.vogella.com/
Related
I've read the comment of Prashanth Sams in this question here.
What's bothering me is that when i run my new AVD, it doesn't work now and it's all black. It was working way back when im still using ARM based AVDs. I'm using Eclipse IDe btw, and have all updated updates.
I am having a problem similar to this question:
AVD Manager don't start
but I do not understand the answer and how it worked. I cannot find AVD anything, anywhere.
My AVD Manager had been working fine and well and then suddenly it stopped.
I am not 100% sure if it was working well before I added on the Kindle Fire emulator because I had already had some AVDs set up and didn't try to create a new one before I added this in.
I updated ADT and I am pretty sure it is an android configuration problem, not Eclipse.
Any suggestions would be greatly appreciated.
I had the same problem, then I realized I had Java EE running in the top left corner, not just Java. In the write hand corner, exit out of the Java EE and start a just Java one, and it will have the AVD Manager you seek.
Yep, I had this too. It is caused by a corrupted AVD image. I followed the instructions (and added a comment) to the below Google Code issue;
http://code.google.com/p/android/issues/detail?id=41024
Follow the instructions there and enjoy the remaining AVD insufficiencies... :S
Is it possible to put the emulator inside eclipse, as a tab/window? I've got dual monitors and my typical setup is eclipse full screen on one side and chrome full screen on the other one typically on an developer.android.com or stackoverflow and the emulator UNDER chrome most of the time until I'm debugging.
I do not know if it is possible in Eclipse, most probably not (I could be wrong).
You can try out MotoDevStudio though. The development environment looks exactly like Eclipse, so you wouldn't have much trouble switching over. And more importantly, it has the Android Emulator running inside a tab in the IDE.
Android Emulator Icon in windows 7 does not show in TaskBar..see my Image...
I tried but cant get solution only this found http://code.google.com/p/android/issues/detail?id=21709
But cant Solve problem ...
According the link you posted it appears to be a known bug. Most likely the only solution is to wait for the next version of the ADK Tools to be released by Google.
But after all, it is just a missing icon and doesn't affect the ability to develop using the emulator.
I am trying to test my app on android emulator. So as soon as, i am choosing run the application, a new window pops up on the screen and after taking 1-2 minutes, it goes not responding.
I also tried running the emulator separately using AVD manager. Using this, i am able to start the emulator; but after 3-4 minutes - it goes "not responding".
OS- Windows 7 32 bit [ intel pentium 3.00 GHZ + 2GB RAM]
Java - 1.6
Android SDK - i have the latest SDK with 3.0 OS
IDE - eclipse Helios Service Release 2.
Plz help, i am unable to do anything.
Update: can you guys point me towards other 3rd party emulators which i can use?
Update2: My emulator is taking too much time in launching now. Can this be a cause? If yes, then how do i decrease the boot time?
(This isn't so much of an answer, but might go some way to figuring out the source of the problem; I'd comment on the original question instead but don't have enough rep to do so)
I keep having this problem too. I have an app with a few activities, one of which contains a layout with a Canvas which runs its own thread to do drawing processing. All of the activities run fine except for this Canvas activity which seems to crash the emulator in the way the OP described (the emulator .exe itself crashes rather than the application within the emulator) if left to run for a few minutes. As far as I can tell I'm not doing anything unusual with the thread - I copied the Lunar Landar example in the SDK and worked from that so I'm doing everything "by the book". The app runs fine on real devices.
So, while I realise the OP may be long gone, could anyone else with a similar problem confirm that the affected Activity is using a Canvas, drawing Thread, or anything like that? This problem is a real pain and I can't find any other discussions/solutions for the matter.
EDIT: I recently did a complete, clean re-install of the most recent versions of Eclipse and the Android SDK with all the updates and that seemed to solve the problem. Guess there was a bug in an older version of the emulator that was fixed in a more recent release.
Have you enabled snapshots. If you enabled it then you can be trying to open a incorrectly saved snapshot. If so, while starting the emulator with launch options, uncheck launch from startup
#mudit:remember Android 3.0(Honeycomb) is dedicated entirely to only tablets and not the mobile phones..
Does the emulator prompts you "not responding" in your app or when you just start the emulator without launching an app, too?
A strong advice: you don't need to restart the emulator for every app launch, just keep him running (maybe you already do that).
Does the logcat show some errors prior to the "not responding"? Have you tried creating another AVD?