Giter Club home page Giter Club logo

kmm-integration-sample's People

Contributors

danil-pavlov avatar katerinapetrova avatar ludeknovy avatar terrakok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kmm-integration-sample's Issues

Make final branch the default

Currently the master branch is the default, so when folks search for this repo, they don't see any KMM code. Of course the README explains to look in the final branch, but if you make this branch the default, your sample will be more accessible.

need support for Xcode 15

Task :shared:linkDebugFrameworkIosX64 FAILED
ld: unknown options: -ios_simulator_version_min -sdk_version

ld comes with Xcode 15(15A240d) do not recognize options:
-ios_simulator_version_min
-sdk_version

Cannot build the project in Xcode

I get this error when I try to build the SimpleLoginIOS project in Xcode:

<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Command PhaseScriptExecution failed with a nonzero exit code

Here are some details:
Gradle 7.x requires Java 11.
So I had to specify Java 11 in Android Studio preferences > Build, Execution, Deployment > Build Tools > Gradle

Can the problem be related to the fact that Java 11 doesn't support the extensions mechanism?
Or is there another reason behind the error?

Thank you

Build Error with a clean new Project

Hey, i'm getting started with KMM. I tried different approaches in creating a new KMM Project but i'm unable to run any of it. My last approach is with the help of Android Studio. I created a clean Project but it crashes with this exception:

* What went wrong: Task 'embedAndSignAppleFrameworkForXcode' not found in project ':shared'.

Im working on a Mac mini with the new M1 Chip.

Get value from Result.Error in swift

ContentView.swift:

func login(username: String, password: String) {
if let result = loginRepository.login(username: username, password: password) as? ResultSuccess {
print("Successful login. Welcome, (result.data.displayName)")
} else {
print("Error while logging in")
}
}

login DataSource:

