每当我尝试运行我的应用程序时,屏幕截图中的这个窗口就会弹出我的屏幕.声明找不到默认活动,因为我无法部署我的应用程序
我的代码的清单文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mcs.oodoeg" >
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android3.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity2"
android:label="@string/app_name" >
</activity>
<activity
android:name=".Sigin"
android:label="@string/app_name" >
</activity>
</application>
</manifest>
Run Code Online (Sandbox Code Playgroud)
这是在单击Run-> Edit Congiguration时获取的窗口,在 此处输入图像描述
我的代码的Gradle文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "com.example.mcs.oodoeg"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions { …Run Code Online (Sandbox Code Playgroud)