ankidroid / ankidroid/Anki-Android-Backend

can't compile ankidroid using local_backend

Offen
#671 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Kotlin
Sterne
91
Forks
54
Ø Merge
1 T. 36 Min.
Gemergte PRs (30 T.)
12

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.