Announcement

Collapse

Technology Forum Has Moved!

The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.

The official blog of the FIRST Tech Challenge - a STEM robotics programs for students grades 7-12.


Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less

SDK 3.1 Robot Controller app cannot find Rev Expansion Hub

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SDK 3.1 Robot Controller app cannot find Rev Expansion Hub

    When I download the controller app from the app store it works fine. It finds the Rev Expansion hub and lets me make a configuration. But when I build the app in Android Studio it cannot find any USB devices.

    If I try activating a configuration on the phone that was set up with the app store app, I get the following error:

    unable to create robot:Robot failed to start:Attempt to invoke interface method 'boolean.com.qualcomm.robotcore.hardware.configura tion.ConfigurationType.isDeviceFlavor(com.qualcomm .robotcore.hardware.configuration.UserConfiguratio nType$Flavor)' on a null object reference

    Any suggestions?

  • #2
    Turns out to be the "Instant Run" problem. Instant Run needs to be disabled Android Studio in File->Settings->Build, Execution, Deployment->Instant Run

    Comment


    • #3
      Thanks train_depot , we had the same problem with our first test of the new controller and this corrections solved it instantly: https://youtu.be/K7jF0Er6kGI

      Michael P Clark
      Founding Mentor, FTC 9958
      http://www.redfishrobotics.com
      "We're Hooked on FIRST"

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