Android-Build Failed

Lime 7.7.0
Hxcpp 4.1.1
OpenFl 8.9.6
gradle 5.6.3 (deleted all gradle 2.1.0 files)
JDK 8


Thanks!

Found it in Lime AndroidPlatform.hx, but i still didn’t know why Lime still picks gradle 2.1.0 for building

context.ANDROID_GRADLE_VERSION = project.config.getString("android.gradle-version", "5.6.3");
context.ANDROID_GRADLE_PLUGIN = project.config.getString("android.gradle-plugin", "3.5.1"); 

Any thoughts?

Edit all your haxe extensions that have gradle.build files!

> buildscript {
> 	repositories {
> 		jcenter()
> 		google()
> 	}
> 	dependencies {
> 		classpath 'com.android.tools.build:gradle:3.5.1'
> 		
> 		// NOTE: Do not place your application dependencies here; they belong
> 		// in the individual module build.gradle files
> 	}
> }
1 Like