react-native-android-location-services-dialog-box icon indicating copy to clipboard operation
react-native-android-location-services-dialog-box copied to clipboard

Execution failed for task ':react-native-android-location-services-dialog-box:compileDebugJavaWithJavac'.

Open sultan-arshi opened this issue 5 years ago • 2 comments

I am getting error when I updated my react-native 0.57 to react-native 0.59.10

`node_modules/react-native-android-location-services-dialog-box/android/src/main/java/com/showlocationservicesdialogbox/LocationServicesDialogBoxModule.java:105: error: cannot find symbol

android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N ?

symbol: variable N location: class VERSION_CODES`

`/node_modules/react-native-android-location-services-dialog-box/android/src/main/java/com/showlocationservicesdialogbox/LocationServicesDialogBoxModule.java:106: error: cannot find symbol

Html.fromHtml(configMap.getString("message") Html.FROM_HTML_MODE_LEGACY) symbol: variable FROM_HTML_MODE_LEGACY location: class Html`

any suggestion?

sultan-arshi avatar Aug 15 '19 10:08 sultan-arshi

hI @sultan-arshi ,

I was having the same issues after updating a react-native project to 0.59.10 due to an older build-tools version. After updating the version in the build.gradle files, the issue was fixed. Maybe you're experiencing the same problem.

chriteixeira avatar Aug 19 '19 23:08 chriteixeira

hey, @chriteixeira

can you please tell me the exact code which you changed in your build.gradle file, I am having the same issue.

Malik-Usman17 avatar Jan 29 '23 09:01 Malik-Usman17