class LoginDataSource {
fun login(username: String, password: String): Result<LoggedInUser> { try { // TODO: handle loggedInUser authentication val fakeUser = LoggedInUser(randomUUID(), "Jane Doe") return Result.Success(fakeUser) } catch (e: Throwable) { return Result.Error(RuntimeException("Error logging in", e)) } }
fun logout() { // TODO: revoke authentication }}

how to get RuntimeException message if Result not success from ContentView.swift?

Task linkDebugFrameworkIosX64 Failed

Following the documentation from here I am getting an error on linkDebugFramewokrIosX64 task. The log is:

Task :shared:linkDebugFrameworkIosX64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:

kotlin.native.cacheKind.iosX64=none

Also, consider filing an issue with full Gradle log here: https://kotl.in/issue
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin//libclang_rt.ios.a, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin//libclang_rt.ios.a (4 slices)
Undefined symbols for architecture x86_64:
"___cpu_model", referenced from:
polyHash_x86(int, unsigned short const*) in libstdlib-cache.a(result.o)
ld: symbol(s) not found for architecture x86_64

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':shared:linkDebugFrameworkIosX64'.

Compilation finished with errors

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 14s
2 actionable tasks: 2 executed

It happens with code from "final" branch too. Any help would be appreciated

No more issues in KMM Login Sample

Hi,

This may help some folks bcz I'd struggle to solve a couple of problems while compiling/running the project in iOS. Please check:

  1. Verify JDK version and update gradle home (in gradle.properties) java path as:
    org.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
    and set cacheKind as:
    kotlin.native.cacheKind.iosX64=none

  2. Verify Gradle distribution URL, for me:
    distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip

  3. Verify you are at least using kotlin_version (project build.gradle):
    ext.kotlin_version = "1.5.31"

  4. Update shared project build.gradle to add iosSimulatorArm64 as(inside kotlin {..} block):
    iosSimulatorArm64("ios") {
    binaries {
    framework {
    baseName = "shared"
    }
    }
    }

Please update Thread if more changes are required in the future.

Provide official sample code to work with Kotlin Coroutines

Just like in any other project, Kotlin core devs overlooked the major issue - Kotlin Coroutines.

It would be really nice to see what approach should be used to properly execute and cancel tasks/jobs started through Kotlin Coroutines and how they should be handled from Swift.

The problem I can see here is, whenever core team is unable to resolve something they leave it out or ask the dev to complete that task as a home assignment. This is the exact reason this sample lack example using Kotlin Couroutines

IME_ACTION_DONE is possible with empty credential fields

If you go into the password field and hit done with keyboard you are logged in...

Possible solution:

setOnEditorActionListener { _, actionId, _ ->
                when {
                    actionId == EditorInfo.IME_ACTION_DONE && login.isEnabled -> {
                        loginViewModel.login(
                            email.text.toString(),
                            password.text.toString()
                        )
                    }
                }
                false
            }

Unable to build gradle project

I am importing this project into Android Studio. Gradle build fails with this error:

A problem occurred configuring root project 'Simple Login'.
Could not resolve all artifacts for configuration ':classpath'.
Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.20/kotlin-gradle-plugin-1.4.20.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :
Could not find com.google.flatbuffers:flatbuffers-java:1.12.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/flatbuffers/flatbuffers-java/1.12.0/flatbuffers-java-1.12.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/tensorflow/tensorflow-lite-metadata/0.1.0-rc2/tensorflow-lite-metadata-0.1.0-rc2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.31/kotlin-stdlib-jdk8-1.4.31.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aaptcompiler:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:gradle-api:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:builder-model:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:manifest-merger:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.analytics-library:tracker:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1 > com.android.tools.lint:lint-model:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1 > com.android.tools.analytics-library:shared:27.2.1
Could not find org.ow2.asm:asm:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm/7.0/asm-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:gradle-api:4.2.1
Could not find org.ow2.asm:asm-analysis:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-analysis/7.0/asm-analysis-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find org.ow2.asm:asm-commons:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find org.ow2.asm:asm-util:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find net.sf.jopt-simple:jopt-simple:4.9.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find net.sf.proguard:proguard-gradle:6.0.3.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find com.squareup:javapoet:1.10.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/squareup/javapoet/1.10.0/javapoet-1.10.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
Could not find com.google.protobuf:protobuf-java:3.10.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aapt2-proto:4.2.1-7147631
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.ddms:ddmlib:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.analytics-library:protos:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.analytics-library:tracker:27.2.1
Could not find com.google.protobuf:protobuf-java-util:3.10.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find com.google.crypto.tink:tink:1.3.0-rc2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not find com.squareup:javawriter:2.5.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find org.bouncycastle:bcpkix-jdk15on:1.56.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:apkzlib:4.2.1
Could not find org.bouncycastle:bcprov-jdk15on:1.56.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:apkzlib:4.2.1
Could not find org.ow2.asm:asm-tree:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-tree/7.0/asm-tree-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find javax.inject:javax.inject:1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/javax/inject/javax.inject/1/javax.inject-1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
Could not find it.unimi.dsi:fastutil:8.4.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/it/unimi/dsi/fastutil/8.4.0/fastutil-8.4.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find com.googlecode.json-simple:json-simple:1.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
Could not find com.google.guava:guava:28.1-jre.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aaptcompiler:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.analytics-library:crash:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:gradle-api:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.analytics-library:tracker:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1 > com.android.tools.analytics-library:shared:27.2.1
Could not find org.apache.httpcomponents:httpmime:4.5.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.analytics-library:crash:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1
Could not find org.apache.httpcomponents:httpcore:4.4.10.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.analytics-library:crash:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1
Could not find org.apache.httpcomponents:httpclient:4.5.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.analytics-library:crash:27.2.1
Could not find org.jetbrains.kotlin:kotlin-reflect:1.4.31.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-reflect/1.4.31/kotlin-reflect-1.4.31.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
Could not find org.antlr:antlr4:4.5.3.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
Could not find commons-io:commons-io:2.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
Could not find com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
Could not find com.google.code.gson:gson:2.8.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:manifest-merger:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1 > com.android.tools.analytics-library:shared:27.2.1
Could not find org.glassfish.jaxb:jaxb-runtime:2.3.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/glassfish/jaxb/jaxb-runtime/2.3.2/jaxb-runtime-2.3.2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
Could not find com.google.auto.value:auto-value-annotations:1.6.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/auto/value/auto-value-annotations/1.6.2/auto-value-annotations-1.6.2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.errorprone:error_prone_annotations:2.3.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/errorprone/error_prone_annotations/2.3.1/error_prone_annotations-2.3.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.guava:guava:28.1-jre.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.protobuf:protobuf-java:3.10.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/protobuf/protobuf-java/3.10.0/protobuf-java-3.10.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.protobuf:protobuf-java-util:3.10.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/protobuf/protobuf-java-util/3.10.0/protobuf-java-util-3.10.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.dagger:dagger:2.28.3.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/dagger/dagger/2.28.3/dagger-2.28.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:bundletool:1.1.0
Could not find com.google.code.gson:gson:2.8.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09
Could not find org.jetbrains.kotlin:kotlin-stdlib:1.3.60.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.3.60/kotlin-stdlib-1.3.60.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
Could not find org.ow2.asm:asm:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm/7.0/asm-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
Could not find org.ow2.asm:asm-util:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-util/7.0/asm-util-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
Could not find org.ow2.asm:asm-commons:7.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
Could not find org.jdom:jdom2:2.0.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
Could not find org.apache.commons:commons-compress:1.12.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
Could not find org.jetbrains.intellij.deps:trove4j:1.0.20181211.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/intellij/deps/trove4j/1.0.20181211/trove4j-1.0.20181211.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
Could not find xerces:xercesImpl:2.12.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/xerces/xercesImpl/2.12.0/xercesImpl-2.12.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
Could not find net.sf.kxml:kxml2:2.3.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:manifest-merger:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.ddms:ddmlib:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aaptcompiler:4.2.1 > com.android.tools.layoutlib:layoutlib-api:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1 > com.android.tools.lint:lint-model:27.2.1
Could not find com.google.code.findbugs:jsr305:1.3.9.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:apkzlib:4.2.1
Could not find com.google.guava:guava:28.1-jre.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/guava/guava/28.1-jre/guava-28.1-jre.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:apkzlib:4.2.1
Could not find org.jetbrains:annotations:13.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/annotations/13.0/annotations-13.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aaptcompiler:4.2.1 > com.android.tools.layoutlib:layoutlib-api:27.2.1
Could not find com.sun.activation:javax.activation:1.2.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
Could not find com.google.jimfs:jimfs:1.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
Could not find net.java.dev.jna:jna-platform:5.6.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/net/java/dev/jna/jna-platform/5.6.0/jna-platform-5.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1 > com.android.tools.analytics-library:shared:27.2.1

Possible solution:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.