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


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 ‘’
classpath ‘org.multi-os-engine:moe-gradle:1.4.0’
ext {
gdxVersion = ‘1.9.9-SNAPSHOT’
sqliteVersion = ‘’

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

Any help is greatly appreciated.


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.