Giter Site home page Giter Site logo

Comments (2)

yzygitzh avatar yzygitzh commented on July 4, 2024

Hi,
You can go to settings->accessibility and enable DroidBot app in it.

Regards,
Ziyue Yang

from droidbot.

jyotigajrani avatar jyotigajrani commented on July 4, 2024

Thanks...It worked..
After this I get following error on terminal in continuation and could not see start of exploration....

`
[CONNECTION] Logcat is enabled and connected.
[CONNECTION] TelnetConsole is not enabled.
[CONNECTION] DroidBotIme is enabled and connected.
[CONNECTION] UserInputMonitor is enabled and connected.
[CONNECTION] ADB is enabled and connected.
[CONNECTION] ProcessMonitor is enabled and connected.
[CONNECTION] DroidBotAppConn is enabled and connected.
[CONNECTION] Minicap is not enabled.

Traceback (most recent call last):
File "/home/jyoti/droidbot/device.py", line 803, in get_current_state
views = self.get_views()
File "/home/jyoti/droidbot/device.py", line 874, in get_views
views = self.droidbot_app.get_views()
File "/home/jyoti/droidbot/adapter/droidbot_app.py", line 244, in get_views
view_tree['parent'] = -1
TypeError: 'unicode' object does not support item assignment
WARNING:Device:Failed to get current state!
WARNING:UtgGreedySearchPolicy:exception during sending events: 'NoneType' object has no attribute 'state_str'`

I use this command for testing:
droidbot -a /home/jyoti/VoiceNotify.apk -o /home/jyoti/droidbotres/ -is_emulator
My python version is 2.7.6.
and PATH variable contains path to android-platforms...

Please suggest how can I get rid of this error.

Thanks

from droidbot.

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.