简体   繁体   中英

Android-sdk emulator doesn't work

My platform: debian 8 (sid)

uname -a : Linux ... 3.2.0-4-686-pae #1 SMP Debian 3.2.78-1 i686 GNU/Linux

I downloaded android-sdk_r24.4.1-linux.tgz from https://developer.android.com/ but emulator(*) executables don't run because I get :

"bash: tools/emulator: cannot execute binary file: Exec format error. "

I guess this means these binaries can't run on my system. So does it mean , I can't run the emulator on my platform?

I didn't find source of emulator in tgz.

Or where can I find the source of emulator? thanks

Hehe.... If I downloaded tgz file with wget (wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz ), binaries work! I don't understand why.... ?.... :-|

Didn't work ! :(

This was very strange for me.

When I downloaded tgz and extracted, the binaries worked.

I run SDK manager and downloaded some packages for example : some System Images, Android 6.0 SDK platform, build tools, etc, and after this, binaries didn't work.

I figured it out, the case of problem was I updated current SDK tools. After update The binaries didn't work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM