flutter打包时报错:
bashExecution failed for task ':xxx:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR: D:\Project\apprheofit-china\app_rheofit\build\cloudbase_ce\intermediates\merged_res\release\mergeReleaseResources\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.
compileSdkVersion版本不一致,查找报错的那个库修改为一样就可以了。
找到报错库Android目录下的build.gradle文件,修改compileSdkVersion为项目的版本即可
本文作者:哈希喵
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!