【发布时间】:2021-01-18 04:43:45
【问题描述】:
当我尝试使用 ./gradlew bundleRelease 构建 apk 文件时出现此错误
FAILURE:构建失败并出现异常。
- 出了什么问题:任务“:app:bundleReleaseResources”执行失败。
执行 com.android.build.gradle.internal.tasks.Workers$ActionFacade 时发生故障 Android资源链接失败 C:\Users\Yoan\React Native\new\app\android\app\build\intermediates\bundle_manifest\release\processReleaseManifest\bundle-manifest\AndroidManifest.xml:13: AAPT:错误:资源 mipmap/ic_launcher(又名 com.hotelmaids:mipmap/ic_launcher) 未找到。
C:\Users\Yoan\React Native\new\app\android\app\build\intermediates\bundle_manifest\release\processReleaseManifest\bundle-manifest\AndroidManifest.xml:13:AAPT:错误:资源 mipmap/ic_launcher_round(又名 com.hotelmaids:mipmap/ic_launcher_round) 未找到。
我删除了这些文件夹。我在某个地方发现人们和控制台说它们是重复的,我还有另一个错误
【问题讨论】:
标签: react-native visual-studio-code react-native-android