开发者

How to install an app from Android market to Android simulator?

  1. How do I install an app from Android market to the emulator?
  2. How do I install an app in the simulator by scanning a QR code?
  3. How do I开发者_开发知识库 install a .APK file in the simulator?

Is there any method or tutorial?


Android Market is not available on emulators for security reasons. You may install APKs. Refer to Android Debug Bridge.


To install an application from Google Play Store (formerly known as Android Market) onto an Android emulator:

  1. Purchase, borrow or steal an Android device which has access to the Play Store.

  2. Enable USB Debugging on the Android device and connect it to your development computer.

  3. Go to the Google Play Store and download your application.

  4. Pull the app from the device to your computer:

    adb -d pull /data/app/com.example.myapp-1.apk MyApp.apk
    
  5. Install the app to your emulator:

    adb -e install MyApp.apk
    


You can download the APK file. Use the Android SDK tools to install it. In a commandline window do:

yoursdk\tools\adb install youapp
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