Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Pre-built v5.4 APK is broken #199

Open
Windwoes opened this issue Jan 15, 2020 · 4 comments
Open

Pre-built v5.4 APK is broken #199

Windwoes opened this issue Jan 15, 2020 · 4 comments

Comments

@Windwoes
Copy link
Member

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

Screenshot_20200115-112128

@cmacfarl
Copy link
Member

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
Copy link

.
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
Copy link
Member Author

@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
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants