我在我的项目构建中遇到了一个问题。
我用的是技术颤振。我在Windows 11上使用。
错误是:
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
ERROR:AAPT: error: resource style/Theme.AppCompat.light.NoActionBar (aka com.example.nysos:style/Theme.AppCompat.light.NoActionBar) not found.
error: failed linking references.
我已经清除了我的梯度缓存,使用了flutter clean
,文件>无效缓存>清除文件系统缓存和本地历史>无效和重新启动。
请帮我修一下这个错误好吗?
发布于 2022-06-27 13:21:20
在Android Studio中:
搜索栏中的
AppCompat
Theme.AppCompat.light.NoActionBar
以Theme.AppCompat.Light.NoActionBar
flutter/android/app/build.gradle
和flutter/android/build.gradle
中的版本,它应该工作。https://stackoverflow.com/questions/72770793
复制相似问题