Issue: EasyLauncherConfig with name not found
See original GitHub issueI’m facing following issue when trying to setup the plugin for any buildType:
EasyLauncherConfig with name ‘debug’ not found.
My configuration in app/build.grade
android {
// ...
buildTypes {
getByName("debug") {
// ...
}
}
// ...
}
easylauncher {
buildTypes {
getByName("debug") {
chromeLike()
}
}
}
Why is this not working? I’m not 100% familiar with kts so there is a good chance that I’m missing something.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
android - EasyLauncherConfig with name 'debug' not found
I found the solution. Instead of using getByName(...) I used register(...) easylauncher { buildTypes{ register("debug") { filters( ...
Read more >Easylauncher gradle plugin for Android - GitHub
Providing Icon Names. By default, the plugin automatically discovers launcher icon and applies provided filters. Custom icon names, useful i.e. when defining ...
Read more >Different Ways to Fix "Configuration with name 'default' not ...
How To Solve 'Configuration with name 'default' not found'? Method 1. Step 1: Open your app's gradle file. Step 2: Look for the...
Read more >Configure build variants | Android Developers
This page shows you how you can configure build variants to create different versions of your app from a single project and how...
Read more >Gradle Plugins - Easylauncher - The Android Arsenal
Warning: please not that easylauncher doesn't yet support vector drawables. Please feel free to contribute a PR solving the issue ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was about to post that as well but once again you were faster than me. 😉
You’re right:
filters(chromeLike())
is the correct call.Everything works perfectly now. Thanks again for your help. Maybe I’ll add a *.kts sample to the project. 😉
Unfortunately I can’t verify that right now, but one of:
or
filters = chromeLike()
, orsetFilters(chromeLike()
, orsetFilters(listOf(chromeLike())
should work 🤞If you’re using Android Studio you should have an autocomplete suggestion on how to set the filters (it worked for me when fixing kts support https://github.com/usefulness/easylauncher-gradle-plugin/pull/60)