我只是寫編譯com.firebaseui:火力的用戶界面:0.4.3,我得到了錯誤:得到錯誤「執行失敗的任務‘:應用程序:compileDebugJavaWithJavac’」
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details.
無需任何額外的代碼。只是編譯和和我得到錯誤。紅線顯示com.android.support.appcompat-v7:25.3.1(支持庫必須使用完全相同的版本)。這是什麼意思?
<?apply plugin: 'com.android.application' android
{ compileSdkVersion 25 buildToolsVersion '25.0.2' defaultConfig { applicationId "com.example.mayur.mahadev"
minSdkVersion 22 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions { exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE' exclude
'META-INF/LICENSE' exclude
'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } }
dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') 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:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.firebase:firebase-client-android:2.5.2'
compile 'com.firebaseui:firebase-ui:0.4.3'
compile 'com.google.firebase:firebase-database:10.0.1' testCompile 'junit:junit:4.12' }
apply plugin: 'com.google.gms.google-services'?>
嗨。發佈完整的gradle文件。 –
嗨a b。請*編輯*帖子並粘貼gradle文件,以便社區能夠正確閱讀。 :) –
哦好吧好吧謝謝 –