我正在使用easylaucher库Easylaucher库在应用程序图标上添加一个带状。我使用的是kotlin,但是当我应用简单的laucher配置时,它抛出了EasyLauncherConfig with name 'debug' not found.,这里是我的配置
plugins {
id("kotlin-android")
id(BuildPlugins.androidApplication)
id("com.starter.easylauncher") version "5.1.2"
}
android {
//...
}
dependencies {
//...
}
easylauncher {
buildTypes{
getByName("debug") {
filters(
customRibbon(label = "Debug", ribbonColor = "#FF0000")
)
}
getByName("release") {
filters(
customRibbon(label = "BETA", ribbonColor = "#F18357")
)
}
}
}有谁有好的解决办法吗?
https://stackoverflow.com/questions/74362531
复制相似问题