Comments (7)
@AdamIshay could you solve this issue on your system?
from android_env.
Hello @AdamIshay, could you check the locations of the Android Emulator, SDK and its associated tools (adb
etc)? They're usually on your home directory, but it looks like you're passing /path/Android/Sdk/emulator/emulator
which normally doesn't seem like a valid path. Please see https://github.com/deepmind/android_env/blob/main/docs/emulator_guide.md#ready-to-use and https://github.com/deepmind/android_env/blob/main/docs/instructions.md#create-the-environment.
from android_env.
@kenjitoyama thanks for your input. so "../Android/Sdk/emulator/emulator" is not the correct path? Got this same path from https://github.com/deepmind/android_env/blob/main/docs/instructions.md#create-the-environment
from android_env.
Hello @ouya99, normally the emulator is installed in the home directory, so using a relative path is probably not right as the working directory of the binary may change depending on the script location. It's better to use an absolute path.
from android_env.
python3 run_random_agent.py --avd_name='Pixel_XL_API_30' --android_avd_home='/home/username/.android/avd' --android_sdk_root=/home/username/Android/Sdk/ --emulator_path=/home/username/Android/Sdk/emulator/emulator --adb_path=/home/username/Android/Sdk/platform-tools/adb --num_steps=1000 --task_path=/home/username/Dev/android_env/examples/pong_default.textproto
@kenjitoyama this code solves the issue mentioned here. I think @AdamIshay had missed the error message stating that a directory (avd or sdk) had not been found. Yet now I am getting another error
E0622 00:49:36.111660 140665491404608 adb_controller.py:202] self._adb_shell.before: b"adb server version (39) doesn't match this client (41); killing...\r\n* daemon started successfully\r\nadb: device 'emulator-15414' not found\r\n" E0622 00:49:36.111877 140665491404608 adb_controller.py:203] Could not start ADB shell. Try 1 of 20.
from android_env.
@kenjitoyama ok, got it working after fixing adb version mismatch (hint: just remove the global adb installation, one is enough)
Thank you. You might close the issue
from android_env.
@ouya99 cool, thanks for confirming. I'll close the issue for now given that the OP was probably using the wrong path to the required files.
from android_env.
Related Issues (20)
- Issue with running the enviroment on new ubuntu devie HOT 5
- Crash on "run_random_agent.py" HOT 1
- Unable to run random agent HOT 3
- About launching android env with home screen HOT 3
- Cannot run "run_random_agent.py" HOT 8
- Crash on "run_acme_agent.py" HOT 13
- Running on Docker HOT 2
- Guide to deploy it on Android devices HOT 6
- Compatibility Error when using rich logging handler HOT 6
- 1V1 environmnet HOT 2
- Cannot run "run_random_agent.py" HOT 8
- launching multiple ends HOT 4
- Error connecting to simulator: "Missing the \'authorization\' header with security credentials" HOT 4
- Blocked after running loader.load HOT 5
- AndroidEnv quits because of an unexpected keyword argument 'use_poll' HOT 4
- .textproto log_regexp syntax HOT 2
- Migrate example Acme agents from TF to JAX
- Old problems in master HOT 1
- Extras not always returned . ( in case of floodit_basic). HOT 1
- Incompatible with Python3.10 HOT 2
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_env.