Tools use the root's protobuf_java, which can be too old for aapt2-proto
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- build-system
調査の方向性
Start in src/tools/java/com/google/devtools/build/android/BUILD and find the ResourceProcessorBusyBox target plus the two others that depend on @com_google_protobuf//:protobuf_java. Check how the aapt2-proto classes from @rules_android_maven get their GeneratedMessageV3 dependency. Done means those deps point at @rules_android_maven//:com_google_protobuf_protobuf_java and the tools build and run. The maintainer has not yet confirmed this change, so check with them before opening a PR.
索引モデルが issue の本文から書いたものです。
説明
In src/tools/java/com/google/devtools/build/android/BUILD, ResourceProcessorBusyBox and two other targets depend on @com_google_protobuf//:protobuf_java, i.e. whatever protobuf the root module picks. The prebuilt aapt2-proto classes from @rules_android_maven need GeneratedMessageV3, so a root on an older protobuf (4.27) gets a protobuf-java without it and the tools fail at runtime.
Pointing those deps at @rules_android_maven//:com_google_protobuf_protobuf_java (already resolved, 4.28.2) fixes it for us. Same on main and 0.7.3.
Would you take a PR making that the default? Not sure if anything compiled against @com_google_protobuf in the tools would then mismatch, so asking first.
- 主要言語
- Java
- スター
- 205
- フォーク
- 113
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bazelbuild/rules_android のほかの issue
-
build_java8_legacy_dex.sh does not set JAVA_RUNFILES for the d8/r8 launchers対応中かも @TrapsterDK が 17 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
bazelbuild/rules_android#599 ·
メンテナーはふだん 6 日以内に返信
-
`Desugar` actions don't run on multiplex workers対応中かも @lukaciko が 46 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bazelbuild/rules_android#539 · コメント 2 件 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bazelbuild/rules_android#535 · リアクション 2 件 ·
メンテナーはふだん 6 日以内に返信
-
desugar_globals output is not reproducible (zip entry order varies)対応中かも @TrapsterDK が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
bazelbuild/rules_android#610 ·
メンテナーはふだん 6 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
bazelbuild/rules_android#598 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
bazelbuild/rules_android の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Lincoln-cn/JAiRouter#1473 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
exercism/java-analyzer#379 ·
-
area: ui bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
tetsuji16/microProject#1893 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
liberation-data/fornax4j#325 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: FE and Kinesis extraction pipes render flow starting at the centre and scroll the source arm backwards対応中かも @chonkzillaofficial が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
BCCE-team/BuildCraft#85 ·