I have one library project in which i have implemented volley library.
api 'com.android.volley:volley:1.1.0'
So i can use same library in main application. But when i try to use in main application and try to build apk then issue is that Program type already present: com.android.volley.BuildConfig
But if i exclude volley from library project and comment classes that using volley, doing below line then i am able to build apk.
exclude group: "com.android.volley"
So how i can resolve this issue?
Try to remove the library from the module and from the project as well and try to implement volley
implementation 'com.android.volley:volley:1.0.0' on build.gradle of both module and project file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With