android - 添加flutter_contact插件后,Flutter App Gradle构建失败

标签 android android-studio flutter gradle build.gradle

我的Flutter应用运行正常。但是现在失败了,我添加了flutter_contact 0.5.3程序包。
请找到gradle堆栈跟踪

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade File 'com.android.builder.files.ZipCentralDirectory@53232d9e' was deleted, but previous version not found in cache

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log >output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org


请帮助

最佳答案

我遇到过同样的问题。使用IOBit Unlocker解锁项目文件夹-然后运行干净。现在一切正常

IOBit解锁器:https://ru.iobit.com/iobit-unlocker.php

关于android - 添加flutter_contact插件后,Flutter App Gradle构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61543057/

相关文章:

android - app :theme is now deprecated. 请改为使用 android:theme

dart - mulFromInteger 在 null 时被调用

android - flutter ,打开键盘时如何无缝 ScrollView

android - 如何向多个注册 ID 发送通知并使用 GCM 接收它们?

android - APK META_INF/NOTICE 中复制的重复文件

android - 备份我的本地数据库/数据

android - 添加语言到android模拟器

flutter - BuiltValue 不是类型 'BuiltRegister' 错误的子类型

Android SQLite LIKE 转义通配符

android - 如何跨线程传递 RealmResults