Error running app: Default Activity Not Found

What are the eight life cycle hook functions of Vue>>>

code changes the world

Error running app: Default Activity Not Found

Recently, I encountered error running app: default activityNot found when debugging and installing Android widget program

Because a simple widget program, if it is not associated with an application, does not need to create mainactivity in Android project. After building project, e will be prompted when debugging and installing rror:Default Activity Not found. That’s because Android studio needs activity when you create a project by default

Solution:

1. Open configuration

Currently, in Android studio version 2.23, the editconfiguration setting interface is as follows:

Among them, select nothing from the launch option drop-down list

Transferred from: http://blog.csdn.net/ljheee/article/details/70140310

Similar Posts: