Problems encountered in the Android Studio real machine test:Session 'app': Error Installing APKs

When using Android Studio, use the real machine to debug, the operation is unsuccessful, and the error in the picture below is prompted ( Session 'app': Error Installing APKS ).


 

Generally speaking, there are several ways to solve this problem:

1. Recompile

2. Replug the data cable

3. Change the Studio settings and uncheck the first checkbox below


result:



4. Restart adb

 

1. Restart adb

Enter adb kill-server at the command line

then enter adb devices

2. Restart adb.exe

Task Manager closes the adb.exe process

Then enter  adb devices on the command line 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326311818&siteId=291194637