ShadowActivity中缺少方法: getThemeResId

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, java
領域
mobile

調査の方向性

Start by tracing how ShadowActivity represents or exposes theme resource IDs and inspect the SDK call site shown in the attached image. The issue asks where to add getThemeResId, but does not identify the relevant source file or define the expected behavior; confirm the correct class and compatibility requirements with maintainers before changing code. Done means plugin packaging succeeds with this SDK and the method is available to QuinoxInstrumentation.

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

説明

插件引入了某个SDK,打包插件时失败,原因是:
Class com.tencent.shadow.core.runtime.ShadowActivity中缺少方法:
getThemeResId:()I被这些类调用了:
com.alipay.mobile.quinox.activity.QuinoxInstrumentation

问题:
请问应该在哪个类添加 getThemeResId 方法?
下图是SDK中用到getThemeResId的地方
image

主要言語
Java
スター
7.8k
フォーク
1.3k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Tencent/Shadow のほかの issue

Tencent/Shadow の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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