lucasferreira / react-native-webview-android

Simple React Native Android module to use Android's WebView inside your app
355 stars 158 forks source link

build failed #74

Closed mantou132 closed 6 years ago

mantou132 commented 7 years ago
"dependencies": {
        "react": "16.0.0-alpha.12",
        "react-native": "0.47.1",
        "react-native-webview-android": "^1.1.10"
}
node_modules/react-native-webview-android/android/src/main/java/com/burnweb/rnwebview/RNWebViewPackage.java:28: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/upyun/impress_webview/node_modules/react-native-webview-android/android/src/main/java/com/burnweb/rnwebview/RNWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:RNWebView:compileReleaseJavaWithJavac FAILED

thx.

lucasferreira commented 7 years ago

Hi @mantou132

React Native 0.47x has some breaking changes, I do not have enough time to test this.

mantou132 commented 7 years ago

I now replaced 0.46 has no build error.

thank you