mobile-dev-inc / mobile-dev-inc/dadb

java.io.FileNotFoundException: .android/adbkey (No such file or directory)

Open
#85 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.