I have a completely working ( no errors ) android studio. and i tried running it on the emulator, which was successfully accomplished ,
but when i try to generate a signed apk, the build throws 3 errors,
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.
But i have all those three folders/assets in my project and i have even tried replacing i.e deleteing the whole minimap directory and added everything again !
I don't really know why the app runs on emulator with no errors and throws this meaningless error when i try to generate a signed apk.
and i have no errors in my manifest file,
and i have all those three folders with image assets too !
CodePudding user response:
Error in your manifest file studio not finding your app icon path
Change app icon to drawable folder