1

나는 안드로이드 스튜디오 2.3 최신 안정 버전을 사용하고 있습니다. configChanges를 사용하여 활동을 추가 할 때이 5 가지 오류가 발생합니다. 내가 응용 프로그램을 실행할 수있는 흥미로운 점. 그래서 저는 이것이 새로운 버전의 버그라고 생각합니다. 그러나 확실하지 않습니다.안드로이드 스튜디오 2.3에서 안드로이드 매니페스트 configChanges 오류

또한이 3 configChanges keyboardHidden|orientation|screenSize의 순서를 변경하려했지만 내가 configChanges에서 그들 중 하나를 삭제하면 아직도 내가 어떤 오류가 표시되지 않습니다,이 screenSize" />

추천 오류를 보여줍니다. 따라서 keyboardHidden|orientation은 오류를 발생시키지 않습니다.

왜 이런 종류의 오류가 발생하는지 아는 사람이 있습니까? 고맙습니다. 오류가 발생

error message

매니페스트 파일. Manifest activity

업데이트

build.gradle 파일 : 여기

apply plugin: 'com.android.application' 
apply plugin: 'io.fabric' 

android { 
    compileSdkVersion 25 
    buildToolsVersion "25.0.2" 
    defaultConfig { 
     applicationId "com.test.test" 
     minSdkVersion 16 
     targetSdkVersion 25 
     versionCode 200 
     versionName "2.0" 
     multiDexEnabled true 
     vectorDrawables.useSupportLibrary = true 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
     manifestPlaceholders = [manifestApplicationId   : "${applicationId}", 
           onesignal_app_id    : "713123123123131313", 
           onesignal_google_project_number: "123123123"] 
    } 
    signingConfigs { 
     config { 
      keyAlias 'android' 
      keyPassword 'android' 
      storeFile file('/Users/test/.android/debug.keystore') 
      storePassword 'android' 
     } 
     config_staging { 
      keyAlias 'asdadsStaging' 
      keyPassword '13123131' 
      storeFile file('../asdasdasd.jks') 
      storePassword '13123123' 
     } 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 

     } 
     debug { 
      minifyEnabled false 
      debuggable true 

     } 
     staging { 
      minifyEnabled false 
      debuggable true 
      applicationIdSuffix ".staging" 


      // one signal staging 
      manifestPlaceholders = [manifestApplicationId   : "com.test.test.staging", 
            onesignal_app_id    : "04123123123123123", 
            onesignal_google_project_number: "1232131231"] 

      signingConfig signingConfigs.config_staging 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    testCompile 'junit:junit:4.12' 

    compile project(':volley') 
    compile project(path: ':customtabs') 
    compile('com.crashlytics.sdk.android:crashlytics:[email protected]') { transitive = true; } 
    compile 'com.onesignal:OneSignal:[email protected]' 
    compile 'com.miguelcatalan:materialsearchview:1.4.0' 
    compile 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:[email protected]' 
    compile 'com.android.support:multidex:1.0.1' 
    compile 'com.android.support:support-v13:25.2.0' 
    compile 'com.android.support:gridlayout-v7:25.2.0' 
    compile 'com.android.support:appcompat-v7:25.2.0' 
    compile 'com.android.support:recyclerview-v7:25.2.0' 
    compile 'com.android.support:cardview-v7:25.2.0' 
    compile 'com.android.support:design:25.2.0' 
    compile 'com.android.support:preference-v7:25.2.0' 
    compile 'com.android.support:customtabs:25.2.0' 
    compile 'com.android.support:support-v4:25.2.0' 
    compile 'com.google.code.gson:gson:2.7' 
    compile 'com.squareup.picasso:picasso:2.5.2' 
    compile 'com.squareup.okhttp:okhttp:2.7.5' 
    compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.5' 
    compile 'com.facebook.android:facebook-android-sdk:4.18.0' 
    compile 'com.facebook.android:audience-network-sdk:4.18.0' 
    compile 'com.google.android.gms:play-services-gcm:10.2.0' 
    compile 'com.google.android.gms:play-services-analytics:10.2.0' 
    compile 'com.google.android.gms:play-services-ads:10.2.0' 
    compile 'com.google.android.gms:play-services-auth:10.2.0' 
    compile 'com.google.firebase:firebase-core:10.2.0' 
    compile 'com.google.firebase:firebase-auth:10.2.0' 
    compile 'com.google.firebase:firebase-database:10.2.0' 
    compile 'com.google.firebase:firebase-ads:10.2.0' 
    compile 'com.google.firebase:firebase-crash:10.2.0' 
    compile 'com.google.firebase:firebase-config:10.2.0' 
    compile 'com.appnext.sdk:native-ads-mediation-mopub:1.7.6' 
// compile 'com.flurry.android:ads:6.5.0' 
// compile 'com.inmobi.monetization:inmobi-ads:5.3.1' 
// compile 'net.pubnative:library:2.2.0' 
// compile 'com.github.mobfox:MobFox-Android-SDK-Core:2.1.3' 
// compile 'com.flurry.android:analytics:6.5.0' 
    compile('com.mopub:mopub-sdk:[email protected]') { transitive = true; } 
    compile('io.fabric.sdk.android:fabric:[email protected]') { transitive = true; } 
    compile("com.twitter.sdk.android:twitter:[email protected]") { transitive = true } 
    compile 'com.android.support.constraint:constraint-layout:1.0.0' 
} 

repositories { 
    maven { 
     url 'https://maven.fabric.io/public' 
    } 
    jcenter() 
} 

buildscript { 
    repositories { 
     maven { 
      url 'https://maven.fabric.io/public' 
     } 
    } 
    dependencies { 
     classpath 'io.fabric.tools:gradle:1.21.6' 
    } 
} 

apply plugin: 'com.google.gms.google-services' 
+0

최소 SDK 버전은 무엇입니까? –

+0

minSdkVersion 16 – MiloRambaldi

+0

여기에 build.gradle 파일을 표시 할 수 있습니까? –

답변

0

같은 문제. MoPub 활동을 추가 할 때이 오류가 발생합니다. 오류가보고 된 경우에도 앱이 올바르게 컴파일되고 예상대로 작동합니다.