Im trying to generate ant buildfiles. But Im getting an error
"The build class path order of the source directories of project library is not correct. Exported Ant buildfile will not compile your sources correctly until you swap the order of these directories: gen<->src"
Im creating from eclipse using file-> export -> Ant -buildfile
When I try to build from the command line, I get:
$ ant debug Buildfile: /build.xml BUILD FAILED Target "debug" does not exist in the project "com.Grupp01.gymapp.MainActivity".
Screen capture errors and eclipses: 
source share