集成flutter-verify插件后 flutter build apk打包失败
Tt*
发布于 4 年前
234来自福建省智能认证 U-Verify
移动统计 U-App
SDK集成与升级
API调用
功能使用
其他
运行的是官方的demo,在真机上可以跑通,功能使用都没问题,然而在flutter build apk打包却失败了。在我自己的项目里也是这么个情况,当我屏蔽这个插件后打包成功

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':umeng_verify_sdk:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
AAPT: error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.umeng.umeng_verify_sdk:style/Theme.AppCompat.Light.NoActionBar) not found.
error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.umeng.umeng_verify_sdk:style/Theme.AppCompat.Light.NoActionBar) not found.
error: failed linking references.按照百度出来的方案是添加 “com.android.support:appcompat-v7:28.0.0” 依赖,但这个demo里面原本就已经有了,有无朋友帮忙看看是什么问题?该如何解决呢?