iZettle / android-html2bitmap

Generates a bitmap from html by rendering the content inside an off screen webview
MIT License
56 stars 20 forks source link

More than one file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro #30

Closed ismdcf closed 4 years ago

ismdcf commented 5 years ago

Getting the above error when try to integrate in my app which has couple of product flavours. For now used the following SO hack to fix. Can this be fixed, if so please let me know ready to contribute. https://stackoverflow.com/questions/52518378/more-than-one-file-was-found-with-os-independent-path-meta-inf-proguard-android

erikeelde commented 5 years ago

I've sent a ping to @MarijanGazica to have him help release a fix for this. Thanks for reaching out.

MarijanGazica commented 5 years ago

Hi @ismdcf Have you tried enabling jetifier if it is not already enabled? Also, Android Gradle plugin v3.3.* should exclude those files by default. Try updating it as well. Please let us know if this helps.

erikeelde commented 4 years ago

@MarijanGazica I think you can close this.. :)