0
今天做了react-native-git-upgrade。然後我結束了以下錯誤。react-native未在Android發佈更新
:app:processDebugResources
/../android/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/../app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
/../android/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/../app/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
任何幫助將不勝感激。我的build.gradle在這裏有
compileSdkVersion 23
buildToolsVersion "23.0.1"
而且
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.android:facebook-android-sdk:[4,5)"
謝謝,隨着buildToolsVersion 25.0.2,它的工作。 –
是的,沒問題,應該使用24.0以上的任何東西。你需要重寫項目嗎? – G0dsquad