想将android.content.res.TypedArray#getDrawable hook住,但是编译报错

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

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

評価

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

調査の方向性

The issue concerns hooking android.content.res.TypedArray#getDrawable and getDrawableForDensity, but does not identify a source file or test. Start by checking the project’s hook entry points and how it handles Android APIs annotated as hidden; determine whether either method can be hooked and explain the compilation error. Done means a reproducible answer or fix, but the issue has had no recent response.

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

説明

请教下,我最开始hook的是 public Drawable getDrawableForDensity(@StyleableRes int index, int density) ,报错说找不到,我发现有hide注解,然后我看getDrawable没有hide注解,想转调下,但是也报错找不到,想问下,这个能被hook吗

11

主要言語
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 を短くまとめたダイジェスト。