Skip to content

Having trouble synching gradle when implementing PebbleKitAndroid2 #7

@jstevensog

Description

@jstevensog

I am using Android Studio 2022.3.1 Patch 3 which is sued by the xDrip+ developers.
When I implementation("com.github.pebble-dev.PebbleKitAndroid2:client-java:4acc0485a1") instead of implementation 'com.getpebble:pebblekit:4.0.1', I get an error:
Null extracted folder for artifact: ResolvedArtifact(
componentIdentifier=com.github.pebble-dev.PebbleKitAndroid2:client-java:4acc0485a1,
variant=com.github.pebble-dev.PebbleKitAndroid2:client-java:4acc0485a1variant releaseVariantReleaseApiPublication,
variantName=null,
artifactFile=C:\Users\jstev.gradle\caches\modules-2\files-2.1\com.github.pebble-dev.PebbleKitAndroid2\client-java\4acc0485a1\3cc34b06e3d58151f20be7c6ca5c736c8a4ef21b\client-java-5e7b8e3.aar,
isTestFixturesArtifact=false,
extractedFolder=null,
publishedLintJar=null,
dependencyType=ANDROID, isWrappedModule=false,
buildMapping={current_build=C:\Users\jstev\StudioProjects\xDrip-plus}
)

I have inbvalidated the caches etc to no avail. The files are in the Gradle cache ready to go, but Android Studio appears not to be able to extract client-java-4acc0485a1.aar
Any advice on how to resolve this would be appreciated. I have not looked at xDrip+ code for 10 years, and am limited to this version of Android Studio to develop new Pebble integrations and resolve other issues for all the new Pebble models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions