2
私のモバイルをUSB経由で接続して、モバイルでアプリを実行しました。実行中にAndroid Monitorにエラーが表示される本番デバイスでは実行できません! USB接続デバイスでアプリを実行しているときにエラーが発生しました
実稼働デバイスでは実行できません!
マニフェストファイル:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.roam12.demo">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
のGradleをビルドします。
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
defaultConfig {
applicationId "com.example.roam12.demo"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
android:launchMode = "standard" – YUVRAJ
デバイスをルートする必要があるものは何も追加しましたか?また、あなたの 'build.gradle'を共有してください – Shaishav
私はこの文をAndroid Manifestに入れて、"標準を解決できません "というエラーを出します: –