Ios-moe.gradle can't compile: "cannot resolve symbol 'File'"

Hi,

I’m getting this error inside the ios-moe.gradle file created by libgdx setup, in lines:

for (File libFile : fileCollection) {
proguard = new File(“proguard.append.cfg”)

In my project’s gradle file i have these:

dependencies {
classpath ‘com.android.tools.build:gradle:3.1.3’
classpath ‘org.multi-os-engine:moe-gradle:1.4.0’
}
ext {
gdxVersion = ‘1.9.9-SNAPSHOT’
sqliteVersion = ‘3.21.0.1’
}

I already tried with several other gradle versions but nothing fixes this compilation error.

Any help is greatly appreciated.

guich

Please ignore. I found that even with the errors, a new build works fine.

Yeah that’s an IDE bug. It has trouble analysing complex gradle scripts.