Comments (6)
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.
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.
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.
So already I tried without these update-alternative
lines, see here - it also unfortunately fails :(
from android-orb.
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.
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)
- ANDROID_NDK_HOME not correct
- Save-grade-cache command fails when /tmp/gradle_cache_seed file does not exists. HOT 4
- `find` Error when using restore-gradle-cache command from v2.1.1
- Restore Gradle Cache Test HOT 6
- `wait-for-emulator` hangs on Android API Level 31 HOT 4
- How can attach screenshots of ui test executions with android/start-emulator-and-run-tests command? HOT 8
- Add adb pull destination folder HOT 1
- Passing environment variables to `start-emulator-and-run-tests` arguments causes job to fail as of 2.1.1 HOT 5
- How to run "adb shell settings put secure long_press_timeout 2000" before execution of test HOT 3
- fastlane-deploy command does not exist HOT 4
- Trying to create AVD in the background results in failure HOT 2
- Options "no-output-timeout" not being used by run-tests command HOT 1
- android/create-google-play-key does not print contents of the environment variable to JSON file HOT 1
- Java 17 is not being set to the environment HOT 3
- pre-test-command gets error `environment: line 8: mvn: command not found` HOT 5
- Android Gradle plugin requires Java 17 to run. You are currently using Java 11. HOT 2
- cgroup changed for latest orb version? HOT 3
- Latest Orb Does Not Work HOT 1
- Job rejected because resource class doesn't exist for android-machine with latest orb version HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-orb.