react-native-multiple-image-picker icon indicating copy to clipboard operation
react-native-multiple-image-picker copied to clipboard

[Bug] Incompatible with Gradle 8+

Open MarkoCubicAgilno opened this issue 5 months ago • 2 comments

Description:

When using this library with Gradle 8+, the Android build fails due to a missing dependency between tasks. Specifically:

Task ':react-native-multiple-image-picker:packageDebugResources' uses this output of task ':baronha_react-native-multiple-image-picker:generateDebugResValues' without declaring an explicit or implicit dependency.

This causes this error:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

A problem was found with the configuration of task ':react-native-multiple-image-picker:packageDebugResources' (type 'MergeResources').

Gradle detected a problem with the following location:
'.../node_modules/@baronha/react-native-multiple-image-picker/android/build/generated/res/resValues/debug'

Environment Info:

  • React Native version: 0.76.9
  • Gradle version: 8.14.2
  • Library version: 2.2.3
  • newArchEnabled=false (old architecture)

MarkoCubicAgilno avatar Jul 02 '25 17:07 MarkoCubicAgilno

The same issue. Any ideas?

victorious85 avatar Jul 02 '25 17:07 victorious85

with the following configuration I wanted to use this library version 1.1.9. but i cant use

     buildToolsVersion     = "35.0.0"
    minSdkVersion = 23
    compileSdkVersion = 35
    targetSdkVersion = 35
    ndkVersion = "26.1.10909125"
     kotlinVersion = "1.8.0"
 
    classpath "com.android.tools.build:gradle:8.1.4"
   classpath "com.facebook.react:react-native-gradle-plugin:0.74.3"

     distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip 

    

Ahsanali012 avatar Jul 17 '25 08:07 Ahsanali012