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

when i run react-native run-android i am facing issue #25

Open
ravichandra90 opened this issue Jul 23, 2019 · 5 comments
Open

when i run react-native run-android i am facing issue #25

ravichandra90 opened this issue Jul 23, 2019 · 5 comments

Comments

@ravichandra90
Copy link

Task :react-native-android-location-enabler:compileReleaseJavaWithJavac FAILED
/home/ravi/workspace/React_native/astroBuild/astro/node_modules/react-native-android-location-enabler/android/src/main/java/com/heanoria/library/reactnative/locationenabler/RNAndroidLocationEnablerModule.java:8: error: cannot find symbol
import androidx.annotation.NonNull;
^
symbol: class NonNull
location: package androidx.annotation
/home/ravi/workspace/React_native/astroBuild/astro/node_modules/react-native-android-location-enabler/android/src/main/java/com/heanoria/library/reactnative/locationenabler/RNAndroidLocationEnablerModule.java:98: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class RNAndroidLocationEnablerModule
2 errors

@Richou
Copy link
Owner

Richou commented Jul 23, 2019

Hello,
Which version do you use ? This issue should has been resolved with v1.2.0

@ravichandra90
Copy link
Author

I am using react-native-location-enabler v1.2.0 and my react native verison is v0.55.3.
still im facing issue

@Richou
Copy link
Owner

Richou commented Jul 23, 2019

If you are using react native < 0.60.x, please use v1.1.0.

@rensamatar
Copy link

rensamatar commented Aug 19, 2019

Hi, I am using
react-native 0.55.2
react-native-location-enabler 1.1.0
Gradle version 3.4.2
and still got the same error.

@podvipodvert
Copy link

any updates on this?

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

4 participants