How to run .APK file on emulator
Possible Duplicate:
How do you install an APK file in the Android emulator?
I download an APK file and I want to run it on an Android emulator but I don't know how. Please help me. Thanks!
Steps (These apply for Linux. For other OS, visit here) -
platform-tools
in android-sdk linux
folder. ./adb install FileName.apk
For more info can check this link : android videos
You need to install the APK on the emulator. You can do this with the adb
command line tool that is included in the Android SDK.
adb -e install -r yourapp.apk
Once you've done that you should be able to run the app.
The -e
and -r
flags might not be necessary. They just specify that you are using an emulator (if you also have a device connected) and that you want to replace the app if it already exists.
Start an Android Emulator (make sure that all supported APIs are included when you created the emulator, we needed to have the Google APIs for instance).
Then simply email yourself a link to the .apk file, and download it directly in the emulator, and click the downloaded file to install it.
链接地址: http://www.djcxy.com/p/16110.html上一篇: 如何在Eclipse中构建APK文件?
下一篇: 如何在仿真器上运行.APK文件