Skip to content

DuplicateRelativeFileException: More than one file was found with OS independent path 'lib/x86/libobjectbox.so' #257

Description

@weiyf
buildscript {
     ext.objectboxVersion = '1.2.1'
}

apply plugin: 'io.objectbox'

implementation "io.objectbox:objectbox-android:$objectboxVersion"
implementation "io.objectbox:objectbox-kotlin:$objectboxVersion"
debugImplementation   "io.objectbox:objectbox-android-objectbrowser:$objectboxVersion"
kapt "io.objectbox:objectbox-processor:$objectboxVersion"

run 'app'

Caused by: com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path 'lib/x86/libobjectbox.so'

Android Studio 3.0
classpath 'com.android.tools.build:gradle:3.0.0'
kotlin_version = '1.1.60'

How to solve it?

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