jeudi 15 avril 2021

How to solve Exception in thread "main" java.util.zip.ZipException: error in opening zip file

I am using qt and get this error message when build for android. I dont understand why give this. Please help me. Thanks.

Initializing deployment to Android device/simulator Deploying to 0123456789ABCDEF 19:04:43: Running steps for project Android_Test... 19:04:43: Starting: "D:\PROJECTS\IDE\Qt\Qt5.12.10\5.12.10\android_armv7\bin\qmake.exe" "D:\PROJECTS\All Projects\Qt Projects\In Progress\Android_Test\Android_Test.pro" -spec android-clang "CONFIG+=qml_debug" 19:04:44: The process "D:\PROJECTS\IDE\Qt\Qt5.12.10\5.12.10\android_armv7\bin\qmake.exe" exited normally. 19:04:44: Starting: "D:\PROJECTS\IDE\Sdk\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe" -f "D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/Makefile" qmake_all make: Nothing to be done for 'qmake_all'. 19:04:44: The process "D:\PROJECTS\IDE\Sdk\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe" exited normally. 19:04:44: Removing directory D:\PROJECTS\All Projects\Qt Projects\In Progress\build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug\android-build/assets 19:04:44: Removing directory D:\PROJECTS\All Projects\Qt Projects\In Progress\build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug\android-build/libs 19:04:44: Starting: "D:\PROJECTS\IDE\Sdk\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT="""D:\PROJECTS\All Projects\Qt Projects\In Progress\build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug\android-build"""" install D:\PROJECTS\IDE\Qt\Qt5.12.10\5.12.10\android_armv7\bin\qmake.exe -install qinstall -exe libAndroid_Test.so "D:\PROJECTS\All Projects\Qt Projects\In Progress\build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug\android-build"\libs\armeabi-v7a\libAndroid_Test.so 19:04:46: The process "D:\PROJECTS\IDE\Sdk\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe" exited normally. 19:04:46: Starting: "D:\PROJECTS\IDE\Qt\Qt5.12.10\5.12.10\android_armv7\bin\androiddeployqt.exe" --input "D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/android-libAndroid_Test.so-deployment-settings.json" --output "D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/android-build" --android-platform android-29 --jdk "C:/Program Files/Java/jdk1.8.0_144" --gradle Generating Android Package Input file: D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/android-libAndroid_Test.so-deployment-settings.json Output directory: D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/android-build/ Application binary: D:/PROJECTS/All Projects/Qt Projects/In Progress/build-Android_Test-Android_Qt_5_12_10_Clang_armeabi_v7a-Debug/libAndroid_Test.so Android build platform: android-29 Install to device: No -- Skipping D:/PROJECTS/IDE/Qt/Qt5.12.10/5.12.10/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so. -- Skipping D:/PROJECTS/IDE/Qt/Qt5.12.10/5.12.10/android_armv7/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so. Unzipping C:\Users\Hasibul Hasan Chowdh.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo\gradle-4.6-bin.zip to C:\Users\Hasibul Hasan Chowdh.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:225) at java.util.zip.ZipFile.(ZipFile.java:155) at java.util.zip.ZipFile.(ZipFile.java:169) at org.gradle.wrapper.Install.unzip(Install.java:215) at org.gradle.wrapper.Install.access$600(Install.java:27) at org.gradle.wrapper.Install$1.call(Install.java:75) at org.gradle.wrapper.Install$1.call(Install.java:48) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69) at org.gradle.wrapper.Install.createDist(Install.java:48) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Building the android package failed! -- For more information, run this command with --verbose. 19:04:51: The process "D:\PROJECTS\IDE\Qt\Qt5.12.10\5.12.10\android_armv7\bin\androiddeployqt.exe" exited with code 14. Error while building/deploying project Android_Test (kit: Android Qt 5.12.10 Clang armeabi-v7a) When executing step "Build Android APK"

Aucun commentaire:

Enregistrer un commentaire