react-native-google-place-picker
react-native-google-place-picker copied to clipboard
Execution failed for task ':react-native-google-place-picker:compileDebugJavaWithJavac'.
Hi, when I tried to run for android I got the error bellow:
`> Task :react-native-google-place-picker:compileDebugJavaWithJavac C:\Apps\lovefree\node_modules\react-native-google-place-picker\android\src\main\java\com\reactlibrary\RNGooglePlacePickerPackage.java:20: error: method does not override or implement a method from a supertype @Override ^ Note: C:\Apps\lovefree\node_modules\react-native-google-place-picker\android\src\main\java\com\reactlibrary\RNGooglePlacePickerModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-google-place-picker:compileDebugJavaWithJavac'.`
It appears that the issue is within the source code for the package. I'm using react-native version 0.51.0 and react-native-google-place-picker: ^1.2.1.
I followed the installation instructions from the readme.md: installed the package using npm and had to link it manually since the automatic link was finishing with an error. I am currently only testing for android, not sure if the error persists for ios.
I'm not sure if I am doing something wrong but I would appreciate some help. Thank you in advance
I'm having the exact same issue
Same issue here, and I'm still very fresh out of Uni as a developer so I'm stuck! Any ideas? Has anyone got any links or information that may help??
As a workaround I commented the override line and it worked
As a workaround I commented the override line and it worked
Thanks, It worked for me <3