Android Question raspberry pi3 B4A adb connection

kalarius

Active Member
Licensed User
Longtime User
hi,
I have a raspberry pi 3 and I have install at the sd card the android thinks ver 8.1.0 api level 27
I have enable the wifi and i got the address 192.168.10.98

I try to connect with the ADB connect 192.168.10.98:5555 but it refers that the device refuse the connection

is there any suggestion how can I connect to raspberry with wifi or I must use the usb connection
with adb connect android.local ?

I want to use the andoid thinks with B4A

Kalarakis
 

kalarius

Active Member
Licensed User
Longtime User
I run the adb from this directory BUT is says
unable to connect to android.local:5555 cannot resolve host 'Android.local' and port 5555

I can ping the 192.168.10.98 (wifi) and 192.168.10.95 (ethrnet) on raspberry pi 3

also withe adb connect 192.168.10.98:5555 return error 10061
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
I have 2 computers one with windows 10 and one with windows 7 pro (firewalls are disable)
Both are connect direct to the switch
none of them can connect to raspberry
All the tutorials that i found says that adb connect android.local And it is ok
but not for my raspberry

what version of android things do you have?
may be at my version the debug option is disabled
I read some pdfs that says that I must turn on the debug on the setting BUT how can I do it?

**************** -s this option is not recognized by my ADB
at the c:program files(x86)........\platform-tools>adb connect -s Android.local
return
Usage: adb connect <host>[:port>]

with adb -s android.local

it scroll up the help screen of the adb


the adb version is 1.0.36
the raspberry pi is 8.0.1 platform 27
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
[:port>]

i did not know why it shows these faces at the previous message
I write [port>] and it shows the face
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
I receive the pi 3 model b at 1/may/18 and i want to try it (the gpio) since now I work with arduino 256
I have an old ver 7 image and I try it
thank
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
I download an older version 8/2017 and with this I CONNECTED (from command line)
yes it conneted
I try now to connect from B4A ver 8.0
but at the bottom write try to connect .....
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
Final I connect and I download to raspberry an example

the problem was that I download a version from google think that has the debug option disabled.
finaly I find a program ( reading the instruction at the android things webpages )
this programm it download the version 8.0 with userdebug option enabled
the name of the file is
android-things-setup-utility-windows.exe
it is 2MB zip file and I cannot upload here

this programm download the image and install it to the sd card
version 8.0
api ver 27

*** I connect to the raspberry from B4A direct (as erel says at previous message "not use the tools >Ba briadge>connect")
when I try to download the programm it shows me a screen with the devices that are connected (raspberry and my phone) to choose the device to download.
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
****I leave this messages because somebody may be need them

to download the programm from B4A the adb server must run and conneected to device

I run the adb manager from a dos windows
(the raspberry expose its name as android.local but my dns does not support it)
So
I execute the cmd command and I open a dos window
I go to the f:\android\platform-tools (this is the path of the adb.exe program)
and run the
adb connect 192.168.10.95 (this is the wifi IP of raspberry)

I leave the window open
I run the b4a
 
Upvote 0
Top