Ich entwickle eine Android-Anwendung mit Android-Studio, die bisher 2 Aktivität hat, LoginActivity und die MainActivity, aber wenn ich die Anwendung ausführen installiert es in meinem Handy oder virtuellen Maschine, aber erscheint nirgendwo. Ich schaute in die installierte Anwendung und die Anwendung ist installiert. Ich glaube, dass mein Problem auf dem Manifest liegt, aber ich weiß nicht, wie ich es lösen soll.App auf Handy installieren, aber nicht auf dem Bildschirm
Der vollständige Code ist hier auf GitHub: https://github.com/SoftwareEngineeringClass/MobileApplication/tree/master/Minerva
und hier ist mein Manifest:
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity
android:name=".Minerva"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" >
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".LoginActivity"
android:label="@string/app_name" >
<itent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</itent-filter>
</activity>
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
</application>
Sie haben 3 Aktivitäten in Ihrem Manifest, nicht 2. Und ich glaube wirklich nicht, dass Sie eine Facebook-Aktivität haben sollten –
Warum sollte ich nicht? – user1258260