question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when building with Android Canary14?

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
takahiromcommented, Apr 9, 2021

Thank you for your advice! I’m trying to fix it below. https://github.com/DroidKaigi/conference-app-2021/pull/408

1reaction
myihsancommented, Apr 8, 2021

Here is my thought.

There is no feature named GRADLE_METADATA

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") from settings.gradle?

Could not find io.ktor:ktor-client-ios

Missing Dep.Ktor.bom in iosMain.dependencies?

Unable to resolve the reference in iOS code.

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😇

oss-licenses-plugin and crashlytics throwing errors during build

https://github.com/google/play-services-plugins/issues/172

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found