cinder92 / react-native-get-music-files

React Native package to get music files from local and sd for iOS and Android
MIT License
130 stars 66 forks source link

ackage android.support.annotation does not exist #79

Closed kaneki666 closed 4 years ago

kaneki666 commented 4 years ago

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings 65 actionable tasks: 12 executed, 53 up-to-date E:\Programming\javascript\react-native\Kaze\node_modules\react-native-get-music-files\android\src\main\java\com\cinder92\musicfiles\RNReactNativeGetMusicFilesModule.java:20: error: package android.support.annotation does not exist import android.support.annotation.Nullable; ^ E:\Programming\javascript\react-native\Kaze\node_modules\react-native-get-music-files\android\src\main\java\com\cinder92\musicfiles\RNReactNativeGetMusicFilesModule.java:342: error: cannot find symbol @Nullable WritableMap params) { ^ symbol: class Nullable location: class RNReactNativeGetMusicFilesModule 2 errors

i have no idea whats the error ? can anyone help me??

kaneki666 commented 4 years ago

i turned off jetifier so i see this error

pluvd7j commented 3 years ago

$ npm i jetifier $ npx jetify install these two commands and add the below line in your gradle.properties android.useAndroidX=true android.enableJetifier=true

and set the minSdkversion as 17 in android--->build.gradle (Minimum version 17 you can also use higher)