Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Unable to build my Phonegap Android App for com.android.build.api.transform.TransformException #746

Closed
xale76 opened this issue Dec 14, 2018 · 3 comments
Labels
stale issues lacking attention, or potentially abandoned

Comments

@xale76
Copy link

xale76 commented Dec 14, 2018

Cordova CLI 7.1.0

I'm stuck from days in this problem and nobody helps me.
I build with Phonegap and I need to use facebook4 plugin ( facebook site tells me to update to Facebook SDK for iOS v4.39.0, is it mandatory? I don't know).

So I updated facebook4 plugin to latest version and now I got error :
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/aztec/AztecDetectorResult.class

I know that is for same library blablabla but no solution. It's phonegap, so I cannot change plugins, just change config. I tried with

<platform name="android">
    <framework src="com.facebook.android:facebook-android-sdk:4.25.0" />
</platform>

in config.xml but nothing changes. Please I need to release the app

@viking2917
Copy link

@xale76, I have not seen that particular error, but check out these threads, about the various issues/versions when using this plugin with Facebook4 plugin:

#535.
#606

I use

phonegap-plugin-barcodescanner 7.0.2 "BarcodeScanner"
cordova-plugin-facebook4 1.7.4 "Facebook Connect"

together and have gotten it work following comments in the above bug threads

@stale
Copy link

stale bot commented Mar 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale issues lacking attention, or potentially abandoned label Mar 14, 2019
@stale stale bot closed this as completed Apr 3, 2019
@lock
Copy link

lock bot commented May 3, 2019

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale issues lacking attention, or potentially abandoned
Development

No branches or pull requests

2 participants