Giter Site home page Giter Site logo

Comments (13)

arky avatar arky commented on June 23, 2024

$ cat local.mk
ANDROID_SDK="$ANDROID_SDK"
ANDROID_NDK="$ANDROID_NDK"
WIDGET_BACKEND=gonk

from b2g.

arky avatar arky commented on June 23, 2024

Workaround

$ cat local.mk
ANDROID_SDK="/opt/android-sdk-linux"
ANDROID_NDK="/opt/android-ndk-r7"
WIDGET_BACKEND=gonk

from b2g.

jlebar avatar jlebar commented on June 23, 2024

Try

 ANDROID_SDK="${ANDROID_SDK}"

? I bet something like that is your problem.

from b2g.

michaelwu avatar michaelwu commented on June 23, 2024

Which backend are you building? If you're building gonk as WIDGET_BACKEND=gonk suggests, ANDROID_?DK variables shouldn't matter at all and shouldn't even be listed. Are you using the right mozconfig?

from b2g.

benfrancis avatar benfrancis commented on June 23, 2024

Oh, do you not need ANDROID_SDK and ANDROID_NDK set to build gonk? That might be my fault as I added them in the INSTALL file because I thought it failed for me when they weren't set.

Can someone confirm that the Gonk back end will build without those variables being set? (it makes sense that this should work)

from b2g.

michaelwu avatar michaelwu commented on June 23, 2024

Gonk never used them in the first place.

from b2g.

arky avatar arky commented on June 23, 2024

I was just following the INSTALL file, building the qemu for starter. In that case the INSTALL file needs to be update with the proper information.

from b2g.

jlebar avatar jlebar commented on June 23, 2024

Does qemu even work right now?

from b2g.

arky avatar arky commented on June 23, 2024

@jlebar

Using ANDROID_SDK="${ANDROID_SDK}" fails for recursive reference error.
local.mk:1: *** Recursive variable `ANDROID_SDK' references itself (eventually). Stop.

Currently qemu build fails with XML error.

AndroidManifest.xml:54: error: Error parsing XML: mismatched tag
make[7]: *** [R.java] Error 1
make[6]: *** [libs] Error 2
make[5]: *** [libs_tier_platform] Error 2
make[4]: *** [tier_platform] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
make: *** [gecko] Error 2

from b2g.

jlebar avatar jlebar commented on June 23, 2024

Can you please just put an absolute path in there?

from b2g.

arky avatar arky commented on June 23, 2024

Absolute path works, see my comment above. Looks like we need to update the docs and the make files.

from b2g.

jlebar avatar jlebar commented on June 23, 2024

Pull requests are welcome.

from b2g.

arky avatar arky commented on June 23, 2024

Of course, waiting for finishing my first successful B2G build !

from b2g.

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.