代码拉取完成,页面将自动刷新
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[
DexPathList[[zip file "/data/app/com.example.myndkjnidemo-tQiU7i-8yQdnuC1-yo1Fvg==/base.apk"],
nativeLibraryDirectories=[
/data/app/com.example.myndkjnidemo-tQiU7i-8yQdnuC1-yo1Fvg==/lib/arm64,
/system/lib64, /system/product/lib64]]]
couldn't find "libhello.so"
请配置:
//ndkBuild 需要 指定path
externalNativeBuild {
ndkBuild {
path 'src/main/jni/Android.mk'
}
}
The option 'android.useDeprecatedNdk' is deprecated.
NDK was located by using ndk.dir property.
This method is deprecated and will be removed in a future release.
If you delete ndk.dir from local.properties and set android.ndkVersion to [22.1.7171670]
then NDK at
/Users/tmk/Library/Android/sdk/ndk/22.1.7171670 will be used.
https://developer.android.com/r/studio-ui/ndk-dir
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。