Seems klaxon 5.0.1 been removed on jcenter???
Refer to https://mvnrepository.com/artifact/com.beust/klaxon?repo=jcenter
You can try edit the template/build.gradle.kts
and template/settings.gradle.kts
inside the android-template.zip
, on macOS was locate in /Applications/Corona-3708/Native/Corona/android/resource/android-template.zip
, and zip it back, do a Android build.
template/build.gradle.kts:
buildscript {
repositories {
google()
- jcenter()
+ mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21")
classpath("com.android.tools.build:gradle:8.5.1")
- classpath("com.beust:klaxon:5.0.1")
+ classpath("com.beust:klaxon:5.6")
}
}
allprojects {
repositories {
google()
- jcenter()
+ mavenCentral()
// maven(url = "https:// some custom repo")
val nativeDir = if (System.getProperty("os.name").toLowerCase().contains("windows")) {
System.getenv("CORONA_ROOT")
template/settings.gradle.kts:
buildscript {
repositories {
google()
- jcenter()
+ mavenCentral()
}
dependencies {
- classpath("com.beust:klaxon:5.0.1")
+ classpath("com.beust:klaxon:5.6")
}
}