Skip to content

libserial_port.so: has text relocations #44

@mtj956052456

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闭包可以正常运行。

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