Error when building with Android Canary14?
See original GitHub issueIs there any problem in your environment?
Kind (Required)
- Other
Overview (Required)
My environment macOS Big Sur 11.2.1 KMM Plugin 0.2.3(203-1.4.32-357-IJ)-52
- It seems to be caused by the version of Android Gradle Plugin.
AS Canary 12 AGP 7.0.0-alpha12 |
AS Canary 13 AGP 7.0.0-alpha13 |
AS Canary 13 AGP 7.0.0-alpha14 |
AS Canary 14 AGP 7.0.0-alpha14 |
---|---|---|---|
No problem👍 | - Could not find io.ktor:ktor-client-ios - Unable to resolve the reference in iOS code. |
- Could not find io.ktor:ktor-client-ios - Unable to resolve the reference in iOS code. - There is no feature named GRADLE_METADATA - oss-licenses-plugin and crashlytics throwing errors during build |
- Could not find io.ktor:ktor-client-ios - Unable to resolve the reference in iOS code. - There is no feature named GRADLE_METADATA - oss-licenses-plugin and crashlytics throwing errors during build |
Links
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Android Studio 3.2 Canary 14 error - Stack Overflow
anyone tried the new Canary build of Android studio with Navigation Editor? It does not want to run with GitHub viewer sample from...
Read more >[Solved]-Android Studio 3.2 Canary 14 error-kotlin
If you have the test dependency androidTestImplementation "android.arch.navigation:navigation-testing:$nav_version" try removing it. Then do Invalidate caches ...
Read more >Errors in layout XML show up in generated files when build fails
When data binding is enabled and there is an error in an layout XML file ... Can you try Android Studio 3.2.0 canary...
Read more >Android Studio 4.2 Canary 14 available : r/androiddev - Reddit
FAILURE: Build failed with an exception. * What went wrong: org/jetbrains/kotlin/cli/common/PropertiesKt > org.jetbrains.kotlin.cli.common.
Read more >Android Studio 4.2 Canary 14 available
For details of bugs fixed in each preview release, see previous entries on this blog. We greatly appreciate your bug reports, which help...
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
Thank you for your advice! I’m trying to fix it below. https://github.com/DroidKaigi/conference-app-2021/pull/408
Here is my thought.
https://docs.gradle.org/7.0-rc-1/release-notes.html It seems like this flag is removed and it has been inactive since 6.0. So we may just remove
enableFeaturePreview("GRADLE_METADATA")
fromsettings.gradle
?Missing
Dep.Ktor.bom
iniosMain.dependencies
?https://github.com/DroidKaigi/conference-app-2021/blob/e5c8f2542f517acdd16ccc0f79e991742d561d2d/data/api/build.gradle#L23-L28
Will be solved after resolving Firebase auth dependencies?
After handling the issues above, the project sync successfully and the references in iosMain are resolved. However, I can’t verify my thought since the issue below block builds😇
https://github.com/google/play-services-plugins/issues/172