Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Session 'app' error while installing APK

I am having difficulty importing a project written on Android Studio 1.1 into Android Studio 2.1.2. I keep getting this error whenever the gradle is building before testing the app on a tablet. Below is a screen shot of the error. Does anyone know what the problem could be?

I have tried adb kill-server followed by adb start-server as well as some other gradle versions compatible with the project. Other than this, I have not been able to find many more suggested solutions to the problem ("session 'app': error installing APK").

Additionally, I have tried uploading a basic Hello World project which successfully built the gradle.

Error message from Grable Build

Initial Error Message

Second set of Errors

like image 488
Randall Reynolds Avatar asked Jul 19 '16 06:07

Randall Reynolds


People also ask

Why is my APK file not installing?

Another common reason for the App not installed error could be that there is not enough free memory on your device's internal storage. Most users think that the size of the apk file is the actual size of the app. But this is not the case. Actually the apk file is a packaged version of the application itself.


2 Answers

I was facing similar kind of problem.There is image of error attached.Error is highlighted in red. Turning off the Instant run removed error for Android Studio 2.3 and 3.1.4.

Error, after running the app Turning off the Instant run

like image 67
Zero Avatar answered Oct 19 '22 11:10

Zero


Best step to resolve this error is- Uncheck the instant run in File >Settings >Build,Execution,Deployment > Instant Run

like image 42
prajapati chetana Avatar answered Oct 19 '22 10:10

prajapati chetana