Installing apk file in Honey Comb Emulator in my mac
I was trying to install apk file in y HoneyComb emulator using the adb install myfile.apk But in the terminal i got an error saying that...binary files cannot be installed. I am using Mac (Snow Leopard). Can any one tell me how to install the file in my emulator...?
users-mac-pro:tools user$ ./adb install MyApp.apk
-bash: ./adb: cannot execute binary file
Edit:
A: Use MAC specific Android SDK
Thanks in advance
Happy 开发者_StackOverflow中文版Coding
adb in your /platform-tools directory doesn't have an x bit set (chmod +x adb to fix) or is otherwise not executable, in which case running something like 'bash adb ' should get you going.
This is assuming you're in your platform-tools directory. If not, switch to platform-tools and try again.
I was having the SDK for linux in my mac...it was running smooth for the emulator but found difficulties in installing apk files using adb install command
...but now when I have the SDK for Mac,I can execute my apk file...
thanks all..for your time.
精彩评论