FIRST-Tech-Challenge / SkyStone

FTC SDK
https://www.firstinspires.org/robotics/ftc/what-is-first-tech-challenge
275 stars 1.04k forks source link

Pre-built v5.4 APK is broken #199

Open Windwoes opened 4 years ago

Windwoes commented 4 years ago

Trying to install the pre-built v5.4 APK results in the following error:

Screenshot_20200115-112128

cmacfarl commented 4 years ago

Yes. This is called keeping up with the Googles.

The manner in which the release tooling signs the apk is no longer supported by Google. And this slipped through the cracks. Expect a replacement soon.

WestsideRobotics commented 4 years ago

. For the pre-release v5.4 FTC SDK, an APK file generated by pressing the Run button (green arrow) in AS is currently designated as a 'test only' version.

To install the APK with the adb tool, add the -t argument to allow installing test versions. For example: adb install -r -t "FtcDriverStation-debug.apk"

For side-loading, generate the APK using the Make Project button (little green hammer) in AS. This is a slightly different version without the 'test only' designation, and can be freely side-loaded.

Full credit to @ftctechnh who discovered this. .

Windwoes commented 4 years ago

@WestsideRobotics I'm fully aware of all that, and I personally don't use the pre-built APK, just pointing out there is an issue for those who do :)

cmacfarl commented 4 years ago

Deploying from a workspace built by Android Studio has always deployed an unsigned debug version.

And of course, one can always side-load the locally built APKs. The issue at hand is for those who use only Blocks or OnBot Java and have no Android Studio seat to do the installation from.