Skip to content

libserial_port.so: has text relocations #44

Description

@mtj956052456

依赖:implementation 'com.licheedev:android-serialport:2.1.3'

build.gradle配置:
ndk {
abiFilters "armeabi-v7a"
}
运行后出现以下异常
java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/包名.debug-1/lib/arm/libserial_port.so: has text relocations

注释ndk闭包可以正常运行。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions