stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.29k stars 264 forks source link

Execution failed for task ':app:mergeExtDexDebug' #1596

Open teshank2137 opened 10 months ago

teshank2137 commented 10 months ago

Getting this error while running npm run android

Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform accompanist-themeadapter-appcompat-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\da8eb71819235fb18e7659d112386662\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-material-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-material:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\f7f0f6a26b98db2803d5644502c884a8\transformed\jetified-accompanist-themeadapter-material-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-material3-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-material3:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\81b3574160ec2f5d3d5233d68972b083\transformed\jetified-accompanist-themeadapter-material3-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-core-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-core:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\a46f5c74bff9c4c9dc9b5d9b0ea04afe\transformed\jetified-accompanist-themeadapter-core-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-systemuicontroller-0.32.0.aar (com.google.accompanist:accompanist-systemuicontroller:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\3b3475ffb9b949f9b0fd37cd6221a4ad\transformed\jetified-accompanist-systemuicontroller-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-flowlayout-0.32.0.aar (com.google.accompanist:accompanist-flowlayout:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\99ba33aca71a064273a9f1c134ec3b5e\transformed\jetified-accompanist-flowlayout-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform kotlin-stdlib-1.9.0.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\user\.gradle\caches\transforms-3\3850faae3ec9de3836a9f204defd410c\transformed\jetified-kotlin-stdlib-1.9.0.jar.
         > Error while dexing.

BUILD FAILED in 4m 47s
error Failed to install the app.

Steps to reproduce the behavior:

  1. install @stripe/stripe-react-native
  2. Wrap the app with stripe provider
  3. run npm run android or react-native run-android

Desktop:

Smartphone:

Additional context Tried the solution from this issue: https://github.com/stripe/stripe-react-native/issues/689 modified the gradle.properties to

org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=4096m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true

still failed

My build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 21
        compileSdkVersion = 34
        targetSdkVersion = 34

        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:4.1.0")
        classpath("com.facebook.react:react-native-gradle-plugin")
    }
}

we can't change compileSdk, 34 is required for my application

charliecruzan-stripe commented 10 months ago

Are you using Expo?

teshank2137 commented 10 months ago

No, I'm using React Native CLI "react": "18.2.0", "react-native": "0.72.7", "@stripe/stripe-react-native": "^0.35.1"

charliecruzan-stripe commented 10 months ago

I see, you might have another dependency then that's also causing issues with accompanist. Could you do a quick grep of your project?

teshank2137 commented 10 months ago

After running grep "accompanist" -R .

grep: ./android/.gradle/8.0.1/executionHistory/executionHistory.bin: binary file matches
./android/app/build/intermediates/incremental/debug/mergeDebugResources/merger.xml:  </plurals><string name="bottomsheet_action_collapse">Goqa ishidi eliphansi</string><string name="bottomsheet_action_expand">Nweba ishidi eliphansi</string><string name="bottomsheet_action_expand_halfway">Nweba phakathi</string><string name="bottomsheet_drag_handle_clicked">Hudula isibambi esithephwe kabili</string><string name="bottomsheet_drag_handle_content_description">Hudula isibambi</string><string name="character_counter_content_description">Izinhlamvu ezifakiwe ezingu-%1$d zokungu-%2$d</string><string name="character_counter_overflowed_content_description">Umkhawulo wezinhlamvu udlule u-%1$d kokungu-%2$d</string><string name="clear_text_end_icon_content_description">Sula umbhalo</string><string name="error_icon_content_description">Iphutha</string><string name="exposed_dropdown_menu_content_description">Bonisa imenyu yokudonsela phansi</string><string name="icon_content_description">Isithonjana sebhokisi</string><string name="item_view_role_description">Ithebhu</string><string name="material_clock_toggle_content_description">Khetha u-AM noma u-PM</string><string name="material_hour_24h_suffix">amahora angu-%1$s</string><string name="material_hour_selection">Khetha ihora</string><string name="material_hour_suffix">%1$s ezimpondweni</string><string name="material_minute_selection">Khetha amaminithi</string><string name="material_minute_suffix">amaminithi angu-%1$s</string><string name="material_timepicker_am">AM</string><string name="material_timepicker_clock_mode_description">Shintshela kumodi yewashi ngokufakwa kwesikhathi.</string><string name="material_timepicker_hour">Ihora</string><string name="material_timepicker_minute">Iminithi</string><string name="material_timepicker_pm">PM</string><string name="material_timepicker_select_time">Khetha isikhathi</string><string name="material_timepicker_text_input_mode_description">Shintshela kumodi yokufaka umbhalo ngokufaka isikhathi.</string><string name="mtrl_badge_numberless_content_description">Isaziso esisha</string><string name="mtrl_chip_close_icon_content_description">Susa i-%1$s</string><string name="mtrl_exceed_max_badge_number_content_description" ns1:ignore="PluralsCandidate">Izaziso ezintsha ezingaphezu kokungu-%1$d</string><string name="mtrl_picker_a11y_next_month">Shintshela kunyanga elandelayo</string><string name="mtrl_picker_a11y_prev_month">Shintshela kunyanga edlule</string><string name="mtrl_picker_announce_current_selection">Ukukhetha kwamanje: %1$s</string><string name="mtrl_picker_cancel">Khansela</string><string name="mtrl_picker_confirm">KULUNGILE</string><string name="mtrl_picker_date_header_selected">%1$s</string><string name="mtrl_picker_date_header_title">Khetha Idethi</string><string name="mtrl_picker_date_header_unselected">Khetha idethi</string><string name="mtrl_picker_day_of_week_column_header">Ikholomu yezinsuku: %1$s</string><string name="mtrl_picker_invalid_format">Ifomethi engavumelekile.</string><string name="mtrl_picker_invalid_format_example">Isibonelo: %1$s</string><string name="mtrl_picker_invalid_format_use">Sebenzisa: %1$s</string><string name="mtrl_picker_invalid_range">Ibanga elingavumelekile.</string><string name="mtrl_picker_navigate_to_year_description">Zulela onyakeni %1$s</string><string name="mtrl_picker_out_of_range">Ikude kubanga: %1$s</string><string name="mtrl_picker_range_header_only_end_selected">Idethi yokuqala – %1$s</string><string name="mtrl_picker_range_header_only_start_selected">%1$s – Idethi yokuphela</string><string name="mtrl_picker_range_header_selected">%1$s – %2$s</string><string name="mtrl_picker_range_header_title">Khetha Ibanga</string><string name="mtrl_picker_range_header_unselected">Idethi yokuqala – Idethi yokuphela</string><string name="mtrl_picker_save">Londoloza</string><string name="mtrl_picker_text_input_date_hint">Idethi</string><string name="mtrl_picker_text_input_date_range_end_hint">Idethi yokuphela</string><string name="mtrl_picker_text_input_date_range_start_hint">Idethi yokuqala</string><string name="mtrl_picker_text_input_day_abbr">d</string><string name="mtrl_picker_text_input_month_abbr">m</string><string name="mtrl_picker_text_input_year_abbr">y</string><string name="mtrl_picker_toggle_to_calendar_input_mode">Shintshela kwimodi yokufaka yekhalenda</string><string name="mtrl_picker_toggle_to_day_selection">Thepha ukuze ushintshe ekukhetheni usuku</string><string name="mtrl_picker_toggle_to_text_input_mode">Shintshela kwimodi yokufaka yombhalo</string><string name="mtrl_picker_toggle_to_year_selection">Thepha ukuze ushintshele ekukhetheni unyaka</string><string name="mtrl_timepicker_cancel">Khansela</string><string name="mtrl_timepicker_confirm">KULUNGILE</string><string name="password_toggle_content_description">Bonisa iphasiwedi</string></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-core:0.32.0$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\e34473a3ab1ba14b52fef14a4f769c29\transformed\jetified-accompanist-themeadapter-core-0.32.0\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-core:0.32.0" from-dependency="true" generated-set="com.google.accompanist:accompanist-themeadapter-core:0.32.0$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\e34473a3ab1ba14b52fef14a4f769c29\transformed\jetified-accompanist-themeadapter-core-0.32.0\res"><file path="C:\Users\user\.gradle\caches\transforms-3\e34473a3ab1ba14b52fef14a4f769c29\transformed\jetified-accompanist-themeadapter-core-0.32.0\res\values\values.xml" qualifiers=""><declare-styleable name="ThemeAdapterShapeAppearance">
./android/app/build/intermediates/incremental/debug/mergeDebugResources/merger.xml:    </declare-styleable></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-material3:0.32.0$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\4b6d7edc55eb77470b0398622bd4b423\transformed\jetified-accompanist-themeadapter-material3-0.32.0\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-material3:0.32.0" from-dependency="true" generated-set="com.google.accompanist:accompanist-themeadapter-material3:0.32.0$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\4b6d7edc55eb77470b0398622bd4b423\transformed\jetified-accompanist-themeadapter-material3-0.32.0\res"><file path="C:\Users\user\.gradle\caches\transforms-3\4b6d7edc55eb77470b0398622bd4b423\transformed\jetified-accompanist-themeadapter-material3-0.32.0\res\values\values.xml" qualifiers=""><declare-styleable name="ThemeAdapterMaterial3Theme">
./android/app/build/intermediates/incremental/debug/mergeDebugResources/merger.xml:    </declare-styleable></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-material:0.32.0$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\bccbb199a9d4858be80df7c353933e02\transformed\jetified-accompanist-themeadapter-material-0.32.0\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-material:0.32.0" from-dependency="true" generated-set="com.google.accompanist:accompanist-themeadapter-material:0.32.0$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\bccbb199a9d4858be80df7c353933e02\transformed\jetified-accompanist-themeadapter-material-0.32.0\res"><file path="C:\Users\user\.gradle\caches\transforms-3\bccbb199a9d4858be80df7c353933e02\transformed\jetified-accompanist-themeadapter-material-0.32.0\res\values\values.xml" qualifiers=""><declare-styleable name="ThemeAdapterMaterialTheme">
./android/app/build/intermediates/incremental/debug/mergeDebugResources/merger.xml:    </declare-styleable></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\7c02c0e5b62ad07c0f457c7a105fbf2e\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0" from-dependency="true" generated-set="com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\user\.gradle\caches\transforms-3\7c02c0e5b62ad07c0f457c7a105fbf2e\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0\res"><file path="C:\Users\user\.gradle\caches\transforms-3\7c02c0e5b62ad07c0f457c7a105fbf2e\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0\res\values\values.xml" qualifiers=""><declare-styleable name="ThemeAdapterAppCompatTheme">
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/merge-state: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/Dj+eBjeJHePA0n0IiYieZNQxRlE=: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/e3_KLZTfDqG9Ce07VOn4XTE8XJM=: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/HYzUqeVMe1esZSgcc7rlxW212v4=: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/OD1qY2BpRJLkmx82cdN_1_gnAZg=: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/PYJGvCAtca7Au2owl00z42hlRbk=: binary file matches
grep: ./android/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache/xEAiGriGapEl6SEpa7XslaAEoro=: binary file matches
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/debug.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\7c02c0e5b62ad07c0f457c7a105fbf2e\\transformed\\jetified-accompanist-themeadapter-appcompat-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/debug.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\e34473a3ab1ba14b52fef14a4f769c29\\transformed\\jetified-accompanist-themeadapter-core-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/debug.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\4b6d7edc55eb77470b0398622bd4b423\\transformed\\jetified-accompanist-themeadapter-material3-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/debug.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\bccbb199a9d4858be80df7c353933e02\\transformed\\jetified-accompanist-themeadapter-material-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/values.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\7c02c0e5b62ad07c0f457c7a105fbf2e\\transformed\\jetified-accompanist-themeadapter-appcompat-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/values.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\e34473a3ab1ba14b52fef14a4f769c29\\transformed\\jetified-accompanist-themeadapter-core-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/values.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\4b6d7edc55eb77470b0398622bd4b423\\transformed\\jetified-accompanist-themeadapter-material3-0.32.0\\res\\values\\values.xml",
./android/app/build/intermediates/merged_res_blame_folder/debug/out/multi-v2/values.json:                    "source": "C:\\Users\\user\\.gradle\\caches\\transforms-3\\bccbb199a9d4858be80df7c353933e02\\transformed\\jetified-accompanist-themeadapter-material-0.32.0\\res\\values\\values.xml",
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-systemuicontroller:0.32.0] C:\Users\user\.gradle\caches\transforms-3\418369d09b8489cc93769f6d22b9a746\transformed\jetified-accompanist-systemuicontroller-0.32.0\AndroidManifest.xml:17:1-23:12
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-systemuicontroller:0.32.0] C:\Users\user\.gradle\caches\transforms-3\418369d09b8489cc93769f6d22b9a746\transformed\jetified-accompanist-systemuicontroller-0.32.0\AndroidManifest.xml:17:1-23:12    
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-flowlayout:0.32.0] C:\Users\user\.gradle\caches\transforms-3\237fb8e2198c9dbdcf5baafe377d61f4\transformed\jetified-accompanist-flowlayout-0.32.0\AndroidManifest.xml:17:1-23:12
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0] C:\Users\user\.gradle\caches\transforms-3\7c02c0e5b62ad07c0f457c7a105fbf2e\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0\AndroidManifes./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-systemuicontroller:0.32.0] C:\Users\user\.gradle\caches\transforms-3\418369d09b8489cc93769f6d22b9a746\tanist:accompanist-themeadapter-appcompat:0.32.0] C:\Users\user\.gradle\caches\transforms-3\7c02c0e5b62ad07c0f457c7a105fbf2e\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-material:0.32.0] C:\Users\user\.gradle\caches\transforms-3\bccbb199a9d4858be80df7c353933e02\transformed\jetified-accompanist-themeadapter-material-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-material:0.32.0] C:\Users\user\.gradle\caches\transforms-3\bccbb199a9d4858be80df7c353933e02\transformed\jetified-accompanist-themeadapter-material-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-material3:0.32.0] C:\Users\user\.gradle\caches\transforms-3\4b6d7edc55eb77470b0398622bd4b423\transformed\jetified-accompanist-themeadapter-material3-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-material3:0.32.0] C:\Users\user\.gradle\caches\transforms-3\4b6d7edc55eb77470b0398622bd4b423\transformed\jetified-accompanist-themeadapter-material3-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-core:0.32.0] C:\Users\user\.gradle\caches\transforms-3\e34473a3ab1ba14b52fef14a4f769c29\transformed\jetified-accompanist-themeadapter-core-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-themeadapter-core:0.32.0] C:\Users\user\.gradle\caches\transforms-3\e34473a3ab1ba14b52fef14a4f769c29\transformed\jetified-accompanist-themeadapter-core-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-systemuicontroller:0.32.0] C:\Users\user\.gradle\caches\transforms-3\418369d09b8489cc93769f6d22b9a746\transformed\jetified-accompanist-systemuicontroller-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-systemuicontroller:0.32.0] C:\Users\user\.gradle\caches\transforms-3\418369d09b8489cc93769f6d22b9a746\transformed\jetified-accompanist-systemuicontroller-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-flowlayout:0.32.0] C:\Users\user\.gradle\caches\transforms-3\237fb8e2198c9dbdcf5baafe377d61f4\transformed\jetified-accompanist-flowlayout-0.32.0\AndroidManifest.xml:21:5-44
./android/app/build/outputs/logs/manifest-merger-debug-report.txt:MERGED from [com.google.accompanist:accompanist-flowlayout:0.32.0] C:\Users\user\.gradle\caches\transforms-3\237fb8e2198c9dbdcf5baafe377d61f4\transformed\jetified-accompanist-flowlayout-0.32.0\AndroidManifest.xml:21:5-44
ubaidjs commented 9 months ago

