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 ie 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 !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.