react-native-file-access icon indicating copy to clipboard operation
react-native-file-access copied to clipboard

Android build failing with error: Unresolved reference: uri

Open ShivamJoker opened this issue 3 years ago • 1 comments

react-native: "^0.69.3", react-native-file-access: "^2.4.4",

Platform: Android

Bug

> Task :react-native-file-access:compileDebugKotlin FAILED

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
e: /home/shivam/ziki-tunes/music-app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/FileAccessModule.kt: (10, 17): Unresolved reference: documentfile
e: /home/shivam/ziki-tunes/music-app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/FileAccessModule.kt: (484, 19): Unresolved reference: DocumentFile
e: /home/shivam/ziki-tunes/music-app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/FileAccessModule.kt: (494, 23): Unresolved reference: DocumentFile
e: /home/shivam/ziki-tunes/music-app/node_modules/react-native-file-access/android/src/main/java/com/alpha0010/fs/FileAccessModule.kt: (497, 75): Unresolved reference: uri

To reproduce Install this library with latest react native version

Details Not sure what else to put

ShivamJoker avatar Aug 03 '22 15:08 ShivamJoker

Thanks for the report; known regression in v2.4.4. I should have a fix out soon. In the mean time, you can rollback v2.4.3.

alpha0010 avatar Aug 03 '22 22:08 alpha0010

Resolved in v2.4.5.

alpha0010 avatar Aug 11 '22 13:08 alpha0010