In Android, when click some class or functions always didn't find declaration to go
オープン
まだ誰も着手していません。
Needs: Attention
Needs: Repro
Platform: Android
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
Steps to reproduce
In Android, when I click some class or functions always cannnot find declaration to go.This problem only occurs in React-native project.
React Native Version
0.83.1
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
System:
OS: macOS 15.7.4
CPU: (11) x64 Apple M3 Pro
Memory: 38.25 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 23.5.0
path: /usr/local/bin/node
Yarn:
version: 1.22.22
path: /usr/local/bin/yarn
npm:
version: 10.9.2
path: /usr/local/bin/npm
Watchman:
version: 2025.04.28.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.2
- iOS 26.2
- macOS 26.2
- tvOS 26.2
- visionOS 26.2
- watchOS 26.2
Android SDK:
API Levels:
- "35"
- "36"
- "36"
Build Tools:
- 35.0.0
- 36.0.0
System Images:
- android-36.1 | Google Play ARM 64 v8a
- android-36.1 | Pre-Release 16 KB Page Size Google Play ARM 64 v8a
- android-36.1 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
- android-36 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2025.3 AI-253.31033.145.2533.15113396
Xcode:
version: 26.2/17C52
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.1.0
wanted: 20.1.0
react:
installed: 19.2.3
wanted: 19.2.3
react-native:
installed: 0.83.1
wanted: 0.83.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
no error, Anroid project can build normally, but when i edit codes and click some class or function in studio,it alway prompts that " Cannot find declaration to go ".
MANDATORY Reproducer
just init a react-native project
Screenshots and Videos
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルやテストは指定されていません。まず、React Native 0.83.1 と Android Studio を使用する初期化直後のプロジェクトで問題を再現し、その後、Android Studio が ReactActivity やその他の React Native クラスの宣言をどのように解決するかを調査してください。影響を受けるプロジェクトで宣言へのナビゲーションが確実に機能し、関連するサブシステムが対応している場合は、回帰テストまたは再現手順の文書化が行われていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native
- 領域
- developer-experience, mobile-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 38/100