TooManyEduardos
TooManyEduardos

Reputation: 4394

(MAC OS) mksdcard: Bad CPU type in executable

Mac OS 10.15.4

Android Studio 4.1.1

Latest android sdk tools: 30.0.3, but others installed as well (29.0.3, 26.0.2).

Running command on terminal, as the example from Google

Eduardos-MacBook-Pro:tools eduardo$ mksdcard -l mySdCard 1024M mySdCardFile.img
-bash: /Users/eduardo/Library/Android/sdk/tools/mksdcard: Bad CPU type in executable

Any suggestions on how to solve this Bad CPU type in executable? Other suggestions only point to Linux or Windows.

My ultimate goal is to mount an SD card to the emulator. Any other way to do it will work too.

Thank you.

Upvotes: 0

Views: 875

Answers (1)

Wp.
Wp.

Reputation: 41

Try running the command in ~/Library/Android/sdk/emulator/ instead.

Upvotes: 4

Related Questions