mobile-dev-inc / mobile-dev-inc/dadb
Base64 not found - Android API level 26
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
error:
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Base64;
Looks like java.util.Base64 is only available on Android starting with API level 26. On older Android versions we'd need to use android.util.Base64
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 by locating the java.util.Base64 usage in the Kotlin/Java library and review how Android API levels below 26 handle the reported class. Verify the behavior on an older Android version; done means Base64 operations no longer fail with NoClassDefFoundError below API level 26.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100