问题
Yesterday I decided to start developing Android in my mac (Snow Leopard 10.6.8) 32-bit. Everything was ok, i also imported my workspace which i worked in Linux for months. I open a project and compiles perfectly.
When i try to run the project it gives me this error :
"...android/sdk/tools/emulator64-arm : BAD CPU Type in executable"
I am using eclipse juno for mobile developers and downloaded the latest android sdk for mac
It looks like a 32-bit 64-bit issue. But i couldnt solve it yet.
Anyone had the same issue ?
回答1:
I already found the problem.
Under the directory, android-sdk/tools/, i deleted every executable related to 64-bit system. Those files are :
emulator64-arm , emulator64-x86 etc.
Then relaunch the project and now it is working like a charm.
Hopefully this helps to anyone who suffers from the same issue.
来源:https://stackoverflow.com/questions/13776603/android-emulator-launch-failed-emulator64-arm-bad-cpu-type-in-executable