suwhs / wATLlib

standalone wATL library
22 stars 2 forks source link

Can't build 1.4.6a #7

Open ointeractive-depot opened 5 years ago

ointeractive-depot commented 5 years ago

Hello, I'm trying to build my project with 1.4.6a, but getting a Program type already present: android.support.v4.R error

I tried to exclude this group with

implementation ('su.whs:wATLlib:1.4.6a') {
    exclude group: 'com.android.support'
    exclude module: 'appcompat-v7'
    exclude module: 'support-v4'
    exclude module: 'support-annotations'
}

but with no luck.

Even

configurations {
    all*.exclude group: 'com.android.support'
}

not helped me, because I'm using 26 SDK version, but yours is 23, it's so obsolete. Is it not so difficult to you to update the SDK version on your project for compatibility? And perhaps it'll be needed to delete the transitive = false from your build.gradle. Don't fear about it will not be supported by older versions of android, because it'll only using needed methods from newer SDK.

Thanks in advance!