简体   繁体   中英

how to install .apk in a portable android emulator?

I followed the instruction on this tutorial How do you install an APK file in the Android emulator? but it doesnt install the apk. instead, it gives me this message "adb is not recognized as an internal or external command"

i think the problem here is im using a portable adt plugin and also a portable eclipse. is there anyway to install a downloaded apk file in my portable emulator?

go to your platform-tools folder from your android sdk dir and try in cmd promt

adb -e install c:/Projectapk_folder/yourapk.apk

Note : Emulator is in running mode.

EDIT: type adb command and check

C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
0A3AAD40xxxx2F        device

Just try this solution....

Click emulator Setting Click Apps First uninstall your app and again install

I finally found the answer. Yay! :) See this

最简单的方法1-首先从AVD管理器中播放模拟器2-只需拖动.apk文件并放在我在mac上尝试的模拟器屏幕上,它运行良好

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM