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

java.lang.UnsatisfiedLinkError #14

Open
whoislxy opened this issue Apr 8, 2021 · 4 comments
Open

java.lang.UnsatisfiedLinkError #14

whoislxy opened this issue Apr 8, 2021 · 4 comments

Comments

@whoislxy
Copy link

whoislxy commented Apr 8, 2021

No implementation found for long com.iget.datareporter.DataReporter.makeReporter(java.lang.String, java.lang.String, java.lang.String, com.iget.datareporter.IReport) (tried Java_com_iget_datareporter_DataReporter_makeReporter and Java_com_iget_datareporter_DataReporter_makeReporter__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lcom_iget_datareporter_IReport_2)

gradle:
minSdkVersion 21
targetSdkVersion 30
versionCode 23
versionName "1.1.6"
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}

packagingOptions {
    pickFirst 'lib/arm64-v8a/libc++_shared.so'
    pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}

使用的版本: api 'com.luojilab.component:datareporter:1.4.4'

@lixiaoyu0123
Copy link
Contributor

是debug环境出现的问题吗? 还是release? release需要配置混淆

@whoislxy
Copy link
Author

whoislxy commented Apr 9, 2021

debug和release都出现了,release也已经加了混淆,我们用了mmkv,跟这个有关系么?

@lixiaoyu0123
Copy link
Contributor

跟mmkv没有关系,看着像是跟libc++的库版本有关系。
packagingOptions {
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}
这个可以先去掉 试一下吗?

@whoislxy
Copy link
Author

好的

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

2 participants