I am trying to create my android project using ant (it works fine in eclipse). I run an error with the following line with a build error:
BUILD FAILED .../android_sdks/tools/ant/build.xml:680: The following error occurred while executing this line: .../android_sdks/tools/ant/build.xml:693: Compile failed; see the compiler error output for details.
There are many errors in the java compilation above, all of which cannot find symbol errors. Most of these characters are variables added to the R file. And some of them are project classes.
I installed the build environment using:
android update project
My tools and platform_tools are all updated and I am running on Android-7. I updated the project, checked the cleanliness of the project, and even restarted eclipse.
I am new to ant and would appreciate any advice.
The result of the assembly failure (on request, I apologize for the formatting problems):
MacBook-Pro: [company] _Android $ ant clean debugBuild file: [android_path] /build.xml
-check-env: [checkenv] Android SDK Tools Revision 20 [checkenv] Installed at [path]/android_sdks -setup: [echo] Project Name: SplashActivity [gettype] Project Type: Application [echo] Switching between debug and non debug build: Deleting previous compilation output... [delete] Deleting directory [android_path]/bin/classes -pre-clean: clean: [delete] Deleting directory [android_path]/bin [delete] Deleting directory [android_path]/gen [getlibpath] Library dependencies: [getlibpath] No Libraries [subant] No sub-builds to iterate on
STRICTLY FAULT [path] /android_sdks/tools/ant/build.xml:680: The following error occurred while executing this line: [path] / android_sdks / tools / ant / build.xml: 693: compile compilation; see compiler error output for details.
Total time: 6 seconds
source share