Skip to content

Error: Multiple dex files define Lorg/bridj/NativeObjectInterface #37

@yang-le

Description

@yang-le

Hi, I want to use this lib in android. But I get following error:

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lorg/bridj/NativeObjectInterface;

And this is my build.gradle dependencies:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.nativelibs4java:javacl:1.0.0-RC4'
}

the 'libs' directory is empty.

Can anyone help me? Thanks~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions