Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android emulator launch failed. emulator64-arm : BAD CPU Type in executable

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 ?

like image 985
Selim Bakdemir Avatar asked Dec 08 '12 10:12

Selim Bakdemir


1 Answers

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.

like image 65
Selim Bakdemir Avatar answered Oct 05 '22 05:10

Selim Bakdemir