Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app:transformDexArchiveWithDexMergerForDebug FAILED #1

Open
guitorioadar opened this issue Feb 24, 2020 · 1 comment
Open

app:transformDexArchiveWithDexMergerForDebug FAILED #1

guitorioadar opened this issue Feb 24, 2020 · 1 comment

Comments

@guitorioadar
Copy link

guitorioadar commented Feb 24, 2020

I am using "react-native": "0.61.4",

Task :app:processDebugManifest
/Users/mac/ReactNative/keluarga_sohoj/packages/mobile/android/app/src/debug/AndroidManifest.xml:15:9-25:20 Warning:
provider#cl.json.RNShareFileProvider@android:authorities was tagged at AndroidManifest.xml:15 to replace other declarations but no other declaration present
/Users/mac/ReactNative/keluarga_sohoj/packages/mobile/android/app/src/debug/AndroidManifest.xml Warning:
meta-data#android.support.FILE_PROVIDER_PATHS@android:resource was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.io.IOUtils was not found, it is required for default or static interface methods desugaring of com.zebra.sdk.certificate.ZebraCertificateInfo com.zebra.sdk.certificate.CertificateParser.parseCertificate(java.io.InputStream, java.lang.String, java.lang.String)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.net.ftp.FTPReply was not found, it is required for default or static interface methods desugaring of void com.zebra.sdk.comm.internal.FTP.getFile(java.io.OutputStream, java.lang.String)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.io.FilenameUtils was not found, it is required for default or static interface methods desugaring of boolean com.zebra.sdk.printer.internal.ProfileHelper$OurComponentDeleter.shouldTransformComponent(java.lang.String)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.io.FilenameUtils was not found, it is required for default or static interface methods desugaring of com.zebra.sdk.printer.internal.PrinterFilePropertiesList com.zebra.sdk.printer.internal.FileUtilZpl.extractFilePropertiesFromJsonFileDriveListingResponse(java.lang.String)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.io.IOUtils was not found, it is required for default or static interface methods desugaring of void com.zebra.sdk.printer.internal.ZebraPrinterLinkOsImpl.retrieveFormatFromPrinter(java.io.OutputStream, java.lang.String)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.spongycastle.asn1.x500.style.IETFUtils was not found, it is required for default or static interface methods desugaring of java.lang.String com.zebra.sdk.certificate.internal.CertificateHelper.getCommonNameHelper(java.security.cert.X509Certificate)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.http.entity.mime.MultipartEntityBuilder was not found, it is required for default or static interface methods desugaring of org.apache.http.HttpEntity com.zebra.sdk.util.internal.MultipartFileSender.buildEntity()
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type org.apache.commons.io.IOUtils was not found, it is required for default or static interface methods desugaring of void com.zebra.sdk.printer.operations.internal.ImageStorer.execute(java.lang.String, com.zebra.sdk.graphics.ZebraImageI, int, int)
/Users/mac/ReactNative/keluarga_sohoj/node_modules/react-native-zebra-bluetooth-printer/android/libs/ZSDK_ANDROID_API.jar: D8: Type com.fasterxml.jackson.databind.type.TypeFactory was not found, it is required for default or static interface methods desugaring of java.util.Map com.zebra.sdk.util.internal.StringUtilities.convertKeyValueJsonToMap(java.lang.String)

Task :app:transformDexArchiveWithDexMergerForDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.

@guitorioadar
Copy link
Author

I have added multiDexEnabled true in app/build.gradle file

defaultConfig {
    applicationId "com.react_native_print"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant