Home > database >  I can't generate a signed apk / abb file from my android studio
I can't generate a signed apk / abb file from my android studio

Time:01-04

I have a completely working ( no errors ) android studio. and i tried running it on the emulator, which was successfully accomplished , App Running Successfully On Emulator

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.


the build log

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, no errors in androidmanifest file

and i have all those three folders with image assets too !

enter image description here

CodePudding user response:

Error in your manifest file studio not finding your app icon path

Change app icon to drawable folder

enter image description here

  • Related