Внутри Gridbox находится файл res/values/gridboxAttrs.xml , который содержит (в сокращении):
Код: Выделить всё
Код: Выделить всё
center
1
1
1dip
Код: Выделить всё
ERROR: /Users/falk/MyProject/MyApp/build/intermediates/packaged_res/debug/packageDebugResources/values/values.xml:372:5-384:11: AAPT: error: style attribute 'attr/layout_weightx (aka org.efalk.myapp.test:attr/layout_weightx)' not found.
Код: Выделить всё
dependencies {
implementation project(':Gridbox')
}
Код: Выделить всё
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "MyProject"
include ':Gridbox'
include ':MyApp'
Подробнее здесь: https://stackoverflow.com/questions/784 ... ent-module
Мобильная версия