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

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

Open
yang-le opened this issue Dec 31, 2016 · 0 comments
Open

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

yang-le opened this issue Dec 31, 2016 · 0 comments

Comments

@yang-le
Copy link

yang-le commented Dec 31, 2016

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~

@yang-le yang-le changed the title Gradle error under Android Studio Error: Multiple dex files define Lorg/bridj/NativeObjectInterface Dec 31, 2016
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