Android remember once Default Activity not found

Default Activity not foundThere are many different answers to the problems that arise in the project inexplicably , but everyone's situation may be different, and the solution is not suitable for everyone. The following is a record of my personal process of solving these problems:

1. On the home page, I found the following article on the Internet. Compared with other articles, this article is more reliable. At least the evaluation is relatively high.

How to solve the warning: Default Activity not found in Android studio

I thought it could be solved according to this method, and then I was disappointed, not as I wanted; but I still recommend that you try this method first.

2. In addition, there are many activities on the Internet Mainfestthat say that there is no configuration entry in the manifest file (see below). I believe that Android development will not make such a low mistake, but I still recommend that you check it properly for fear of misoperation deleted

3. Finally Edit Configuration, reconfigure the options in the (as follows), which is solved , at least it can run, but there is also a problem that is that during debugging, it will not be actively started after compilation and running, and manual app desktop icons are required. Will start.

The Launchdefault configuration Default Activitywas changed Nothing.

This question is just a paragraph, and it feels too wasteful to tangle again. If you have a better solution, you can leave a message below, thank you!

Guess you like

Origin blog.csdn.net/hzw2017/article/details/103440088