这是我第一次使用 android studio,非常感谢您的帮助。我尝试在模拟器上运行我的应用程序,当模拟器运行平稳时,应用程序没有出现在它上面,当我运行应用程序时,它只是说 Gradle build finished
并停止。我很确定问题出在应用配置上,但我之前没有经验。
我的 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>
如果需要更多信息,请询问我,我会编辑问题