Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash during compiling/building apks #404

Closed
007Shreyas opened this issue May 17, 2022 · 14 comments
Closed

Crash during compiling/building apks #404

007Shreyas opened this issue May 17, 2022 · 14 comments
Labels
bug Something isn't working fixed A bug is fixed

Comments

@007Shreyas
Copy link

007Shreyas commented May 17, 2022

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
Copy link
Contributor

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

@007Shreyas
Copy link
Author

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

@007Shreyas 007Shreyas changed the title Crash during compiling apps Crash during compiling/building apks May 17, 2022
@JavkhlanK
Copy link
Member

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 JavkhlanK added the bug Something isn't working label May 17, 2022
@JavkhlanK
Copy link
Member

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

@007Shreyas
Copy link
Author

007Shreyas commented May 17, 2022

@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
Copy link
Author

debug.txt

@JavkhlanK
Copy link
Member

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
Copy link
Author

007Shreyas commented May 17, 2022

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

@JavkhlanK
Copy link
Member

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
Copy link
Author

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

@007Shreyas
Copy link
Author

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
Copy link
Member

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
Copy link
Member

Keeping this open until it's fixed and released.

@JavkhlanK JavkhlanK reopened this May 17, 2022
@JavkhlanK
Copy link
Member

Fixed via 1b44163. Now only awaiting release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed A bug is fixed
Projects
None yet
Development

No branches or pull requests

4 participants