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

Base64 not found - Android API level 26

Open
#60 1 comment 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.