mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
3bb5e6c6a8
resolveAndroidApp treated any input containing a dot as a package name, which caused APK file paths (e.g. /path/to/app-debug.apk) to flow through as appId into runtime hints, failing with a misleading "app not debuggable" diagnosis. Android package names never contain slashes, so exclude paths with '/' from the dot-based package heuristic. Also differentiate probe failures in writeAndroidDevPrefs: check isAndroidRunAsDeniedOutput on the probe result so connectivity/transport errors are not misattributed to debuggability. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>