Giter Club home page Giter Club logo

Comments (6)

ryanbourdais avatar ryanbourdais commented on August 19, 2024

Hi @szymonrybczak it seems like you are running this test with a 2 year old machine 2021.10.1, have you tried updating this machine? Also, has this test only begun failing when you made the switch to [email protected] or is this entirely new behavior?

from android-orb.

szymonrybczak avatar szymonrybczak commented on August 19, 2024

Hello @ryanbourdais, thanks for answering! 🙌 Yeah that's true, I switched to 2023.07.1 that is currently latest version and the emulators are now booting really fast :) PS. For me that was very confusing that in the docs you're using old machine, I just copy and paste from docs. Maybe you can somehow dynamically update this?

I have one more question, after this change there is a problem with JDK. Based on that post I can see that there's already installed JDK 17, so why there is problem with finding java executable? I tired setting environment variables (see here, Set environment variables step), but it isn't really working on new machine (on old machine it was working perfectly). Do you have any ideas how I can solve this issue? 🙏

from android-orb.

ryanbourdais avatar ryanbourdais commented on August 19, 2024

Hi @szymonrybczak it seems that before you run Build app it seems that you are updating the java version to 17 on the fly using update-alternatives. Java 17 is already the default on that image so this step may be causing issues with the java installation. So I believe that just removing this step may fix this issue. In the future, if you do need to change java versions we provide a command in this orb for changing java versions named change-java-versions.

from android-orb.

szymonrybczak avatar szymonrybczak commented on August 19, 2024

So already I tried without these update-alternative lines, see here - it also unfortunately fails :(

from android-orb.

ryanbourdais avatar ryanbourdais commented on August 19, 2024

Hi @szymonrybczak I ssh'd into a build of my own and I havent seen any issue with the java installation. I did notice this line which leads me to believe that your build requires java 11. You can you try using the change-java-versions to change to java 11 and see if this issue still affects you. Otherwise I would go to this page and open a support request.

from android-orb.

szymonrybczak avatar szymonrybczak commented on August 19, 2024

Yeah, so I tried with Java 11, and as I though the build requires Java 17. Even invoking change-java-versions doesn't properly set the java executable for this build. Anyway thank you for help!

from android-orb.

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.