2017-06-14 7 views
0

私はFirebase UIをGradle in for my appに追加しようとしています。何らかの理由で私は間違いを続けています。 私は "タスクのアプリケーションプロセスのデバッグマニフェストの実行に失敗しました"というエラーをより具体的に示し、これが何を意味するのかわからない、私はアンドロイドデベロッパーにとって初めてです。firebase gradle issueが追加されました。バージョン2.0.0

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 26 
buildToolsVersion "26.0.0" 
defaultConfig { 
    applicationId "com.example.jarvis_main.chatapptest" 
    minSdkVersion 16 
    targetSdkVersion 26 
    versionCode 1 
    versionName "1.0" 
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 
} 

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' 
}) 
compile 'com.android.support:appcompat-v7:26.+' 
compile 'com.android.support.constraint:constraint-layout:1.0.2' 
testCompile 'junit:junit:4.12' 

compile 'com.android.support:design:26.+' 
compile 'com.firebaseui:firebase-ui:2.0.0' 


} 
apply plugin: 'com.google.gms.google-services' 

https://gyazo.com/5cef120f2ae2992dc0bf1f3b1e37a5c1

答えて

0

この

compile 'com.android.support:appcompat-v7:26.0.0-alpha1' 

この

compile 'com.android.support:appcompat-v7:26.+'

を交換し、それがマニフェスト合併エラーになる場合は、あなたのアプリケーション・モジュールの最後にこれを入れてbuild.gradleで。

configurations.all { 
resolutionStrategy.eachDependency { DependencyResolveDetails details -> 
    def requested = details.requested 
    if (requested.group == 'com.android.support') { 
     if (!requested.name.startsWith("multidex")) { 
      details.useVersion '25.3.0' 
     } 
    } 
} 

}

関連する問題