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

Task :react-native-file-server:compileDebugJavaWithJavac FAILED #1

Open
GIOVANNI-75 opened this issue Jan 8, 2022 · 0 comments
Open

Comments

@GIOVANNI-75
Copy link

\node_modules\react-native-file-server\android\src\main\java\com\flyskywhy\fileserver\HttpFileServerNativeModule.java:146: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { // R is Android API 30 (Android 11)
^
symbol: variable R
location: class android.os.Build.VERSION_CODES
C:\Users\win\Desktop\hanane\react\ImageView\node_modules\react-native-file-server\android\src\main\java\com\flyskywhy\fileserver\HttpFileServerNativeModule.java:148: error: cannot find symbol
Manifest.permission.MANAGE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
^
symbol: variable MANAGE_EXTERNAL_STORAGE
location: class android.Manifest.permission
C:\Users\win\Desktop\hanane\react\ImageView\node_modules\react-native-file-server\android\src\main\java\com\flyskywhy\fileserver\HttpFileServerNativeModule.java:150: error: cannot find symbol
new String[]{Manifest.permission.MANAGE_EXTERNAL_STORAGE},
^
symbol: variable MANAGE_EXTERNAL_STORAGE
location: class android.Manifest.permission
Note: C:\Users\win\Desktop\hanane\react\ImageView\node_modules\react-native-file-server\android\src\main\java\webserver\WebServer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\win\Desktop\hanane\react\ImageView\node_modules\react-native-file-server\android\src\main\java\webserver\WebServer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors

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

1 participant