Quote:
Originally Posted by kammerer
I added build.xml
|
Did not work for me with this build.xml. Does not even try to compile code, fails with resources compilation. Maybe I should bite a bullet and install eclipse...
Code:
/e/dev/Android/orion-viewer> ant debug -f "build.xml"
Buildfile: /e/dev/Android/orion-viewer/build.xml
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
Gathering info for orion_viewer...
Android SDK Tools Revision 16
Project Target: Android 2.2
API level: 8
------------------
Resolving library dependencies:
No library dependencies.
------------------
WARNING: Attribute minSdkVersion in AndroidManifest.xml (3) is lower than the project target API level (8)
-build-setup:
Creating output directories if needed...
-pre-build:
-code-gen:
----------
Handling aidl files...
No AIDL files to compile.
----------
Handling RenderScript files...
No RenderScript files to compile.
----------
Handling Resources...
Generating resource IDs...
/e/dev/Android/orion-viewer/res/layout/nook_file_manager.xml:40: error: No resource identifier found for attribute 'always_landscape' in package 'universe.constellation.orion.viewer'
/e/dev/Android/orion-viewer/res/layout/nook_file_manager.xml:46: error: No resource identifier found for attribute 'always_landscape' in package 'universe.constellation.orion.viewer'
/e/dev/Android/orion-viewer/res/layout/nook_help.xml:24: error: No resource identifier found for attribute 'always_landscape' in package 'universe.constellation.orion.viewer'
/e/dev/Android/orion-viewer/res/layout/nook_help.xml:30: error: No resource identifier found for attribute 'always_landscape' in package 'universe.constellation.orion.viewer'
BUILD FAILED
/e/dev/Android/android-sdk-linux_x86/tools/ant/build.xml:560: The following error occurred while executing this line:
/e/dev/Android/android-sdk-linux_x86/tools/ant/build.xml:589: null returned: 1
Total time: 2 seconds
Process ant exited with code 1