I have a Motorola E4 Plus, Android 7.1.1 make a hello world for facebook login with Android Studio Sdk 26 compatible with Android 4.2 and up.
Perform several deployments and suddenly the application icon disappeared from both the desktop and the applications section. When deploying by Android Studio the application is executed, however going through configuration > applications tells me that there is no direct link.
I have installed and reinstalled from scratch, I also created a new application and pass my code when deploying does exactly the same.
How can I fix the shortcut and / or Configuration of the application so that it generates the icon when deployed?
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/fb_login_protocol_scheme" />
</intent-filter>
</activity>
</application>
Everything works until I add the Facebook login button to the view
In gradle.build of the application I have this dependency compile 'com.facebook.android:facebook-login:[4,5)' and in gradle.build of the project I add to repositories mavenCentral () and a allprojects {repositories { mavenCentral ()