/.../node_modules/react-native-multiple-image-picker/android/build/intermediates/res/merged/release/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'.
/.../node_modules/react-native-multiple-image-picker/android/build/intermediates/res/merged/release/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'.
/.../node_modules/react-native-multiple-image-picker/android/build/intermediates/res/merged/release/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'.
/.../node_modules/react-native-multiple-image-picker/android/build/intermediates/res/merged/release/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'.
:react-native-multiple-image-picker:processReleaseResources FAILED
FAILURE: Build failed with an exception.
编译时遇到错误如下
搜索了一下说有可能是 compileSdkVersion 与 com.android.support:appcompat-v7 的版本不符合导致的,然后我将这两个都改为 23 以后,还是出现相同的错误。
不太熟悉 Android 开发,请问是我哪里配置错了吗?
测试是使用干净的 react-native init 的项目,然后加入 react-native-multiple-image-picker 编译的。