Comments (4)
Hi breezedong,
Seems that DroidBot thought there was no online device, that is, the
adb devices
command returns no usable device. I suggest trying to insert some print or check statements around line 54 of adb.py first (e.g., print r) to confirm that the device list is not empty.
from droidbot.
I guess it is due to Windows encoding issues.
DroidBot uses split('\n')
to split the command line output. However, Windows separates lines with "\r\n".
Please try the latest commit.
By the way, maybe we need some tests on Windows. @yzygitzh
from droidbot.
Hello,ylimit and yzygitzh, I came to another problem as follow:
`E:\PaperWorkplace\droidbot>droidbot -d 07059e20d0085630 -a dae5b93d99fe9d6d80d647a8a6dbbaf1.apk -env none -event utg_dynamic
INFO:Device:waiting for device
INFO:ADB:adb successfully initiated, the device is 07059e20d0085630
WARNING:Device:Cannot connect to telnet.
Traceback (most recent call last):
File "D:\Program Files\Python2.7\Scripts\droidbot-script.py", line 9, in
load_entry_point('droidbot', 'console_scripts', 'droidbot')()
File "e:\paperworkplace\droidbot\droidbot\droidbot\start.py", line 76, in main
quiet=opts.quiet)
File "e:\paperworkplace\droidbot\droidbot\droidbot\droidbot.py", line 49, in init
self.device = Device(device_serial, output_dir=self.output_dir)
File "e:\paperworkplace\droidbot\droidbot\droidbot\device.py", line 60, in init
self.connect()
File "e:\paperworkplace\droidbot\droidbot\droidbot\device.py", line 157, in connect
self.get_view_client()
File "e:\paperworkplace\droidbot\droidbot\droidbot\device.py", line 217, in get_view_client
from adapter.viewclient import ViewClient
File "e:\paperworkplace\droidbot\droidbot\droidbot\adapter\viewclient.py", line 980, in
from com.dtmilano.android import viewclient
ImportError: No module named com.dtmilano.android`
from droidbot.
I removed the import line, please try the lastest commit.
Please start a new issue as it is not related to the current one.
from droidbot.
Related Issues (20)
- Automate third-party sign-in functionality found in android apps HOT 2
- Quotation marks being inserted around username and password fields HOT 2
- How do I know what exactly Droidbot did to the phone at any given time? HOT 13
- Support for .XAPK
- Is there a way to stop Droidbot from generating the "Force Stop" operation HOT 2
- droidbot_ime is failing to write text which contains space HOT 4
- [Internship] Recruiting part-time interns to maintain this project. HOT 1
- “No such file or directory” error on Android 13 HOT 2
- Has TOLLER been integrated with DroidBot ? HOT 1
- DroidBot + ChatGPT for easier GUI automation
- Android versions supported by DroidBot HOT 6
- Error on Android 4.1 HOT 2
- Close automatically. HOT 1
- [Feature] Add support to Android 12L (API Level 32) HOT 1
- how to gather coverage while running droidbot? HOT 1
- Droidbot doesn't support Android API level >=32.
- Can't load tokenizer for 'bert-base-multilingual-cased'
- cv mode issue HOT 1
- ModuleNotFoundError: No module named 'start' HOT 2
- Can't run the code in Android 14 with API 34
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 droidbot.