Linking CXX shared library ..\.j\armeabi-v7a\libsmart_crop.so FAILED.....

博客内容描述了在Android项目中遇到的CXX库链接错误,具体是'fegetenv'和'fesetenv'未定义的引用问题。错误发生在编译智能裁剪库(smartcropperlib)的过程中。解决方案是在主项目的build.gradle文件中调整库的minSdkVersion和targetSdkVersion,使其与主模块保持一致,以解决依赖问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Executing tasks: [clean, :smartcropperlib:assembleDebug, :app:assembleDebug]

:clean UP-TO-DATE
:app:clean
:smartcropperlib:externalNativeBuildCleanDebug
Clean smart_cropper armeabi-v7a
Cleaning... 3 files.
Clean smart_cropper arm64-v8a
Cleaning... 4 files.
Clean smart_cropper x86
Cleaning... 4 files.
Clean smart_cropper x86_64
Cleaning... 4 files.
:smartcropperlib:externalNativeBuildCleanRelease
Clean smart_cropper armeabi-v7a
Cleaning... 0 files.
Clean smart_cropper arm64-v8a
Cleaning... 0 files.
Clean smart_cropper x86
Cleaning... 0 files.
Clean smart_cropper x86_64
Cleaning... 0 files.
:smartcropperlib:clean
:smartcropperlib:preBuild UP-TO-DATE
:smartcropperlib:preDebugBuild UP-TO-DATE
:smartcropperlib:compileDebugAidl NO-SOURCE
:smartcropperlib:compileDebugRenderscript
:smartcropperlib:checkDebugManifest
:smartcropperlib:generateDebugBuildConfig
:smartcropperlib:generateDebugResValues
:smartcropperlib:generateDebugResources
:smartcropperlib:packageDebugResources
:smartcropperlib:processDebugManifest
:smartcropperlib:generateDebugRFile
:smartcropperlib:prepareLintJar UP-TO-DATE
:smartcropperlib:generateDebugSources
:smartcropperlib:javaPreCompileDebug
注: D:\opj\docScan\SmartCropper\smartcropperlib\src\main\java\me\pqpo\smartcropperlib\view\CropImageView.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:smartcropperlib:compileDebugJavaWithJavac
:smartcropperlib:extractDebugAnnotations
:smartcropperlib:mergeDebugConsumerProguardFiles UP-TO-DATE
:smartcropperlib:mergeDebugShaders
:smartcropperlib:compileDebugShaders
:smartcropperlib:generateDebugAssets
:smartcropperlib:packageDebugAssets
:smartcropperlib:packageDebugRenderscript NO-SOURCE
:smartcropperlib:processDebugJavaRes NO-SOURCE
:smartcropperlib:transformResour

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值