Issue
When I run my Android Studio project from the editor to my phone, nothing launches. Everything compiles fine, however no activity is started when it completes. I then have to open the application manually with my phone, and the newest code is indeed updated.
Here is a snippet from my Android Manifest:
<activity android:name=".view.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
What I have tried:
- Using a different physical device
- Using a virtual device
- Going into "Edit configurations" and selecting a default activity for launch
Solution
Ended up having the same problem as this post:
Android Studio 2.3 Update not opening app [Instant Run Service]
Solution is to disable instant run.
Answered By - StackUser
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.