Home Features Docs Blog Support GitHub

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

(Guilherme Campos Hazan) #1


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 = ‘’

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

Any help is greatly appreciated.


(Guilherme Campos Hazan) #2

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.