Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

play-services-oss-licenses:17.4.0 increases app size by 4MB compared to 17.3.0

オープン
#362 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android

調査の方向性

app/build.gradle の依存関係と、buildscript 内の OSS Licenses Gradle プラグインから始めます。minification と resource shrinking を有効にした状態で、play-services-oss-licenses 17.3.0 と 17.4.0 の release APK/AAB のサイズ比較を再現します。~4 MB の増加の原因を特定し、release artifact に原因不明のリグレッションがなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
Upgrading com.google.android.gms:play-services-oss-licenses from 17.3.0 to 17.4.0 increases the final app size by ~4 MB, even though the library only provides a simple OSS licenses Activity. The project already enables minification and resource shrinking in release builds, yet the size increase remains. The dependency is declared in app/build.gradle, and the OSS Licenses Gradle plugin is applied in the buildscript.

To Reproduce
Steps to reproduce the behavior:

  1. In app/build.gradle, set the dependency to com.google.android.gms:play-services-oss-licenses:17.3.0.
  2. Build a release APK/AAB (with minify + shrink resources enabled).
  3. Record the output size.
  4. Change the dependency to com.google.android.gms:play-services-oss-licenses:17.4.0.
  5. Rebuild the release APK/AAB.
  6. Compare sizes — the app increases by ~4 MB.

Expected behavior
Updating the OSS licenses library should not inflate the final app size by ~4 MB for a simple visual UI update. Either the size impact should be minimal, or the OSS data should be more shrinkable in release builds. (Project already uses resource/code shrinking.)

Desktop:

  • Gradle version: com.android.tools.build:gradle:9.0.0
  • Android Studio version: Android Studio Otter 3 Feature Drop | 2025.2.3
  • Plugin name and version: OSS Licenses Gradle plugin 0.10.10.
  • Library dependency: play-services-oss-licenses 17.4.0 (current).

Additional context
The project already enables minifyEnabled true and shrinkResources true for release builds, so the size regression appears to come from non‑shrinkable resources bundled in the library rather than unused code or resources.

主要言語
Kotlin
スター
526
フォーク
170
平均マージ
1日 7時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/play-services-plugins のほかの issue

google/play-services-plugins の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。