Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

ClassNotFoundException for Gson and Joda #2

Description

@erayerdin

According to the project's build file, gson and joda-time is already included.

However, if I only include CacheLib, I get the error below

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.GsonBuilder" on path: DexPathList[[zip file "/data/app/foo.bar.baz-G4Zk4FIQSWiDXJEaqDt4mQ==/base.apk"],nativeLibraryDirectories=[/data/app/foo.bar.baz-G4Zk4FIQSWiDXJEaqDt4mQ==/lib/arm, /system/lib, /vendor/lib]]

However, I include the libraries manually and it works:

implementation 'com.google.code.gson:gson:2.8.5'
implementation 'joda-time:joda-time:2.10.2'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions