android - React-native : Unable to use react-native-fast-image -


my apps app/build gradle:

android:compilesdkversion 23,  buildtoolsversion '26' 

android/build gradle:

subprojects { subproject ->     afterevaluate{         if((subproject.plugins.hasplugin('android') || subproject.plugins.hasplugin('android-library'))) {             android {                 compilesdkversion 25                 buildtoolsversion "25.0.1"             }         }     } } 

package json dependencies:

"react-native-fast-image": "^1.0.0", "react": "16.0.0-alpha.12", "react-native": "0.45.1",

i have installed react-native-fast-image, , linked react-native. while running on android , getting error:

:react-native-fast-image:compilereleasejavawithjavac - not incremental (e.g. outputs have changed, no previous execution, etc.). d:\react practice\myproject\myproject\node_modules\react-native-fast-image\android\src\main\java\com\dylanvann\fastimage\fastimageviewpackage.java:14: error: fastimageviewpackage not abstract , not override abstract method createjsmodules() in reactpackage public class fastimageviewpackage implements reactpackage {        ^ note: d:\react practice\myproject\myproject\node_modules\react-native-fast-image\android\src\main\java\com\dylanvann\fastimage\fastimageviewmanager.java uses unchecked or un safe operations. note: recompile -xlint:unchecked details. 1 error :react-native-fast-image:compilereleasejavawithjavac failed 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -