如何解决在Android Studio上运行应用的问题?

时间:2019-01-12 19:38:47

标签: android-studio

我正在使用Android Studio 3.2,并且在运行应用程序时遇到问题,因为无法运行并让我“未找到应用程序默认活动”

问题-> https://imgur.com/a/2Q0SGUq

此代码是应用的清单

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.erik.firebaseauthdemo">

    <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">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".LoginActivity" />
        <activity android:name=".RegisterActivity" />
        <activity android:name=".ForgetAndChangePasswordActivity"></activity>
    </application>

</manifest>

0 个答案:

没有答案