I create a simple project and then I right-click on the project and then I use the make mudole app option. Now I have two build.gradle folders: 1-
make mudole app
build.gradle
The issue for me was that andorid-versionCode can only be integer value. in build.xml:
eg:android-versionCode="1"
It cannot be "1.1" etc... The error code is not helpful at all.