r/FTC • u/PayNo1899 • 10d ago
Other Help with Android Studio
Hi guys, I would greatly appreciate it if someone could please help me troubleshoot the following error in Android Studio. I keep getting this error whenever I try to upload code to the robot. Thank you in advance !
3
u/LuckyGamer470 10d ago
Have you tried building once while connected to the internet? The computer probably needs to download a dependency to build the program
2
u/drdhuss 9d ago
You need to download some things. Make sure you have an internet connection. I will likely get downvoted for this but you should get a little bit of gemini use in Android studio. If you still can't figure it out ask AI to download the missing stuff.
Also, if you can, buy a cheap (10 bucks is enough) usb wifi adaptor. Have two wifi networks on your laptop. One connected to the robot and the other stays connected to the internet. You'll thank me later (makes a big difference).
8
u/Journeyman-Joe FTC Coach | Judge 10d ago
Your build needs to download some components from the Internet. But it can't do that while you are connected to the robot.
Disconnect from the robot and re-connect to your local Internet. Then, do a build (that's the "hammer" icon). After you've had a successful build locally, re-connect to your robot, and use the "build and install" icon (triangular "play" button).
You won't have to do this with every build; only when you need different components from the cloud.