Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28476

TransformException: DexArchiveBuilderException: Failed to process \.gradle\caches\transforms-1\files-1.1\play-services-xxx-12.0.1.aar\xxx\classes.jar

$
0
0

I'm on React Native and I have added react-native-camera package

After, I got :

Execution failed for task ':app:transformClassesWithDexBuilderForDebug'. com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-xxx-12.0.1.aar\xxx\jars\classes.jar

NB: i use also react-native-maps

What I have and have do :

  • React Native 0.59
  • react-native-camera: 2.11.1```` (to avoid androidx dependancy)
  • implementation 'com.google.android.gms:play-services:12.0.1'
  • implementation 'com.android.support:multidex:1.0.3'
  • apply plugin: 'com.google.gms.google-services'com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
  • multiDexEnabled true and missingDimensionStrategy 'react-native-camera', 'general'
  • repositories google(), classpath 'com.android.tools.build:gradle:3.3.1', classpath 'com.google.gms:google-services:4.2.0', maven { url "https://www.jitpack.io" }
  • gradlew clean

      buildToolsVersion = "28.0.3"
      minSdkVersion = 19
      compileSdkVersion = 28
      targetSdkVersion = 28
      supportLibVersion = "28.0.0"
      googlePlayServicesVersion = "15.0.1"
      androidMapsUtilsVersion = "0.5+"
    }```
    

I have already check these Q/A :

And more, but no luck


Others details come with :

C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gass-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzflk was not found, it is required for default or static interface methods desugaring of int com.google.android.gms.internal.zzba.zzq() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gcm-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzbq was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.gcm.Task$Builder.checkConditions() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gcm-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.util.zzz was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.gcm.GcmTaskService$zza.handleMessage(android.os.Message) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gass-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzfls was not found, it is required for default or static interface methods desugaring of com.google.android.gms.internal.zzba com.google.android.gms.internal.zzcdf.zzawd() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gass-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgo was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.internal.zzcdf.writeToParcel(android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gcm-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.util.zzs was not found, it is required for default or static interface methods desugaring of boolean com.google.android.gms.gcm.zza.zzt(android.os.Bundle) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-gcm-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.util.zzs was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.gcm.GcmReceiver.onReceive(android.content.Context, android.content.Intent) D8: Type com.google.android.gms.common.internal.zzf is referenced as an interface from com.google.android.gms.internal.zzcdb. C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgm was not found, it is required for default or static interface methods desugaring of java.lang.Object com.google.android.gms.wallet.zzae.createFromParcel(android.os.Parcel) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgo was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.wallet.Cart.writeToParcel(android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzbq was not found, it is required for default or static interface methods desugaring of com.google.android.gms.wallet.PaymentDataRequest$Builder com.google.android.gms.wallet.PaymentDataRequest$Builder.addAllowedPaymentMethods(java.util.Collection) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzbg was not found, it is required for default or static interface methods desugaring of boolean com.google.android.gms.wallet.Wallet$WalletOptions.equals(java.lang.Object) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgq was not found, it is required for default or static interface methods desugaring of com.google.android.gms.wallet.PaymentData com.google.android.gms.wallet.PaymentData.getFromIntent(android.content.Intent) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzbq was not found, it is required for default or static interface methods desugaring of com.google.android.gms.wallet.PaymentMethodTokenizationParameters$Builder com.google.android.gms.wallet.PaymentMethodTokenizationParameters$Builder.addParameter(java.lang.String, java.lang.String) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.dynamic.zzn was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.wallet.fragment.SupportWalletFragment$zzb.onInflate(android.app.Activity, android.os.Bundle, android.os.Bundle) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.dynamic.zzj was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.wallet.fragment.WalletFragment.<init>() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgo was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.internal.zzdmb.writeToParcel(android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgm was not found, it is required for default or static interface methods desugaring of java.lang.Object com.google.android.gms.wallet.fragment.zzd.createFromParcel(android.os.Parcel) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.api.internal.zzdf was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.internal.zzdmy.zza(int, boolean, android.os.Bundle) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.dynamic.zzn was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.wallet.fragment.WalletFragment$zzb.onInflate(android.app.Activity, android.os.Bundle, android.os.Bundle) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzex was not found, it is required for default or static interface methods desugaring of boolean com.google.android.gms.internal.zzdmn.onTransact(int, android.os.Parcel, android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.dynamic.IObjectWrapper$zza was not found, it is required for default or static interface methods desugaring of com.google.android.gms.dynamic.IObjectWrapper com.google.android.gms.internal.zzdmf.onCreateView(com.google.android.gms.dynamic.IObjectWrapper, com.google.android.gms.dynamic.IObjectWrapper, android.os.Bundle) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-wallet-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.dynamic.zzr was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.wallet.fragment.SupportWalletFragment.<init>() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgm was not found, it is required for default or static interface methods desugaring of java.lang.Object com.google.android.gms.identity.intents.model.zza.createFromParcel(android.os.Parcel) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzbq was not found, it is required for default or static interface methods desugaring of com.google.android.gms.common.api.Api$zze com.google.android.gms.identity.intents.zza.zza(android.content.Context, android.os.Looper, com.google.android.gms.common.internal.zzr, java.lang.Object, com.google.android.gms.common.api.GoogleApiClient$ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient$OnConnectionFailedListener) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.common.internal.zzab was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.internal.zzcdo.disconnect() C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgo was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.identity.intents.model.UserAddress.writeToParcel(android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgm was not found, it is required for default or static interface methods desugaring of java.lang.Object com.google.android.gms.identity.intents.model.zzb.createFromParcel(android.os.Parcel) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzex was not found, it is required for default or static interface methods desugaring of boolean com.google.android.gms.internal.zzcdr.onTransact(int, android.os.Parcel, android.os.Parcel, int) C:\xxx.gradle\caches\transforms-1\files-1.1\play-services-identity-12.0.1.aar\xxx\jars\classes.jar: D8: Type com.google.android.gms.internal.zzbgo was not found, it is required for default or static interface methods desugaring of void com.google.android.gms.identity.intents.UserAddressRequest.writeToParcel(android.os.Parcel, int)

(Excuse my bad english)


Viewing all articles
Browse latest Browse all 28476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>