Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sultan-arshi opened this issue Aug 15, 2019 · 2 comments

Comments

@sultan-arshi
Copy link

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?

@chriteixeira
Copy link

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.

@Malik-Usman17
Copy link

hey, @chriteixeira

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants