Connect Android Things based Raspberry Pi 3 to wifi network for the first time

0 votes
So, I have my Raspberry Pi 3 running on the Android Things. But unfortunately, despite having the Pi 3B+, I still can't get it to connect with any WiFi network so far. Please help!
I have also been running the Android Debug Bridge Utility, but I still don't get any response at all.  I've started to worry about equipment trouble, please advice.
Jul 19, 2018 in IoT (Internet of Things) by Bharani
• 4,660 points
1,158 views

1 answer to this question.

0 votes

Hey, I think its alright! 

Your Raspberry Pi does not appear in the adb devices util because your Pi isn't a USB device per say. The micro-USB connection is only a source of power in the Raspberry Pi.
And, If you're connecting a WiFi network for the first time, you'll have to be connected to Ethernet. I know that sucks, but that's how it works for now.
And, after you're connected to Ethernet, you can use then use the adb connect to use Wifi and connect wirelessly to networks.
And, in the Android Things you can only connect through adb using adb-over-ip address. This is the CLI command for it: 

adb connect `<raspberry-pi-ip-address>`

Now, if you're Pi is running headed, then you can find its IP address on the Android Things launcher screen.
And if it's headless, you can just ping Android.local and let Bonjour get it for you from the mDNS service records. You could also get some other third-party software tool to do it for you as well. You check for them here: https://learn.pimoroni.com/tutorial/raspberry-pi/finding-your-raspberry-pi

P.S. - Connecting to a WiFi network for the first time without an Ethernet connection could actually be done, but it's just a work-around I've figured and might be a hassle. You could check this out if want to know: https://bit.ly/2zOU08F

answered Jul 19, 2018 by nirvana
• 3,130 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

How to connect Raspberry Pi and lighting the LED?

You might want to try instead to ...READ MORE

answered Jul 23, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
664 views
0 votes
1 answer

What is the time taken by a 200 byte message for transmission in a beacon-enabled network?

Now, data rates of IEEE 802.15.4 are ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
888 views
0 votes
1 answer

Running two processes on Raspberry Pi at the same time

I see no reason why it shouldn't ...READ MORE

answered Aug 28, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
2,003 views
0 votes
1 answer

Restrict Android Internet usage to WiFi without Internet Access

You can check if wifi is connected ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,745 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Setting-up a RFID RC522 chip in Raspberry Pi?

First, let me congratulate you on buying ...READ MORE

answered Jul 10, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,686 views
0 votes
1 answer
0 votes
1 answer

Sending more than 8 byte through UART on Raspberry Pi using Android Things!

So, you can send 234212441325454543595674859764 in ASCII, ...READ MORE

answered Aug 25, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,303 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP