react-native-geolocation
react-native-geolocation copied to clipboard
Execution failed for task ':react-native-community_geolocation:compileReleaseJavaWithJavac'.
I get the following error message when trying to compile for android.
Execution failed for task ':react-native-community_geolocation:compileReleaseJavaWithJavac'.
> java.lang.NullPointerException (no error message)
Did you solve this??
This happens to me semi-regularly too. Not sure why it happens but I can get by it by cleaning the project (Build –> Clean Project), re-syncing the files (File –> Sync Project with Gradle Files), and wiping the data from the emulator (click arrow next to emulator in the Device Manager and select 'Wipe Data').