urucas / adbjs Goto Github PK
View Code? Open in Web Editor NEWUse adb from node
License: MIT License
Use adb from node
License: MIT License
Found in adb-tcp-quick module
Urucas/adb-tcp-quick#1
/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/node_modules/adbjs/bin/adbjs:113
throw new Error(" " + child.stderr);
^
Error: error: protocol fault (couldn't read status): Undefined error: 0
at ADB.deviceInfo (/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/node_modules/adbjs/bin/adbjs:113:17)
at ADB.devices (/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/node_modules/adbjs/bin/adbjs:61:36)
at devices (/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/dist/index.js:26:21)
at Object.disconnectUI (/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/dist/index.js:37:18)
at Object.<anonymous> (/Users/vruno/.nvm/versions/io.js/v1.3.0/lib/node_modules/adb-tcp-quick-connect/bin/cli:15:16)
at Module._compile (module.js:444:26)
at Object.Module._extensions..js (module.js:462:10)
at Module.load (module.js:339:32)
at Function.Module._load (module.js:294:12)
at Function.Module.runMain (module.js:485:10)
If devices are disconnected and you run for ex. ADB.listPackages()
an exception will be raise. A quick solution is to call ADB.devices()
before any adb command that requires a phone to be connected.
ADB has a lot of methods, info and features to access and control your android device. I'm building this module by the needs on other projects. If anyone need any other method, feature that's not yet implemented, i'm open to comments and pull requests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.