Closed jerinamathews closed 5 years ago
It is not reproduced in my environment, but it will work if you write the following code in app/build.gradle.
packagingOptions {
exclude 'META-INF/library_release.kotlin_module'
}
ex) this gist
When i use
packagingOptions { exclude 'META-INF/library_release.kotlin_module' }
am getting compilation failed to complete. And the issue is 'Program type already present: com.android.vending.billing.IInAppBillingService$Stub$Proxy'
On Tue, Jun 19, 2018 at 6:27 PM WindSekirun (DongGil, Seo) < notifications@github.com> wrote:
for more info, please see https://stackoverflow.com/questions/44509608/duplicate-files-copied-in-apk-meta-inf-library-release-kotlin-module
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WindSekirun/NaraeImagePicker/issues/7#issuecomment-398389368, or mute the thread https://github.com/notifications/unsubscribe-auth/ALjahlaucvJ2-DwWGBvx-sMLS4svHxueks5t-PVOgaJpZM4UtYJs .
-- Regards, Jerin A Mathews Chief Technology Officer https://in.linkedin.com/in/jerinamathews
Hmm.. i think you have dependency problem. This library have dependency 'RichUtilsKt (https://github.com/WindSekirun/RichUtilsKt)' which contains InAppBillingService.aidl. if you have InAppBilling.aidl file in project, please delete it. you shoudn't keep two (or more) similar class.
I'm having same problem and I tried this
packagingOptions { exclude 'META-INF/library_release.kotlin_module' }
worked for me....
Thanks
Close cause inactivity.
Couldn't resolve it .