Android Apps, Android App Development, Androi̇d, AndroidDev, Dependencies.
implementation('com.google.code.gson:gson:2.8.7') { exclude group: 'com.google.code.gson', module: 'gson' } implementation 'com.example.conflicting-library:library:1.0.0' } By adding the exclude directive, you instruct Gradle to exclude the Gson module from being pulled in transitively from