react-native-google-place-picker icon indicating copy to clipboard operation
react-native-google-place-picker copied to clipboard

Execution failed for task ':react-native-google-place-picker:compileDebugJavaWithJavac'.

Open gaschneidr opened this issue 7 years ago • 4 comments

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

gaschneidr avatar Jan 29 '18 17:01 gaschneidr

I'm having the exact same issue

rantoniops avatar Apr 19 '18 06:04 rantoniops

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??

mathewtd87 avatar Jun 17 '18 02:06 mathewtd87

As a workaround I commented the override line and it worked

gaschneidr avatar Jun 17 '18 13:06 gaschneidr

As a workaround I commented the override line and it worked

Thanks, It worked for me <3

tanvoid0 avatar Sep 03 '20 10:09 tanvoid0