简体   繁体   中英

Installing .apks using adb shell

How do i install an .apks file using the adb shell? I tried using pm install /sdcard/TestApp.apks but it threw an error. I've even tried googling the question but found nothing.

An .apks file is not an Android construct. Hence, the Android OS does not know about it, including commands like pm . You will need to use bundletool .

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