Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example导入Android studio报错,请问怎么解决? #1

Open
buqulinghun opened this issue Jun 9, 2016 · 0 comments
Open

Example导入Android studio报错,请问怎么解决? #1

buqulinghun opened this issue Jun 9, 2016 · 0 comments

Comments

@buqulinghun
Copy link

编辑器:as2.1.1
gradle:
`apply plugin: 'com.android.application'

android {
compileSdkVersion 14
buildToolsVersion "23.0.2"

defaultConfig {
    applicationId "com.vdisk.android.example"
    minSdkVersion 9
    targetSdkVersion 23
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
}

}

dependencies {
compile project(':vDiskSdk')
compile files('libs/json_simple-1.1.jar')
compile files('libs/weibosdkcore.jar')
}报错:Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lorg/json/simple/ItemList; :vDiskSdk_Example:transformClassesWithDexForDebug FAILED Error:Execution failed for task ':vDiskSdk_Example:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_73\bin\java.exe'' finished with non-zero exit value 2`
请问怎么解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant