Skip to content

Can't Build APK or generate signed APK starting today #671

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

Closed
paatz04 opened this issue May 23, 2017 · 5 comments
Closed

Can't Build APK or generate signed APK starting today #671

paatz04 opened this issue May 23, 2017 · 5 comments

Comments

@paatz04
Copy link

paatz04 commented May 23, 2017

Hey,

as of today i can't create an APK anymore. I can still run and build on the simulator and device.

Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/parse/BuildConfig.class

This is the error I get when I'm trying to build an APK. I guess it's related to some sort of dependency issue. I've tried to go through the dependence tree, I tried of course clean and rebuild, i tried older version. I'm on the newest PARSE SDK

Any hints ?
Thanks in advance.

@hermanliang
Copy link
Contributor

Can you provide your build.gradle dependency configuration?

@hermanliang
Copy link
Contributor

It seems to be relevant to parse-community/ParseLiveQuery-Android#60 (comment) if ParseLiveQuery is included in dependencies.

@paatz04
Copy link
Author

paatz04 commented May 23, 2017 via email

@Jawnnypoo
Copy link
Member

I think this is partially because LiveQuery and the Parse SDK both use the same package name. We honestly should move toward LiveQuery living under a different package if possible.

@hermanliang
Copy link
Contributor

@paatz04 This issue has been resolved in the latest LiveQuery.
Now you may declare the dependencies like this

dependencies {
    compile 'com.parse:parse-android:1.15.7'
    compile 'com.parse:parse-livequery-android:1.0.4@aar'
}

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

3 participants