deckameron / Ti.Android.Admob

Appcelerator Android module wrapping Admob functionalities
17 stars 7 forks source link

Error during build: jarsigner: unable to sign jar #4

Closed arifje closed 7 years ago

arifje commented 7 years ago

Full error:

[ERROR] : Failed to sign apk: [ERROR] : jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: org/appcelerator/titanium/gen/bindings.json

I think this happens because we use multipe modules with google-play-services.

Any idea how to fix this?

Working on SDK 6.0.2.GA.

arifje commented 7 years ago

Solved it by running:

zip -d your-module-jar-file.jar org/appcelerator/titanium/gen/bindings.json

deckameron commented 7 years ago

Sorry I took so long to answer. But I am glad you found a solution and shared with us. 👍