Execution failed for task ':app:signReleaseBundle' - flutter

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Failed to read key locii from store "E:\Flutter-App\android\app\locii.jks": No key with alias 'locii' found in keysto
re E:\Flutter-App\android\app\locii.jks
BUILD FAILED in 1m 46s
Running Gradle task 'bundleRelease'... 107.7s
Gradle task bundleRelease failed with exit code 1

Your jks file not found in the path just check where you the jks file provide the correct path

Related

Error: Execution failed for task ':app:signReleaseBundle'

I have problem I did all step to create keystores and how can I fix this error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Failed to read key keystore01 from store "c:\Users\saydo\AndroidKeys\keystore01.jks": No key with alias 'keystore01' found in keystore c:\Users\saydo\AndroidKeys\keystore01.jks
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s
Running Gradle task 'bundleRelease'... 12.6s
Gradle task bundleRelease failed with exit code 1

No suitable staging package found in do_populate_sysroot_setscene task

From yesterday, i am seeing the below error while building Yocto Images, my branch of Yocto is warrior.
WARNING: run-postinsts-1.0-r10 do_populate_lic_setscene: Failed to fetch URL file://6c/sstate:run-postinsts::1.0:r10::3:6c1c014b5ff1f03a4bf647fd7419b042aa4c6a148d360d5b9a12d40be8aad4bf_populate_lic.tgz;downloadfilename=6c/sstate:run-postinsts::1.0:r10::3:6c1c014b5ff1f03a4bf647fd7419b042aa4c6a148d360d5b9a12d40be8aad4bf_populate_lic.tgz, attempting MIRRORS if available
ERROR: run-postinsts-1.0-r10 do_populate_lic_setscene: Fetcher failure: Unable to find file file://6c/sstate:run-postinsts::1.0:r10::3:6c1c014b5ff1f03a4bf647fd7419b042aa4c6a148d360d5b9a12d40be8aad4bf_populate_lic.tgz;downloadfilename=6c/sstate:run-postinsts::1.0:r10::3:6c1c014b5ff1f03a4bf647fd7419b042aa4c6a148d360d5b9a12d40be8aad4bf_populate_lic.tgz anywhere. The paths that were searched were:
/home/mjamal/am335x-test/sstate
/home/mjamal/am335x-test/sstate
WARNING: dnf-native-4.1.0-r0 do_populate_lic_setscene: Failed to fetch URL file://ca/sstate:dnf-native::4.1.0:r0::3:ca5fbf0c733b0093d2e5091ca86d732109c26c508490c60ff01bdf61f99e4a85_populate_lic.tgz;downloadfilename=ca/sstate:dnf-native::4.1.0:r0::3:ca5fbf0c733b0093d2e5091ca86d732109c26c508490c60ff01bdf61f99e4a85_populate_lic.tgz, attempting MIRRORS if available
ERROR: dnf-native-4.1.0-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://ca/sstate:dnf-native::4.1.0:r0::3:ca5fbf0c733b0093d2e5091ca86d732109c26c508490c60ff01bdf61f99e4a85_populate_lic.tgz;downloadfilename=ca/sstate:dnf-native::4.1.0:r0::3:ca5fbf0c733b0093d2e5091ca86d732109c26c508490c60ff01bdf61f99e4a85_populate_lic.tgz anywhere. The paths that were searched were:
/home/mjamal/am335x-test/sstate
/home/mjamal/am335x-test/sstate
ERROR: dnf-native-4.1.0-r0 do_populate_lic_setscene: No suitable staging package found
ERROR: dnf-native-4.1.0-r0 do_populate_lic_setscene:
WARNING: Logfile for failed setscene task is /home/mjamal/am335x-test/build-am335x-evm-test/tmp/work/x86_64-linux/dnf-native/4.1.0-r0/temp/log.do_populate_lic_setscene.16814
ERROR: run-postinsts-1.0-r10 do_populate_lic_setscene: No suitable staging package found
ERROR: run-postinsts-1.0-r10 do_populate_lic_setscene:
WARNING: Logfile for failed setscene task is /home/mjamal/am335x-test/build-am335x-evm-test/tmp/work/all-poky-linux/run-postinsts/1.0-r10/temp/log.do_populate_lic_setscene.16817
WARNING: Setscene task (virtual:native:/home/mjamal/am335x-test/src/poky/meta/recipes-devtools/dnf/dnf_4.1.0.bb:do_populate_lic_setscene) failed with exit code '1' - real task will be run instead
WARNING: Setscene task (/home/mjamal/am335x-test/src/poky/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb:do_populate_lic_setscene) failed with exit code '1' - real task will be run instead
WARNING: dosfstools-native-4.1-r0 do_populate_sysroot_setscene: Failed to fetch URL file://universal/ff/sstate:dosfstools-native:x86_64-linux:4.1:r0:x86_64:3:fff8fc0804ff998a466c0e931884ca93e21f24d165431f5d6f208213a82e1d50_populate_sysroot.tgz;downloadfilename=universal/ff/sstate:dosfstools-native:x86_64-linux:4.1:r0:x86_64:3:fff8fc0804ff998a466c0e931884ca93e21f24d165431f5d6f208213a82e1d50_populate_sysroot.tgz, attempting MIRRORS if available
ERROR: dosfstools-native-4.1-r0 do_populate_sysroot_setscene: Fetcher failure: Unable to find file file://universal/ff/sstate:dosfstools-native:x86_64-linux:4.1:r0:x86_64:3:fff8fc0804ff998a466c0e931884ca93e21f24d165431f5d6f208213a82e1d50_populate_sysroot.tgz;downloadfilename=universal/ff/sstate:dosfstools-native:x86_64-linux:4.1:r0:x86_64:3:fff8fc0804ff998a466c0e931884ca93e21f24d165431f5d6f208213a82e1d50_populate_sysroot.tgz anywhere. The paths that were searched were:
/home/mjamal/am335x-test/sstate
/home/mjamal/am335x-test/sstate
ERROR: dosfstools-native-4.1-r0 do_populate_sysroot_setscene: No suitable staging package found
ERROR: dosfstools-native-4.1-r0 do_populate_sysroot_setscene:
WARNING: Logfile for failed setscene task is /home/mjamal/am335x-test/build-am335x-evm-test/tmp/work/x86_64-linux/dosfstools-native/4.1-r0/temp/log.do_populate_sysroot_setscene.16815
WARNING: Setscene task (virtual:native:/home/mjamal/am335x-test/src/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
WARNING: bzip2-native-1.0.6-r5 do_populate_lic_setscene: Failed to fetch URL file://a1/sstate:bzip2-native::1.0.6:r5::3:a12aff19f9a6b06878c5f23c668abbc6e826b9a415bae5efbde996e4cfff624d_populate_lic.tgz;downloadfilename=a1/sstate:bzip2-native::1.0.6:r5::3:a12aff19f9a6b06878c5f23c668abbc6e826b9a415bae5efbde996e4cfff624d_populate_lic.tgz, attempting MIRRORS if available
ERROR: bzip2-native-1.0.6-r5 do_populate_lic_setscene: Fetcher failure: Unable to find file file://a1/sstate:bzip2-native::1.0.6:r5::3:a12aff19f9a6b06878c5f23c668abbc6e826b9a415bae5efbde996e4cfff624d_populate_lic.tgz;downloadfilename=a1/sstate:bzip2-native::1.0.6:r5::3:a12aff19f9a6b06878c5f23c668abbc6e826b9a415bae5efbde996e4cfff624d_populate_lic.tgz anywhere. The paths that were searched were:
/home/mjamal/am335x-test/sstate
/home/mjamal/am335x-test/sstate
ERROR: bzip2-native-1.0.6-r5 do_populate_lic_setscene: No suitable staging package found
ERROR: bzip2-native-1.0.6-r5 do_populate_lic_setscene:
WARNING: Logfile for failed setscene task is /home/mjamal/am335x-test/build-am335x-evm-test/tmp/work/x86_64-linux/b

Gradle task assembleDebug failed with exit code 1 using flutter on android studio

i'm new to flutter and i'm trying to run my application on android studio but i always get this error:
Running Gradle task 'assembleDebug'...
Exception in thread "main" javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1470)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1298)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1199)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:480)
at sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:469)
at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:159)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1290)
... 16 more
Exception: Gradle task assembleDebug failed with exit code 1
Please, How can I fix this ?

What can be possible solution for " Execution failed for task ':app:mergeDebugJavaResource'. " while running flutter app

Execution failed for task ':app:mergeDebugJavaResource'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
File 'com.android.builder.files.ZipCentralDirectory#15d7a122' was deleted, but previous version not found in cache

Android Studio - fail to build "Execution failed for task ':app:mergeDebugResources'."

I'm new with Android Studio, and I'm just trying to run the sample code automatically generated for a Flutter project, but I'm having issues while trying to run the build. Here is the error I get on the console:
Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugResources'.
Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #1: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #4: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #7: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #6: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #2: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #5: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #3: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 9s
Finished with error: Gradle task assembleDebug failed with exit code 1
The problem is one of the plugins. Delete one and run again