[英]I can't generate a signed apk / abb file from my android studio
我有一個完全正常工作(沒有錯誤)的 android 工作室。 我嘗試在模擬器上運行它,成功地完成了,
但是當我嘗試生成簽名的 apk 時,構建會拋出 3 個錯誤,
Execution failed for task ':app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\haamh\Downloads\only\Android-WebView-in-Kotlin-master\app\src\main\AndroidManifest.xml:11:5-45:19: AAPT: error: resource mipmap/ic_launcher (aka com.onlywin.hhh:mipmap/ic_launcher) not found.
* 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.
但是我的項目中有所有這三個文件夾/資產,我什至嘗試替換即刪除整個迷你地圖目錄並再次添加所有內容!
我真的不知道為什么應用程序在模擬器上運行沒有錯誤,並且在我嘗試生成簽名的 apk 時拋出這個無意義的錯誤。
我也有所有這三個帶有圖像資產的文件夾!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.