Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Session 'app': Error Launching activity in Android Studio 3.1.3

Tags:

android

How can I fix this error. MainActivity class already in my project. Here's a screenshot of the error enter image description here

I tried this link, but it didn't work for me

like image 949
d_a_n_u_92 Avatar asked Jun 09 '18 03:06

d_a_n_u_92


2 Answers

I got this error as well. For me it helped to set minifyEnabled to false for my debug version. After Clean Build it launched again.

like image 167
Arieck Avatar answered Oct 16 '22 20:10

Arieck


It may be silly but make sure you have enough storage on your phone. This was the problem for me

like image 36
Faraz Ahmed Avatar answered Oct 16 '22 20:10

Faraz Ahmed