Android emulator crashes on Ubuntu 11.10

倾然丶 夕夏残阳落幕 提交于 2019-12-04 01:22:53

I had a permissions problem, much like Pramod's comment to the original question indicated. In my case, ddms wasn't executable.

To fix:

cd /path/to/android/sdk/tools

Once you're in the tools folder:

chmod +x ddms

The same approach should work if you have any other non-executable files causing similar problems.

sravan

I also faced the same problem, and finally got this solution:

  1. Newly install Android SDK tools & Support Library from AVD manager
  2. Don't use an old SDK which is copied from previous place
  3. Download latest SDK from Android AVD manager
  4. Set Preferences

Finally, restart Eclipse & PC

I may not have the solution for you problem, but I stopped using the emulator a few months ago and switched it with an x86 virtual machine inside a virtual box, it is so much faster (actually it's about 4 times faster than my HTC sensation).

you can find all the details and installation instructions here:

speeding-up-the-android-emulator

hope it helps.

Abhinav Saxena

To fix this, in Linux Ubantu >14, I did things as follows,

  • Downloaded and reinstalled the latest Eclipse, 64bit in my case.
  • I had the SDK so I pointed the directory in the Eclipse-->Preferences-->Android option.
  • Used Chown recursively, to take over the ownership of these folders: SDK, .android and all the backed up folders that had my project.
  • Used chmod recursively to give the executable permission to the executsbles in SDK.
  • followed How to install ia32-libs in Ubuntu 14.04 LTS (Trusty Tahr) in case there was no fix.
  • followed How to diagnose "Error executing aapt" error in Eclipse? in case there was no fix.
  • Correct the path of NDK in the preference as well in case there was no fix.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!