This article describes the solution to the Android development APP not displaying application icons on the desktop after installation. Share it for your reference, as follows:
1. Question:
A few days ago, when I was running the project, I suddenly had no application icon on the Android desktop, but there were applications downloaded in the application. There is no debug version or release of official version. I thought it was caused by the problem of releasing two different official versions with different keystores. Later, I read other people's articles and found out what the problem was.
2. Analysis:
The reason is that the intent-filter in the activity uses different data and action properties. 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 cannot be put together.
3. Solution:
<intent-filter> <action android:name="" /> <category android:name="" /> <data android:scheme="wxde916e84088a2b98"/> </intent-filter>
Change to:
<intent-filter> <action android:name="" /> <category android:name="" /> </intent-filter> <intent-filter> <data android:scheme="wxde916e84088a2b98"/> </intent-filter>
This will solve the problem that the desktop does not display the application icon
For more information about Android related content, please check out the topic of this site:Android programming activity operation skills summary》、《Android development introduction and advanced tutorial》、《Android layout layout tips summary》、《Android View View Tips Summary》、《Android resource operation skills summary"and"Android control usage summary》
I hope this article will be helpful to everyone's Android programming design.