Код: Выделить всё
android.add_aars = hands/hands.aar
Я также могу видеть их в проекте класса, скопированных в libs/hands.aar
Однако сборка не удается:
, однако сборка не удается:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':checkDebugAarMetadata'.
[DEBUG]: > Could not resolve all files for configuration ':debugRuntimeClasspath'.
[DEBUG]: > Could not find :hands:.
[DEBUG]: Required by:
[DEBUG]: project :
< /code>
Я заглянул в файл build.gradle и увидел проекты раздела AllProjects, которые выглядят так: < /p>
allprojects {
repositories {
google()
jcenter()
}
}
< /code>
Я обнаружил, что добавление разделения Flatdir ниже решает проблему: < /p>
allprojects {
repositories {
google()
jcenter()
flatDir {
dirs 'libs' // Add this line to define the flat directory repository
}
}
}
< /code>
Как я могу добавить репозиторий в этот дикт через Buildozer? Поскольку build.gradle генерируется при работе с Buildozer.
Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/797 ... the-projec
Мобильная версия