Closed TwilightAnimeTV closed 2 years ago
Can you upload /Internal storage/.sketchware/debug.txt here after getting Sketchware Pro to crash again?
Hi, I'm encountering the same issu when I try to compile a basic hello world type app. Sketchware display the nice compilation pop up with the compilation steps written at the bottom and once arrived at the last step, it crash making it impossible to compile anything. I'm using the last available version from github if I'm not wrong.
2022-05-24T08:40:49.260+0200 D/AppBuilder: Running Sketchware Pro v6.4.0-rc03 without AAB support (150) 2022-05-24T08:40:49.265+0200 D/AppBuilder: base.apk's size is 87,74ᅡᅠMo (87741026 B) 2022-05-24T08:40:49.286+0200 D/AppBuilder:c: Compiling built-in library resources took 1 ms 2022-05-24T08:40:49.288+0200 D/AppBuilder:cLLR: About to compile 0 local libraries 2022-05-24T08:40:49.290+0200 D/AppBuilder:c: Compiling local library resources took 2 ms 2022-05-24T08:40:49.292+0200 D/AppBuilder:cPR: Now executing: [/data/user/0/com.sketchware.remod/cache/aapt2, compile, --dir, /storage/emulated/0/.sketchware/mysc/601/app/src/main/res, -o, /storage/emulated/0/.sketchware/mysc/601/bin/res/project.zip] 2022-05-24T08:40:49.371+0200 D/AppBuilder:c: Compiling project generated resources took 80 ms 2022-05-24T08:40:49.375+0200 D/AppBuilder:c: Compiling project imported resources took 1 ms 2022-05-24T08:40:49.380+0200 D/AppBuilder:l: [/data/user/0/com.sketchware.remod/cache/aapt2, link, --allow-reserved-package-id, --auto-add-overlay, --no-version-vectors, --no-version-transitions, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 1, --version-name, 1.0, -I, /data/user/0/com.sketchware.remod/cache/libs/android.jar, -A, /storage/emulated/0/.sketchware/mysc/601/app/src/main/assets, -R, /storage/emulated/0/.sketchware/mysc/601/bin/res/project.zip, -R, /storage/emulated/0/.sketchware/mysc/601/bin/res/project.zip, --java, /storage/emulated/0/.sketchware/mysc/601/gen, --proguard, /storage/emulated/0/.sketchware/mysc/601/bin/aapt_rules.pro, --manifest, /storage/emulated/0/.sketchware/mysc/601/app/src/main/AndroidManifest.xml, -o, /storage/emulated/0/.sketchware/mysc/601/bin/NewProject.apk.res] 2022-05-24T08:40:50.019+0200 D/AppBuilder:c: Linking resources took 643 ms 2022-05-24T08:40:50.021+0200 D/AppBuilder: Compiling resources took 737 ms 2022-05-24T08:40:50.140+0200 D/AppBuilder: Running Eclipse compiler with these arguments: [-1.7, -nowarn, -deprecation, -d, /storage/emulated/0/.sketchware/mysc/601/bin/classes, -cp, /data/user/0/com.sketchware.remod/cache/libs/android.jar:/data/user/0/com.sketchware.remod/cache/libs/libs/http-legacy-android-28/classes.jar:, -proc:none, /storage/emulated/0/.sketchware/mysc/601/app/src/main/java, /storage/emulated/0/.sketchware/mysc/601/gen, /storage/emulated/0/.sketchware/data/601/files/java] 2022-05-24T08:40:52.936+0200 D/AppBuilder: System.out of Eclipse compiler: 2022-05-24T08:40:52.938+0200 D/AppBuilder: System.err of Eclipse compiler: ----------
16 problems (16 warnings)
2022-05-24T08:40:52.961+0200 D/AppBuilder: Compiling Java files took 2938 ms
2022-05-24T08:40:53.003+0200 D/AppBuilder: Running Dx with these arguments: [--debug, --verbose, --multi-dex, --output=/storage/emulated/0/.sketchware/mysc/601/bin/dex, /storage/emulated/0/.sketchware/mysc/601/bin/classes]
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/DebugActivity.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/DebugActivity$1.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/FileUtil.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/MainActivity.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/MainActivity$1.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$color.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$drawable.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$id.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$layout.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$string.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/R$style.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/SketchApplication.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/SketchApplication$1.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/SketchwareUtil.class...
processing /storage/emulated/0/.sketchware/mysc/601/bin/classes/./com/patatino/test/SketchwareUtil$1.class...
2022-05-24T08:40:53.466+0200 D/AppBuilder: Dx took 467 ms
2022-05-24T08:40:53.472+0200 D/AppBuilder: Will merge these 2 DEX files to classes.dex: [/data/user/0/com.sketchware.remod/cache/libs/dexs/http-legacy-android-28.dex, /storage/emulated/0/.sketchware/mysc/601/bin/dex/classes.dex]
2022-05-24T08:40:53.476+0200 D/AppBuilder: Merging project DEX file(s) and libraries' took 7 ms
Packaging NewProject.apk.unsigned
/storage/emulated/0/.sketchware/mysc/601/bin/NewProject.apk.res:
=> AndroidManifest.xml
=> res/drawable-xhdpi-v4/app_icon.png
=> res/drawable-xhdpi-v4/default_image.png
=> res/layout/main.xml
=> resources.arsc
/data/user/0/com.sketchware.remod/cache/libs/dexs/http-legacy-android-28.dex => classes.dex
/storage/emulated/0/.sketchware/mysc/601/bin/dex/classes.dex => classes2.dex
2022-05-24T08:40:53.556+0200 D/AppBuilder: Time passed since starting to compile resources until building the unsigned APK: 4272 ms
2022-05-24T08:40:53.558+0200 D/AppBuilder: About to zipalign /storage/emulated/0/.sketchware/mysc/601/bin/NewProject.apk.unsigned to /storage/emulated/0/.sketchware/mysc/601/bin/NewProject.apk.unsigned.aligned
2022-05-24T08:40:54.368+0200 D/AppBuilder: zipalign took 808 ms
Failed to load signer "signer #1"
java.io.FileNotFoundException: /data/user/0/com.sketchware.remod/files/libs/testkey/testkey.pk8: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileInputStream.
@bloom11, Issue #413 has a workaround for that bug in Sketchware Pro v6.4.0-rc03. It's been fixed already, just needs to be released.
There's no other issue on my side. It just it keep crashing when building apk and then it will not let me build it.