ankidroid / ankidroid/Anki-Android-Backend

can't compile ankidroid using local_backend

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

Description

trying to compile ankidroid with `local_backend=true`:
```
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libanki:bundleDebugAar'.
> Error while evaluating property 'hasLocalAarDeps' of task ':libanki:bundleDebugAar'.
> Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :libanki project caused this error: /home/jake/code/Anki-Android-Backend/rsdroid/build/outputs/aar/rsdroid-release.aar
```

using a local maven repo solves this

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.