Having a background as web developer, I have recently started with app development in react-native, using android-studio and struck at this gradle build error, when I try to run command:
react-native run-android
it outputs this:
cannot find symbol mInstabug.setUserName(username);
- method setUserName(String)
location: variable mInstabug of type Instabug
Note: D:\my_project\node_modules\instab reactnative\android\src\main\java\com\instabug\react library\RNInstabugReactnativeModule.java uses or overrides a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
Execution failed for task ':instabug-reactnative:compileReleaseJavaWithJavac'.
I am Currently Using:
- "instabug-reactnative": "git+https://github.com/Instabug/instabug-reactnative.git#master"
- "react-native": "0.42.3"
Thanks in Advance