Actually, you’re probably right. Regardless of the error details, it can probably be solved by updating the extension for Gradle.
Basically, you want to rearrange the dependencies/android/ directory to look like this.
- Delete
build.xmlandproject.properties. - Create a
src/folder. Inside, create amain/folder. Inside, create ajava/folder. - Move
libs/intosrc/. - Move the code files into
src/main/java/. This is the root folder for Java code, so it should contain folders likecom/andorg/. - Move everything else into
src/main/. - Add
build.gradleat the top level (meaning insidedependencies/android/). - In
build.gradle, get rid of “if (1 == 1)” and the eight extra colons. (There should be only three colons beforeANDROID_GRADLE_PLUGINand only two after.)
It’s been a while since I’ve done this, but I think that covers everything.
