Android - Install APK on Bluestacks for Mac

From this SO post,

Open terminal and run the following command:

 /Applications/BlueStacks.app/Contents/MacOS/adb install ABSOLUTE_PATH_AND_APK_FILENAME

Other Method: This one is not a solution, but a quick workaround is to have the apk in any cloud storage like Dropbox, Drive, OneDrive etc and download it in your bluestack's Dropbox app and install it. As quoted from this apple discussion thread,

The quick and easy method is to :

  1. install dropbox in your bluestacks.
  2. drop your apk file into your dropbox from mac/pc/phone.
  3. access your apk file from your dropbox in bluesstacks and install.

For me, this worked well:

  1. Place the .apk in the /Runtime folder:

    Macintosh HD/Applications/BlueStacks.app/Contents/Runtime/filename.apk
    

    (Don't ask why, it was just the only spot that seemed to actually work.

  2. Open up the terminal. Type:

    /Applications/Bluestacks.app/Contents/Runtime/uHD-Adb devices
    

    If there is one device listed, perfect.

    • If not, type this into the terminal:

      /Applications/Bluestacks.app/Contents/Runtime/uHD-Adb disconnect
      
  3. Now once you have a single device listed, type into terminal:

    /Applications/Bluestacks.app/Contents/Runtime/uHD-Adb install /Applications/BlueStacks.app/Contents/Runtime/filename.apk
    

Source