Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK lib/x86/librealm-jni.so File1: C:\Users\akhil.patoliya.gradle\caches\modules-2\files-2.1\io.realm\realm-android\0.87.5\ab4e1fead1380252dad0e95658e53ea0c113e89c\realm-android-0.87.5.jar File2: F:\Binder_svn_new\bindercanvas\build\intermediates\bundles\default\jni
Any idea about this issues please help me or please suggest me any solution.
AndroidJSCore is deprecated. Please upgrade to LiquidCore as noted on the front page.
On Dec 23, 2017 8:17 AM, "Akhil Patoliya" [email protected] wrote:
Any idea about this issues please help me or please suggest me any solution.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/54#issuecomment-353711620, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZC64DP7v889PdnIuj2tN6U0-tqSUks5tDKkVgaJpZM4RLmU_ .
Hello, ericwlange i am little bit confused please explain more detail. my issues not solved
This is my build.gradle code
apply plugin: 'com.android.library' android { compileSdkVersion 25 buildToolsVersion '26.0.2'
defaultConfig {
minSdkVersion 18
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.1.1' testCompile 'junit:junit:4.12' compile 'de.hdodenhof:circleimageview:2.1.0' compile 'com.github.lassana:continuous-audiorecorder:1.1.0' testCompile 'junit:junit:4.12' compile 'com.github.zomato:androidphotofilters:1.0.1' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'id.zelory:compressor:1.0.4' compile 'com.google.code.gson:gson:2.6.1' compile 'io.reactivex:rxandroid:1.2.1' compile 'com.writingminds:FFmpegAndroid:0.3.2' compile 'io.realm:realm-android:0.87.5' compile 'com.android.support:exifinterface:25.1.0' compile 'io.reactivex:rxjava:1.1.9' compile 'de.hdodenhof:circleimageview:2.1.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'org.ocpsoft.prettytime:prettytime:4.0.1.Final' }
I'm not sure I understand your confusion. This project, AndroidJSCore, is no longer supported. The last edit was made to it over a year ago. Please go to the LiquidCore project and use that instead. It works (almost) exactly the same, as described here. This is very clearly explained in bold lettering on the front page of this project:
AndroidJSCore is currently unsupported. Instead, I am moving all of this functionality and more to its permanent home, LiquidCore. Please migrate to this version going forward.
AndroidJSCore is buggy and old. Don't use it.
You are right but i am not use your project actually my issue is totally different and i am used realm and my issue regarding realm api which i used in my project.
compile 'io.realm:realm-android:0.87.5'
This realm api generate an error of Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug' . so i ask you about this error. and yes i use android studio 3.0.1 Canary
I really don't understand why you are asking me about something that is completely unrelated to this project? May I suggest stackoverflow?