NoSuchFieldException in EntryRenderer
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- android, csharp
- 領域
- mobile-dev
調査の方向性
XF.Material/Platforms/Android/Renderers/Internals/MaterialEntryRenderer.cs の 74 行目から開始し、Android のターゲット API >= 29 で失敗を再現します。関連する Uno issue で提案されている解決策と比較し、その後、例外が発生しなくなったことを確認します。また、提供されている MaterialLabel の再現でカーソルの色の変更が引き続き機能するか確認します。
索引モデルが issue の本文から書いたものです。
説明
🐛 Bug Report
When building an Android app targetting API 29 or higher, MaterialEntryRenderer fails to get the mCursorDrawableRes field from android.widget.TextView, as it has been blacklisted.
I guess it also break the cursor colour change, but I haven't tested that.
I found this issue here with the exact same problem, and a proposed solution.
Expected behavior
The code should not throw a NoSuchFieldException here.
Reproduction steps
Create a project with a MaterialLabel, and the Android target API >= 29. Then run it in debug mode (I am using Rider). An exception should be caught by the debugger.
Configuration
Version: 1.8.0
Platform:
- 📱 iOS
- 🤖 Android
- 🏁 WPF
- 🌎 UWP
- 🍎 MacOS
- 📺 tvOS
- 🐒 Xamarin.Forms
- 主要言語
- C#
- スター
- 633
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Baseflow/XF-Material-Library のほかの issue
-
.Net Maui Supportオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Baseflow/XF-Material-Library#458 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
Baseflow/XF-Material-Library#457 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Baseflow/XF-Material-Library#454 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 58/100
Baseflow/XF-Material-Library#453 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Baseflow/XF-Material-Library#451 · リアクション 3 件 ·
Baseflow/XF-Material-Library の issue をすべて見る
似ている issue
-
area-ai untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
dotnet/extensions#7790 ·
メンテナーはふだん 1 日以内に返信
-
P2 testing
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
area-Infrastructure-coreclr os-ios os-maccatalyst os-tvos untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/runtime#134766 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
0 - Backlog Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
BrighterCommand/Brighter#4444 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信