Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing an apk on android emulator on Mac OS

Tags:

I tried following these steps(from here):

go to sdk folder, then go to tools. copy your apk file inside the tool directory ./emulator -avd myEmulator to run the emulator on mac  ./adb install myApp.apk to install app on the emulator 

But when I run "./emulator -avd phoneEmulator" (phoneEmulator is the name of my emulator) it just displays:

Phil-Knights-MacBook-Pro:tools philiplknight$ ./emulator -avd phoneEmulator 2012-07-30 22:44:33.377 emulator-arm[2859:80b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated.  Apps should cease use of QuickDraw and move to Quartz. 

It's as if that command is never returning.

If I can't input the 2nd command ./adb install myApp.apk in that window, where do I call it?

like image 727
TruthOf42 Avatar asked Jul 31 '12 02:07

TruthOf42


People also ask

Can I install APK in BlueStacks Mac?

Download Astro File Manager, Open, find your file from sdcards(SD Cards are your mac hard drive), press apk file, install, and complete!

Can Mac Open APK files?

With a file extractor tool, you can open an APK file in macOS, Windows, or any desktop OS. APK files are just the archives of files and folders that you can unzip using various programs like Winzip, WinRAR, etc.


1 Answers

  1. Open Terminal
  2. go to android-sdk-mac\platform-tools
  3. type ./adb install myApp.apk
like image 87
Kirit Vaghela Avatar answered Sep 28 '22 08:09

Kirit Vaghela