expo-media-library install problem

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): Android

I am trying to install expo-media-library but i am facing this issue.

Task :expo-media-library:compileDebugKotlin FAILED

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 Command-Line Interface

165 actionable tasks: 28 executed, 137 up-to-date

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryModule.kt: (208, 53): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryModule.kt: (258, 54): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryModule.kt: (365, 54): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryModule.kt: (377, 22): Unresolved reference: createWriteRequest

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryUtils.kt: (91, 62): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\MediaLibraryUtils.kt: (94, 60): No value passed for parameter ‘p2’

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\AddAssetsToAlbum.kt: (68, 56): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\AssetFileStrategy.kt: (19, 56): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\AssetFileStrategy.kt: (23, 54): No value passed for parameter ‘p2’

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\migration\CheckIfAlbumShouldBeMigrated.kt: (13, 34): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\migration\MigrateAlbum.kt: (16, 34): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\albums\migration\MigrateAlbum.kt: (50, 9): No value passed for parameter ‘p3’

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\assets\CreateAsset.kt: (92, 42): Unresolved reference: R

e: C:…\node_modules\expo-media-library\android\src\main\java\expo\modules\medialibrary\assets\CreateAsset.kt: (139, 56): Unresolved reference: R

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:expo-media-library:compileDebugKotlin’.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.