Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/178.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
react native未在Android更新后运行_Android_React Native - Fatal编程技术网

react native未在Android更新后运行

react native未在Android更新后运行,android,react-native,Android,React Native,今天进行了本地git升级。然后我就犯了以下错误 :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.Materia

今天进行了本地git升级。然后我就犯了以下错误

: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'.
已经讨论和讨论的建议

任何帮助都将不胜感激。我的身材,格雷德尔先生

compileSdkVersion 23
buildToolsVersion "23.0.1"

此处信用证:

您已经将此链接到上面,但似乎没有表示您已经尝试了解决方案

react native fbsdk
存在此问题,在他们修复此问题之前,您需要执行以下操作:

android/build.gradle

project(':react-native-fbsdk') {
  configurations.all {
    resolutionStrategy {
       force 'com.facebook.android:facebook-android-sdk:4.22.1'
     }
  }
}
compileSdkVersion 24
buildToolsVersion "24.0.2"
android/app/build.gradle

project(':react-native-fbsdk') {
  configurations.all {
    resolutionStrategy {
       force 'com.facebook.android:facebook-android-sdk:4.22.1'
     }
  }
}
compileSdkVersion 24
buildToolsVersion "24.0.2"

以上内容适用于我们的项目,请尝试一下。您当然需要v24 SDK、构建工具和支持存储库。

是的,没问题,应该可以使用24.0及以上版本的任何工具。你需要项目覆盖吗?