1

Programming newbie, just getting started with all of this... I have searched around, but I haven't found anything relevant to my problem

So here it is, So I'm trying to build a simple hello world application for android, but I wanted to test run the AVD just to check things out. But I get this problem: Screenshot 1 (it just shows "PANIC: Cannot create AVD", no further info)

I have tried creating virtual devices based on 4.2 and 2.3.3, but none of these start up. I have sdk up and running, no problem.Screenshot 2 I also have all the files required (like the system images etc) Eclipse 64-bit also runs fine (had some errors, but solved them using search)

Any help? I run windows 7 64bit, 500gb hdd, 4gb ram, i3@2.4ghz SDK, Java, Eclipse and all other tools are 64bit based.

Please help.

jprofitt
  • 10,874
  • 4
  • 36
  • 46

5 Answers5

1

If the emulator takes up too much time to load or getting lags then you should try this. Called as Intel Virtualization Technology with HAXM.

I know this is not the answer of your question but that might be helpful for you. :) It can greatly increase emulator speed.

You can check : Here

Community
  • 1
  • 1
0

If you are on windows, make sure that the amount of RAM the AVD will have access to is 512MB or less. It doesn't matter how much RAM your computer has, this is a bug.

Victor KP
  • 437
  • 3
  • 10
0

What happens when you run the following from shell/command prompt? This should give you more information when the emulator is launching and should help diagnose the issue.

emulator -verbose -avd <name of emulator>
loeschg
  • 29,961
  • 26
  • 97
  • 150
  • Um, I don't exactly know what you're referring to I ran this in both adb and cmd, but I get is "emulator is not recognized as an internal command" – user1932245 Dec 28 '12 at 15:47
  • The Android SDK needs to be added to your path for this to work (or you need an environment variable added). See this article http://www.talkandroid.com/guides/developer/android-sdk-install-guide/ and jump down to the "Installing the Android SDK section" – loeschg Dec 29 '12 at 05:11
0

Okay, I seemed to have solved my problem What I did was copy the default .android folder (it was auto generated in D:.android) to C:\Users\Administrator Although this just works for one launch For every subsequent avd launch, I had to re-copy the folder and replace only the edited files

Thanks everyone for trying to help!

0

You must establish (from security or from the advanced properties of your PC) the local variable ANDROID_SDK_HOME to your docs folder.