Comments (4)
Hi @kelvintaywl , can you explain what you were doing when this issue arose? Can you also attach a link to a build that shows this issue to confirm?
from android-orb.
Hi @kelvintaywl the /tmp/gradle_cache_seed
should be generated by restore-gradle-cache
. start-emulator-and-run-tests
should call save-gradle-cache
by default, but it also calls start-emulator
which, in turn, calls restore-gradle-cache
, generating the /tmp/gradle_cache_seed
file. The restore-gradle-cache
command has two conditions that need to be met to execute in the start-emulator
command, but by default it should run. So the /tmp/gradle_cache_seed
file should always be generated unless explicitly prevented by the user. Do you have any instances of this that I can use to get a bettter understanding of this issue?
from android-orb.
hi @ryanbourdais thanks for the explanation!
I understand indeed then that the hardcoded value there is assumed that the job using this save-gradle-cache
command will also use the Orb's restore-gradle-cache
then.
My earlier ask was since i did not notice the start-emulator
command explicitly calls restore-gradle-cache
!
android-orb/src/commands/start-emulator.yml
Line 174 in cbdf150
We can close this issue i believe! Thanks for the explanation 🙏
Although I would also like to know why the save-gradle-cache
command is also not included in start-emulator
but outside of it?
from android-orb.
hi @kelvintaywl I will close this issue and move onto this issue I believe that save-gradle-cache is separate so that users can choose whether they want to save the cache or not, as restore will just return exit code 0 if there is no cache to restore.
from android-orb.
Related Issues (20)
- `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
- Using newer version of Android SDK causes emulator booting for too long HOT 6
- 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
- NDK path is not correct
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.