Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Crash during compiling/building apks #404

Closed 007Shreyas closed 1 year ago

007Shreyas commented 2 years ago

Dear modders and developers........... Issue while compiling and building any app (apk) on latest version of Sketchware pro v 6.4.0 test build 03. Detailed report: When 'Run' button is clicked, it apk is successfully compiled(java, dx, aligning already done successfully) but crashes as soon it is signing the apk.. Then Sketchware returns to Home Screen where projects are displayed. NO app is being able to be installed. NO ERROR LOG IS DISPLAYED . Please fix this bug ASAP.

khaled-0 commented 2 years ago

Following Happened with me once but couldn't replicate or get any logs

007Shreyas commented 2 years ago

@khaled-0 Do you have a solution for this?

JavkhlanK commented 2 years ago

Please don't mention any maintainers / contributors when opening an Issue. We can see you've opened one already, and mentioning only makes it more intrusive and annoying.

I'm guessing this is due to testkey.zip getting extracted to a new path, but some code still relying on the old path. Will have to investigate further.

JavkhlanK commented 2 years ago

Could you reproduce the issue and if the app crashes again, upload /Internal storage/.sketchware/debug.txt here?

007Shreyas commented 2 years ago

@JavkhlanK sorry to mention you all.. I just wanted that this issue to be fixed ASAP. And please wait let me try to upload the debug log file

007Shreyas commented 2 years ago

debug.txt

JavkhlanK commented 2 years ago

Thanks. That confirms my guess, it's trying to use testkey's old file path.

I found out that installing e.g. Sketchware Pro v6.4.0-rc02 directly over v6.4.0-rc03, successfully building a project with it, and then installing v6.4.0-rc03 over it again works.

007Shreyas commented 2 years ago

@JavkhlanK is this the only solution? Can't you fix it?

JavkhlanK commented 2 years ago

Could you please stop mentioning members already?

Anyway, I shared just a workaround for v6.4.0-rc03. The next build, v6.4.0-rc04, will have that bug fixed.

007Shreyas commented 2 years ago

I just mentioned you.. I apologize.. Ok thanks... Please release the update soon.(very impatient) and excited for new updates.

007Shreyas commented 2 years ago

And can you please tell me from where i can learn about Java and android development freely. I really want to learn them.. But cannot find a reliable source. I want to master Java for android development.. You are the expert, please advise me.

JavkhlanK commented 2 years ago

What I used is a combination of an IDE, some basic knowledge in using search engines, and many hours of reading stuff on e.g. https://developer.android.com or https://stackoverflow.com.

JavkhlanK commented 2 years ago

Keeping this open until it's fixed and released.

JavkhlanK commented 2 years ago

Fixed via 1b44163c9f0e273297ce9603fe5cd6a891da5bb3. Now only awaiting release.