Giter Club home page Giter Club logo

Comments (13)

Chhekur avatar Chhekur commented on July 3, 2024

Generate the new project with builder then it will work
androidjs init

from androidjs.

usernein avatar usernein commented on July 3, 2024

Even with androidjs init i still get that error

from androidjs.

atmoner avatar atmoner commented on July 3, 2024

Hello @Chhekur
Same as @usernein

I have the impression that he cannot open an xml file! He needs to load xml?

from androidjs.

Chhekur avatar Chhekur commented on July 3, 2024

Are you guys using latest version of androidjs-builder ?

from androidjs.

usernein avatar usernein commented on July 3, 2024

@Chhekur yes, i'm using the version 2.0.3 of androidjs-builder

And when i tried to use androidjs update i got another error that i already saw before:

from androidjs.

Chhekur avatar Chhekur commented on July 3, 2024

@Chhekur yes, i'm using the version 2.0.3 of androidjs-builder

And when i tried to use androidjs update i got another error that i already saw before:

This error occurs because of slow internet connection. So you just need to repeatedly run the command until it works ; )

from androidjs.

atmoner avatar atmoner commented on July 3, 2024

This error occurs because of slow internet connection. So you just need to repeatedly run the command until it works ; )

I've been trying 50 times and it doesn't work.
And honestly, I don't think the problem comes from the connection!
I will try with another project, I give up with this one

from androidjs.

usernein avatar usernein commented on July 3, 2024

@Chhekur the server has a stable and fast connection, it's a vps of Digital Ocean and wget shows about 25MB/s
The error keeps throwing even after multiple times

from androidjs.

Chhekur avatar Chhekur commented on July 3, 2024

Delete the theme attribute from your app's package.json file.

from androidjs.

usernein avatar usernein commented on July 3, 2024

@Chhekur same "total required" error after removing the "theme" attribute

And androidjs b -f returns the same

from androidjs.

Chhekur avatar Chhekur commented on July 3, 2024

@Chhekur same "total required" error after removing the "theme" attribute

And androidjs b -f returns the same

Try to build again,
This error occurs when it tries to download core from internet but got the payload of size 0.

So try again and make sure internet is working

from androidjs.

cesoun avatar cesoun commented on July 3, 2024

The only way around any of these errors for me was to elevate the permission with sudo otherwise the build would fail every time.

Might be worth checking if the user ran the command with elevated permissions. Assuming -f will always throw the 'total required' error if not elevated as well.

from androidjs.

atmoner avatar atmoner commented on July 3, 2024

@cesoun Not really secure, never do this! You don't know what other packages will be installed ...
@Chhekur Regarding the departure problem, it is still not resolved !!

atmo@atmo: ~-Bureau-nodeDroid-nodeDroid_177

Oook! I went back to the problem, as I said above, it is trying to load a file that does not exist !!
My error is this line in androidjs-builder, when i trye to debug var stylesXML, I see it trying to load an xml file into the folder (/home/atmo/.androidjs/) but folder androidjs-sdk/ does not exist!!
atmo@atmo: ~-Bureau-nodeDroid-nodeDroid_178

So, where i can download androidjs-sdk?!

Edit:
androidjs-sdk downloader, problem solved !! Everything works very well

from androidjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.