forked from owenmullings/react-native-file-picker
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Cannot find symbol Build.VERSION_CODES.O #30
Comments
same issue) Thanks for your job! |
Has anybody got any solution to this issue? I am facing similar build failure. What am I missing? |
Just change the file android/build.gradle from:
To:
The O version only exist in version 26 or above.... |
Upadate component with @joaosauer fix in |
My compileSDKversion is 27, but I'm still facing the issue
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using react-native-filepicket version 0.0.12 I get an an error when I run react-native run-android
Looking into the file I could confirm though that the necessary import takes place: import android.os.Build;
According to https://developer.android.com/reference/android/os/Build.VERSION_CODES that is the package that contains the Enum "0". Did I miss something ovious?
Here is an excerpt from the buildscript I'm using in android/build.gradle.
The text was updated successfully, but these errors were encountered: