Skip to content

Unable to sync gradle with local_backend=true on windows #670

@iamllama

Description

@iamllama

When trying to sync gradle (or performing a fresh build) while having local_backend=true in Android Studio on win10, I get the following error:

Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=rsdroid-release.aar, variant=local file, variantName=null, artifactFile=C:\Users\User\AndroidStudioProjects\Anki-Android\Anki-Android-Backend\rsdroid\build\outputs\aar\rsdroid-release.aar, isTestFixturesArtifact=false, extractedFolder=null, publishedLintJar=null, dependencyType=ANDROID, isWrappedModule=false)

This is despite having both Anki-Android and Anki-Android-Backend in the AndroidStudioProjects folder and having successfully built Anki-Android-Backend

A workaround i've found is to set local_backend=false, sync gradle, and then set it to true before running/debugging the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions