Open ly6158 opened 5 years ago
Try to bump the target version e.g:
buildscript {
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 17
compileSdkVersion = 27
targetSdkVersion = 27
supportLibVersion = "27.1.1"
}
}
@ly6158 I would recommend you moving away from this package and adopting https://github.com/react-native-community/react-native-webview instead, they just merged the file upload feature there and it's a superior implementation that opens the camera for a taking a picture and sending it to the webview, and also it seems to be the long term supported package in the react-native community.
Hi @vitorreis, you are right about that ;)
Today I will recommend https://github.com/react-native-community/react-native-webview to everyone since it's the oficial future new version of core Webview.
@lucasferreira thanks for the package, it was pretty helpful all this time.
error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found. error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found. /Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
/Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.
/Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values-v26/values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
/Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/fontStyle not found.
/Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/font not found.
/Users/liuyang/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/407b97d568927eeb5a20fd318fadfdbf/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/fontWeight not found.
error: failed linking references.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-webview-android:verifyReleaseResources'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 31s 40 actionable tasks: 37 executed, 3 up-to-date