Bluestack comes with its own runtime. You can install an APK using that runtime. Here are the steps:
1. open a terminal
2. type in : cd /Applications/BlueStacks.app/Contents/Runtime
3. type in : ./uHD-Adb devices
You’ll get this output. It is a list of all the Android devices and emulators running/connected to your computer.
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
4. To install the APK type in: ./uHD-Adb -s emulator-5554 install /Volumes/OtherHD/projects/Kwik/terry_test.apk
The -s switch works with the name of the device/emulator which we get from the previous command. If you have more than one emulators running that were started before BlueStack the devices name will have a hight number in the name. After the install enter the location of your APK. When the command excites successfully you’ll get this output.
4789 KB/s (98000385 bytes in 19.983s)
BlueStacks allows you to run Android apps on your desktop/laptop. They have a launcher for Windows and Mac’s. The Mac version is currently in Alpha. Since it is still in alpha a lot of the functionality is not there yet. One feature that would be very useful and is missing in the alpha, is to upload your own apk’s to BlueStacks. Especially for developer, since you might want to test how your app looks/functions in BluesStacks in Windows and Mac’s. I’m going to show you how to quickly upload your apk from your IDE to BlueStack. Once you have BlueStacks installed and running, open your Android project in your IDE. In the run project options choose either “Show chooser dialog” in Intellij or “Always prompt to pick device” in Eclipse.
Run the project and you will see a popup to choose a device. In the list of running device you will a see an emulator running that you have not started.
This is the BlueStacks player. Choose that emulator and the app will be deployed to the BlueStacks.
July 12th, 2012⟵ Back