-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide to deploy it on Android devices #19
Comments
Hello @dubeyabhijeet! We do not officially support running AndroidEnv on real devices at the moment. Cheers, Daniel |
Understood ! Thanks a lot.... Right now you are controlling it from PC to emulator. If i used real devices then performance will be trade off [PC to real devices]. What about deploy it through apk in phone? Like i use app traversal and on each screen use android_env to decide on actions to take? Like ndroid_env in wrapped in traversal apk and deployed on phone. |
Yes, it's possible but at the moment there's no good way to do so. There are no APIs to fetch screenshots and execute actions from within Android, and that would also probably require root access, which is a security issue. |
Got it ! Understood. Thanks a lot Daniel :) |
Hi Daniel, What i see we need to add logs in apps source code. I have two queries:
|
Hello @dubeyabhijeet!
You can run anything you want in the emulator, but rewards are only available if something is shown in the log stream and captured by a regex.
We haven't trained explicitly for YouTube, it was just an example. However, we did train agents on apps for which we don't have the source code such as the Clock or System Settings by reusing accessibility events. Please see https://github.com/deepmind/android_env/blob/main/docs/example_tasks.md#accessibility-forwarder. At one point, we also extracted rewards from view hierarchies, but they're much slower to get (it needs a slow Cheers, Daniel |
Launching AndroidEnv with real devices is possible, but it depends a lot on the actual setup. We won't have an easy plug-and-play solution in the near term, so I'll close this bug. |
Hi ,
I want to use it on real devices not on emulator.
Can you help me guide how to do it?
Regards,
Abhijeet
The text was updated successfully, but these errors were encountered: