ankidroid / ankidroid/Anki-Android-Backend

Unable to sync gradle with `local_backend=true` on windows

Open
#670 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
91
Forks
54
Avg merge
1d 36m
Merged PRs (30d)
12

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.