The solution of not displaying the application icon on the desktop after the app developed by Android is installed

This paper describes the solution that the app developed by Android does not display the application icon on the desktop after installation. Share with you for your reference, as follows:

1、 Question:

A few days ago, when I was writing a project and running, suddenly there was no app icon on the Android desktop, but there were apps downloaded from the app. Neither the debug version nor the official version was released. Previously, I thought it was because two different official versions were released with different keystores. Later, after reading other people's articles, I knew what the problem was.

2、 Analysis:

The reason is that the intent filter in the activity uses different data and action attributes. The intent filter must satisfy all attributes before it can be started in this way. When we set different data and actions. It will start in two ways, so it can't be put together.

3、 Solution:

Replace with:

This can solve the problem that the application icon is not displayed on the desktop

More readers interested in Android related content can view the special topics of this site: activity operation skills summary of Android programming, introduction and advanced tutorial of Android development, Android layout skills summary, Android view skills summary, Android resource operation skills summary and Android control usage summary

I hope this article will help you in Android programming.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>