Announcement

Collapse
No announcement yet.

Android Studio Installs Robot Controller App with Lower Wifi Protocol Version

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

  • Android Studio Installs Robot Controller App with Lower Wifi Protocol Version



    Hello!


    Our team is having trouble installing the APK file on the Robot Controller phone. Both the phones are ZTE Speed phones. We downloaded the updates from GitHub for each phone, but each time we try to run the code on Android Studio, we receive the following error:


    Application Installation Failed


    Installation failed with message INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES.

    It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.


    WARNING: Uninstalling will remove the application data!


    Do you want to uninstall the existing application?


    OK and Cancel are the two options. If you hit OK, it uninstalls the Robot Controller, and installs one with a lower Wifi Protocol Version. Also, the following error comes up:


    Error: Incompatible apps: Robot COntroller=v112 vs Driver Station v121


    Just to be clear, the issue is not with the phone apps.They have the same Wifi Protocol Version (v121) when they are installed off GitHub. The error occurs when installing the APK.


    Also, the FtcRobotController Android Manifest is updated. Not sure if this fact helps.


    Thank you!

  • #2
    Just to be clear, the Incompatible apps error comes up on the phones after pressing OK.

    Comment


    • #3
      You aren't using the new 4.0 SDK in Android Studio.

      Comment


      • #4
        The issue is that you are installing the App created by Android Studio, over top of the App you downloaded from the App store, or built with a different PC.

        The digital signatures of these two apps are slightly different (just because of where they were built) so Android Studio is just warning you that it will have to remove the existing copy to install the new one.

        This is perfectly OK. You should just answer "OK"

        (Or you can do it yourself by simply removing the Google Play version from the RC phone).

        Note: Each sesaon, you should probably uninstall the old RC app anyway, just to clear out any old junk.

        Phil.

        Comment


        • #5
          After reading your post again, I see the question about Protocol versions.

          The Version 4.x apps should BOTH be using v121.

          You say:
          They have the same Wifi Protocol Version (v121) when they are installed off GitHub. The error occurs when installing the APK.

          I'm not sure I understand the distinction. What do you mean by Installed off github vs installing the APK. These both come from Github.
          Are you saying that if the APK file (from the docs/apk folder) is used, you get a protocol error?

          Phil.

          Comment


          • #6
            The issue is resolved. Thank you for your help!

            Comment

            Working...
            X