You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to run a file that contain react-native-maps and react-native-google-places and getting the following error;
Task :react-native-google-places:compileDebugJavaWithJavac FAILED
C:\react-native\TaxiApp\node_modules\react-native-google-places\android\src\main\java\com\arttitude360\reactnative\rngoogleplaces\RNGooglePlacesModule.java:49: error: RNGooglePlacesModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener
public class RNGooglePlacesModule extends ReactContextBaseJavaModule implements ActivityEventListener,
^
C:\react-native\TaxiApp\node_modules\react-native-google-places\android\src\main\java\com\arttitude360\reactnative\rngoogleplaces\RNGooglePlacesModule.java:88: error: method does not override or implement a method from a supertype @OverRide
^
C:\react-native\TaxiApp\node_modules\react-native-google-places\android\src\main\java\com\arttitude360\reactnative\rngoogleplaces\RNGooglePlacesModule.java:321: error: cannot find symbol
List placeIDsObjects = placeIDs.toArrayList();
^
symbol: method toArrayList()
location: variable placeIDs of type ReadableArray
C:\react-native\TaxiApp\node_modules\react-native-google-places\android\src\main\java\com\arttitude360\reactnative\rngoogleplaces\RNGooglePlacesModule.java:528: error: method does not override or implement a method from a supertype @OverRide
^
4 errors
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-google-places:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
build gradle in android
// Top-level build file where you can add configuration options common to all sub-projects/modules.
I have been trying to run a file that contain react-native-maps and react-native-google-places and getting the following error;
The text was updated successfully, but these errors were encountered: