/.../node_modules/react-native-config/android/src/main/java/com/lugg/ReactNativeConfig/ReactNativeConfigPackage.java:13: error: ReactNativeConfigPackage is not abstract and does not override abstract method createJSModules() in ReactPackage
public class ReactNativeConfigPackage implements ReactPackage {
^
1 error
:react-native-config:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-config:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
This PR #144 fix problem but need to merge ASAP
Agreed. I am also waiting on this PR to be merged.
This issue was resolved when #144 was merged.
:+1:!
error: ReactNativeContacts is not abstract and does not override abstract method createJSModules() in ReactPackage
public class ReactNativeContacts implements ReactPackage {
^
1 error
:react-native-contacts:compileReleaseJavaWithJavac FAILED
Still i am facing error on
react-native-cli: 2.0.1
react-native: 0.46.0
@saurabhspatil did you find a solution?
Got this module working by adding the following to ReactNativeContacts.java.
import com.facebook.react.bridge.JavaScriptModule;
@Override public List
I am still getting this error
:react-native-contacts:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
C:\Users\Oserlab\Desktop\YC_ReactNative\youngclaynode_modulesreact-native-contactsandroid\src\main\java\com\rt2zz\reactnativecontactsReactNativeContacts.java:13: error: ReactNativeContacts is not abstract and does not override abstract method createJSModules() in ReactPackage
public class ReactNativeContacts implements ReactPackage {
^
1 error
:react-native-contacts:compileReleaseJavaWithJavac FAILED
I am using:-
"react-native-contacts": "1.0.4",
"react-native": "0.46.0",
"react-native-cli": 2.0.1
Most helpful comment
error: ReactNativeContacts is not abstract and does not override abstract method createJSModules() in ReactPackagepublic class ReactNativeContacts implements ReactPackage {^1 error:react-native-contacts:compileReleaseJavaWithJavac FAILED
Got this module working by adding the following to ReactNativeContacts.java.
import com.facebook.react.bridge.JavaScriptModule;
@Override public List> createJSModules() { return Collections.emptyList(); }