用android studio添加jar包后,运行会提示:
com.android.build.api.transform.transformexception
在app的build.gradle文件的android里加上如下代码即可:
packagingOptions { exclude 'META-INFTICE.txt' exclude 'META-INF/maven/data.domybox.com/data.sdk/pom.properties' exclude 'META-INF/maven/data.domybox.com/data.sdk/pom.xml' exclude 'META-INF/LICENSE.txt' }