简体   繁体   中英

Android studio: Error while installing apk

这是我的问题的形象

When I launch my virtual device ,it launches but my app doesn't show in AVD . I update all the plugins and platforms required..after some time android studio given this error as following : Error while installing apk.

Please, solve my problem why this is happening, I'm suffering from 2 days.:(

Make sure your emulator up and running.

Also you can try running it on to your phone the process is simple,

  1. Go to android setting=>About=>Click on build varian 7 times to become developer.

2.go to developer section and enable the debugging mode.

3.now if you are on window pc you have to download google usb driver and for MAC you can directly connect and you are good to go.

Make sure that you should uninstall all the applications that were developed by you in the emulator. After uninstalling all the applications that were build by you in the emulator, then clean project, run it again.Let me know if this works out.

Have you tried increasing the adb connection time out on the AVD ?

To test this, first launch the avd and make sure it is turned on and running. Then try to build your application and install the .apk onto the device.

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