Android AVD Manager: Can't create new device definition (java.lang.NullPointerException)

后端 未结 4 1415
长发绾君心
长发绾君心 2021-02-14 22:30

I\'m running the newest version of Android SDK on Mac OS X 10.9.3. I haven\'t had the Android SDK or any other Java development environment installed on this machine before, so

相关标签:
4条回答
  • 2021-02-14 22:55

    This is a bug. A possible workaround is to clone an existing device definition (e.g. Nexus 7) and set it to your required parameters.

    0 讨论(0)
  • 2021-02-14 22:56

    I had the same problem on Ubuntu 14.04. Didn't find any clean solution so far, but as a workaround try to clone an existing device and then edit its properties as you wish.

    0 讨论(0)
  • 2021-02-14 23:10

    This appears to be a bug in the framework as I ran into it using Eclipse Juno & ADT 23.0.2. Bug report is below.

    https://code.google.com/p/android/issues/detail?id=73280

    0 讨论(0)
  • 2021-02-14 23:15

    Try this (Considering that the cause is a corrupted config for an existing AVD):

    Go to ~/.android/avd

    Check the list of AVDs. If you think one of those AVDs is causing the problems, sudo rm -r (UNIQUE PART OF AVD NAME)*

    This removes that AVD. Then re-try android avd

    0 讨论(0)
提交回复
热议问题