mobile-dev-inc / mobile-dev-inc/dadb
java.io.FileNotFoundException: .android/adbkey (No such file or directory)
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Trying to connect directly to a device (Android 7) gives me the following error:
java.io.FileNotFoundException: .android/adbkey (No such file or directory)
The documentation on the front page of the repo says it should fallback to create key pairs automatically but the error above was an exception so I guess it doesn't reach to do that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the front-page documentation describing automatic key-pair creation, then reproduce a direct connection to an Android 7 device without an existing .android/adbkey. Trace why the missing key reaches FileNotFoundException; done when the documented fallback creates the key pair and the connection proceeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100