android-js / androidjs

Platform to build android app using node js
MIT License
466 stars 109 forks source link

non zero exit code: failed to build apk #206

Closed FoxTale-Labs closed 3 years ago

FoxTale-Labs commented 3 years ago

Describe the bug I wanted to build my app, but then it just showed this

non zero exit code: failed to build apk
W: fakeLogOpen(/dev/log_stats) failed
Unable to rename temporary file

and this was only 15 minutes after using it, first it worked fine, now it doesn't at all

To Reproduce Idk how to reproduce, it happend randomly

Expected behavior It should build my apk, what it didn't

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context It didn't build my app and I am very mad because i need to code an project i am working on... And i don't want to waste all of my time fixing this crap...

FoxTale-Labs commented 3 years ago

Please fix this as fast as possible!

FoxTale-Labs commented 3 years ago

Or atleast add more debugging information so we can fix it ourselfs...

FoxTale-Labs commented 3 years ago

Soo, if you delete the folder "C:/Users/%USERNAME%/.androidjs" then it works again!

Chhekur commented 3 years ago

@EiskalterFreund hey these permission generally comes on windows machine not sure, you might haven't given the proper permissions for that folder.

We actually use .androidjs folder as cache for our tool, so basically you won't have to download the SDK again and again.

RizwanKMW commented 2 years ago

Run this command it will rebuild it successfully $ androidjs build -f

fox3000foxy commented 1 year ago

image

fox3000foxy commented 1 year ago

What should i do now ?