Facing same issue. Did you find any fixes.

teshank2137 commented 9 months ago

No issue is still there!

Rc85 commented 8 months ago

Same issue here

> Task :app:mergeExtDexDebug
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H
ERROR:D8: com.android.tools.r8.kotlin.H

> Task :app:mergeExtDexDebug FAILED

> Task :stripe_stripe-react-native:compileDebugKotlin
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt:6:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt:8:235 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt:13:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt:14:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt:5:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt:7:92 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt:12:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFocusEvent.kt:13:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt:6:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt:8:200 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt:13:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt:14:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/FinancialConnectionsSheetFragment.kt:270:9 Duplicate label in when
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt:5:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt:7:112 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt:12:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt:13:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt:112:37 'get(String!): Any?' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt:127:37 'get(String!): Any?' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt:142:37 'get(String!): Any?' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt:91:62 'drawableResourceId: Int' is deprecated. Please use icon() instead.
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt:298:62 'drawableResourceId: Int' is deprecated. Please use icon() instead.
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt:82:25 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt:942:19 Parameter 'eventName' is never used
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt:5:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt:7:132 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt:13:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetEvent.kt:14:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/customersheet/CustomerSheetFragment.kt:149:9 Variable 'customerSheetActivity' is assigned but never accessed
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt:4:44 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt:6:102 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt:11:42 'RCTEventEmitter' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.kt:12:21 'receiveEvent(Int, String!, WritableMap?): Unit' is deprecated. Deprecated in Java
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.kt:29:39 Unchecked cast: Any! to Task<List<Any>>
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt:393:64 'linkedAccount: String?' is deprecated. Renamed to 'financialConnectionsAccount', 'linkedAccount' will be removed in a future major update
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt:893:62 Unchecked cast: ArrayList<Any!>? to ArrayList<String>
w: file:///F:/Projects/munchies_run/client/mobile/courier/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt:894:60 Unchecked cast: ArrayList<Any!>? to ArrayList<Int>
w: Detected multiple Kotlin daemon sessions at build\kotlin\sessions

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform financial-connections-20.37.4.aar (com.stripe:financial-connections:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\c563a94c6737ea33793095288a2420fd\transformed\jetified-financial-connections-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform paymentsheet-20.37.4.aar (com.stripe:paymentsheet:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\50691955832ebc54519357860116ea38\transformed\jetified-paymentsheet-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform link-20.37.4.aar (com.stripe:link:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\309382adcf3859be1621c9f875c51469\transformed\jetified-link-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform payments-ui-core-20.37.4.aar (com.stripe:payments-ui-core:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\ab6f0f5581bb0e34cc45d00a01da2100\transformed\jetified-payments-ui-core-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform payments-core-20.37.4.aar (com.stripe:payments-core:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\3bec633abfce5a1b732f3fa05def4674\transformed\jetified-payments-core-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform payments-model-20.37.4.aar (com.stripe:payments-model:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\6394b2f1609f9bed645126f2d04fba0a\transformed\jetified-payments-model-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform stripe-3ds2-android-6.1.8.aar (com.stripe:stripe-3ds2-android:6.1.8) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=androidJvm}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\8304a9dd9628bdcd951ba16aee9d9f67\transformed\jetified-stripe-3ds2-android-6.1.8-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-appcompat-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-appcompat:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\4c50798882cd45be4877b045a1310d00\transformed\jetified-accompanist-themeadapter-appcompat-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-material-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-material:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\3ba8f4763dab1f9e705d6f1ae56a3879\transformed\jetified-accompanist-themeadapter-material-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-material3-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-material3:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\c3c1c66528ad2d6a1d6267ff9a67414c\transformed\jetified-accompanist-themeadapter-material3-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-themeadapter-core-0.32.0.aar (com.google.accompanist:accompanist-themeadapter-core:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\fcaa273b0bd7da5ef883137986e3cc63\transformed\jetified-accompanist-themeadapter-core-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform hcaptcha-20.37.4.aar (com.stripe:hcaptcha:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\fec780038ce2e49d91767ed8bd72c294\transformed\jetified-hcaptcha-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform stripe-ui-core-20.37.4.aar (com.stripe:stripe-ui-core:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\be71f99ca47af810e033822d6de0dddf\transformed\jetified-stripe-ui-core-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform stripe-core-20.37.4.aar (com.stripe:stripe-core:20.37.4) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\fc037af6a5b47a0593308740f3cf4c38\transformed\jetified-stripe-core-20.37.4-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-systemuicontroller-0.32.0.aar (com.google.accompanist:accompanist-systemuicontroller:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\8f18ff62985045c865bd5a6396b1e179\transformed\jetified-accompanist-systemuicontroller-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform accompanist-flowlayout-0.32.0.aar (com.google.accompanist:accompanist-flowlayout:0.32.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\4071bf35c5d04b35c7235d8ce85051c2\transformed\jetified-accompanist-flowlayout-0.32.0-runtime.jar.
         > Error while dexing.
   > Failed to transform kotlinx-serialization-core-jvm-1.6.2.jar (org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.6.2) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\eac15e64051573188f6cc9c5da418f17\transformed\jetified-kotlinx-serialization-core-jvm-1.6.2.jar.
         > Error while dexing.
   > Failed to transform kotlinx-serialization-json-jvm-1.6.2.jar (org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.6.2) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\4708c16cef32c02c2e35fcca9eec8821\transformed\jetified-kotlinx-serialization-json-jvm-1.6.2.jar.
         > Error while dexing.
   > Failed to transform kotlin-parcelize-runtime-1.9.10.jar (org.jetbrains.kotlin:kotlin-parcelize-runtime:1.9.10) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\6571d3b7aed55af2262dffd532725489\transformed\jetified-kotlin-parcelize-runtime-1.9.10.jar.
         > Error while dexing.
   > Failed to transform poko-annotations-jvm-0.15.2.jar (dev.drewhamilton.poko:poko-annotations-jvm:0.15.2) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\a5fe467d5781e42eb8de403f84034680\transformed\jetified-poko-annotations-jvm-0.15.2.jar.
         > Error while dexing.
   > Failed to transform kotlin-android-extensions-runtime-1.9.10.jar (org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.9.10) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\0cb391bf2996d1d2893bdf144ffd0646\transformed\jetified-kotlin-android-extensions-runtime-1.9.10.jar.
         > Error while dexing.
   > Failed to transform kotlin-stdlib-1.9.22.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.22) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.jvm.environment=standard-jvm, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\roger\.gradle\caches\transforms-3\2848cf1306d4c64d8faa825e2285fe90\transformed\jetified-kotlin-stdlib-1.9.22.jar.
         > Error while dexing.
benszedlmayer commented 8 months ago

any updates here? I am facing the same issue when trying to update from 0.33

jigarsolanki0212 commented 8 months ago

I also have the same issue while building APK

Error : Execution failed for task ':app:mergeExtDexRelease'.

image

beujator commented 8 months ago

I also had the same issue, the fix for me was to update to the 0.37.1 and to set the minSdkVersion to 24 (it was 23) in the build.gradle

abanoubamin commented 7 months ago

I also had the same issue, the fix for me was to update to the 0.37.1 and to set the minSdkVersion to 24 (it was 23) in the build.gradle

Thanks @beujator this solved my issue

HarshDev2 commented 7 months ago

@beujator Thanks it worked for me as well.

Aswanth-c commented 6 months ago

I also had the same issue, the fix for me was to update to the 0.37.1 and to set the minSdkVersion to 24 (it was 23) in the build.gradle

Thanks! it worked

ToshiYuki120186 commented 5 months ago

I also had the same issue, the fix for me was to update to the 0.37.1 and to set the minSdkVersion to 24 (it was 23) in the build.gradle

This works like a charm. Saved my life. Thanks

sospedra commented 5 months ago

We are experiencing the same issue. After installing v0.37.0 and upwards. We have no other dependencies using accompanist -- nor any of the others mentioned (poko, etc). Apparently the dexing errors are always related to .jar files (not sure if this is an insight). We already use minSDKVerison 24 with no luck.

Interestingly, we have the exact same error, line by line. So, I don't think this is exclusively related to our setups since it'd be really weird that we have exact setups.

We tried with different versions of minSDKVersion, targetSDKVersion, compileSDKVersion, kotlin, and grade-android plugin. No luck.

If there's anything else we could report to help please let me know.

ishan-trivedi-ctr commented 4 months ago

I am facing the same issue with my application running on :

I fixed it by following @beujator approach but I still want to use latest release in my application. Is there anyone using latest release and solved this issue?