Comments (4)
Ok, I think I got it.
- adbd is the daemon part running on my board,
- and Jadb & adb server needs to be run in my host.
Jadb tried to connect to adb server which does not run on my board, hence the connection refused.
Thanks
from jadb.
Here is the source code associated with the code
`
InetSocketAddress addr = new InetSocketAddress("ip",5555);
JadbConnection jadbConnection = new JadbConnection();
try {
jadbConnection.connectToTcpDevice(addr);
} catch (IOException e) {
e.printStackTrace();
} catch (JadbException e) {
e.printStackTrace();
} catch (ConnectionToRemoteDeviceException e) {
e.printStackTrace();
}`
from jadb.
JADB is adb client, not server.
You still need ADB server in the middle as far as I understand the question
< Android Device > <---> < ADB server > <--> < JADB >
from jadb.
Actually adb server and jadb may run on different hosts (it is possible with some hacks)
from jadb.
Related Issues (20)
- ECONNREFUSED on Android HOT 5
- Is "adb forward tcp:80 tcp:80" supported? HOT 1
- Android 10, exception in PackageManager.forceInstall(...)
- Quoting is insufficient HOT 1
- executeShell only executes command when input i HOT 2
- .executeShell doesn't work with large commands and multiple arguments HOT 2
- Could you make a new release, please? HOT 3
- Last modified time isn't propagated to the device properly when pushing HOT 1
- SELinux is blocking apk install from /sdcard/* HOT 1
- Trying to connect android with android HOT 3
- execute command not working with mutated vowels (german umlaute) HOT 6
- Provide deterministic module name for Java 9 module support HOT 4
- iOS version for this library or similar HOT 4
- RemoteFile.getPath() doesn't work as intended? HOT 1
- Do I need to manually close any connections or devices? HOT 2
- How does the server module work? HOT 1
- screencap not pulling and working HOT 1
- Is it possible to support exec-out ? HOT 1
- Dependency 'com.github.vidstige:jadb:v1.2.1' not found HOT 4
- device state change offline HOT 1
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 jadb.