I have just created template Libgdx project (Core,Android,Windows). Core is regular Java project library. There is a dependency in Core to XStream.jar library. Core contains fil
You need to fix your
compile fileTree(dir: 'libs', include: '*.jar')
line. If your libs folder is in core project's folder, add above line to
project(":core") {...
dependencies {....
compile fileTree(dir: 'libs', include: '*.jar')
}
}
part of your build.gradle file. And add below line to your Android project's part in the build.gradle file.
project(":android") {...
dependencies {....
compile fileTree(dir: '../libs', include: '*.jar')
}
}
Android must have this line but it is not necessary for other projects.