Session 'app': Error Launching activity
I also faced this issue after I updated to AS2.0. I found that it is because of the instant run
enabled. So my solution is to disable the "instant run". and it worked. To disable "instant run", you can go to Preference Dialog
( May be Setting dialog on Windows), then select Build, Execution, Deployment
> Instant Run
, and uncheck all the checkbox to disable Instant Run
.
This is my temporary solution and it may help you. Later, I'll find a better way to this issue.
update by 2016/06/06
A better solution instead of disabling instant run
.
Remove the .idea
folder and .gradle
folder, then click button Sync Project with Gradle Files
(or through the menu File
-> Sync Project with Gradle Files
), after this process finished, you are able to run your app as normal.
Good Luck~
Session 'app': Error Launching activity
I also faced this issue after I updated to AS2.0. I found that it is because of the instant run
enabled. So my solution is to disable the "instant run". and it worked. To disable "instant run", you can go to Preference Dialog
( May be Setting dialog on Windows), then select Build, Execution, Deployment
> Instant Run
, and uncheck all the checkbox to disable Instant Run
.
This is my temporary solution and it may help you. Later, I'll find a better way to this issue.
update by 2016/06/06
A better solution instead of disabling instant run
.
Remove the .idea
folder and .gradle
folder, then click button Sync Project with Gradle Files
(or through the menu File
-> Sync Project with Gradle Files
), after this process finished, you are able to run your app as normal.
Good Luck~
Session 'app': Error Launching activity
I also faced this issue after I updated to AS2.0. I found that it is because of the instant run
enabled. So my solution is to disable the "instant run". and it worked. To disable "instant run", you can go to Preference Dialog
( May be Setting dialog on Windows), then select Build, Execution, Deployment
> Instant Run
, and uncheck all the checkbox to disable Instant Run
.
This is my temporary solution and it may help you. Later, I'll find a better way to this issue.
update by 2016/06/06
A better solution instead of disabling instant run
.
Remove the .idea
folder and .gradle
folder, then click button Sync Project with Gradle Files
(or through the menu File
-> Sync Project with Gradle Files
), after this process finished, you are able to run your app as normal.
Good Luck~
Related Topics
Android Eclipse Noclassdeffounderror for External .Jar Files
Videoview Getdrawingcache Is Returning Black
Differencebetween @Id and @+Id
Android: Asynctask to Make an Http Get Request
How to Display Map in Android with Marker
How to Handle Ontouch Event for Map in Google Map API V2
Android: Disable Soft Keyboard at All Edittexts
Android - How to Enable Autostart Option Programmatically in Xiaomi Devices
How to Send JSON Object to Server Using Volley in Android
How to Get the Fragment Instance from the Fragmentactivity
Android Path to Asset Txt File
All Com.Android.Support Libraries Must Use the Exact Same Version
Query If Android Database Exists!
How to Repeat a Method Every 10 Minutes After a Button Press and End It on Another Button Press
How to Get Selected Items from Multi Select List View
Android Error - Close() Was Never Explicitly Called on Database