FIRST-Tech-Challenge / FIRST-Tech-Challenge/FtcRobotController

Build optimizations to significantly reduce APK size

Open
#797 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.3k
Forks
9.9k
Avg merge
18m
Merged PRs (30d)
1

Description

~~There are no FTC-legal `armeabi-v7a` (aka `arm32`) devices~~, and EasyOpenCV has supported `arm64-v8a` just fine for years now. Disabling the build of `armeabi-v7a` on SDK 10.3 cuts the APK size from ~48.8MB to ~40.3MB.

~~To disable `armeabi-v7a`, just replace both instances of `abiFilters "armeabi-v7a", "arm64-v8a"` with `abiFilters "arm64-v8a"` in [build.common.gradle](https://github.com/FIRST-Tech-Challenge/FtcRobotController/blob/master/build.common.gradle).~~

EDIT: See https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/797#issuecomment-3232804195 for the proper way to make the APKs smaller without breaking the SDK for teams using older RC phones.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.