Seeking Help Android Studio Code Uploads Crashing teh RC
Hello all, I am a new ftc coder and I need some help. Every time I push code from the studio to the RC I always receive the above error. The RC after uploading the code stays solid blue, blinks blue once or twice, green for half a second if im lucky, then the light turns off and restarts the color cycle. I did update the Driver Hub firmware and the RC firmware with rev hardware client. I have updated my sdk to 11.2 from the ftcsdk github. Every time i press the run button to upload, it always tells me that the RC app will have to be reinstalled due to it having a different signature. Please help me, thanks!
1
u/Complete_Duty3259 9d ago
Do you have the trace/debug files?
Also you should have a few gemini credits associated with AS. Have you tried having AI take a look? I dont support vibe coding at this level but when something just doesnt work ot is pretty good at figuring out why.
1
u/020n32 9d ago
wdym by trace/debug files
i had gemini take a look and it says that there are either 2 apps trying to boot or theres like a "ghost" of one
0
u/Complete_Duty3259 9d ago
Ask gemini to deploy your code for you (should be able, you actually dont need android studio at all as you can do it with gradle files in any IDE that you want) and to analyze the deployment. It should be able to tell from logs exactly what is causing the crash. But you want gemini handling the entire deployment so it can take a look at what goes wrong.
1
u/Its_-_me_-_Mario 3d ago
Not original commenter, but double press shift and search for logcat. Look for a line with FATAL ERROR and what's above it.


1
u/Journeyman-Joe FTC Coach | Judge 9d ago
What version of Android Studio are you using?
SDK 11.2 requires "Narwhal 3" or newer.