Java android studio应用程序未在emulator上运行

Java android studio应用程序未在emulator上运行,java,android,xml,android-studio,Java,Android,Xml,Android Studio,这是我第一次使用android studio,非常感谢您的帮助。我尝试在模拟器上运行我的应用程序,当模拟器运行平稳时,应用程序不会出现在模拟器上,当我运行应用程序时,它只会说Gradle build finished,然后停止。我很确定问题出在应用程序配置上,但我之前没有经验 My androidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:andr

这是我第一次使用android studio,非常感谢您的帮助。我尝试在模拟器上运行我的应用程序,当模拟器运行平稳时,应用程序不会出现在模拟器上,当我运行应用程序时,它只会说
Gradle build finished
,然后停止。我很确定问题出在应用程序配置上,但我之前没有经验

My androidManifest.xml

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

    <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>
    </application>

</manifest>


如果需要更多信息,请询问我,我将编辑以下问题

build不在Android Studio上安装该程序

首先确保你的模拟器在Android Studio中可用

我提供了一张照片作为提醒


构建不是为了在Android Studio上安装该程序

首先确保你的模拟器在Android Studio中可用

我提供了一张照片作为提醒


您可以尝试在真正的android设备上运行。转到开发人员设置。打开调试并将设备连接到计算机。当您在android studio上单击开始时,它将打开。

您可以尝试在真正的android设备上运行。转到开发人员设置。打开调试并将设备连接到计算机。当您在android studio上单击开始时,它将打开