Environment:
android-sdk-windows-1.0_r1
IDEA 7.0.3 (7757)
JDK 1.6.0.1
Windows XP
Steps to reproduce it:
1. Create a new Project with android
2. Create an Activity
3. Right Click and source code and select "Run ..."
The following message error appear:
Information:Compilation completed with 56 errors and 0 warnings
Information:56 errors
Information:0 warnings
Error:ERROR: Unknown command 'compile'
Error:Android Asset Packaging Tool
Error:Usage:
Error: aapt l[ist] [-v] [-a] file.{zip,jar,apk}
Error: List contents of Zip-compatible archive.
Error: aapt d[ump] WHAT file.{apk} [asset [asset ...]]
Error: permissions Print the permissions from the APK.
Error: resources Print the resource table from the APK.
Error: configurations Print the configurations in the APK.
Error: xmltree Print the compiled xmls in the given assets.
Error: xmlstrings Print the strings of the given compiled xml assets.
Error: aapt p[ackage] [-f][-u][-m][-v][-x][-M AndroidManifest.xml] \
Error: [-I base-package [-I base-package ...]] \
Error: [-A asset-source-dir] [-P public-definitions-file] \
Error: [-S resource-sources] [-F apk-file] [-J R-file-dir] \
Error: [raw-files-dir [raw-files-dir] ...]
Error: Package the android resources. It will read assets and resources
that are
Error: supplied with the -M -A -S or raw-files-dir arguments. The -J -P
-F and -R
Error: options control which files are output.
Error: aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]
Error: Delete specified files from Zip-compatible archive.
Error: aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
Error: Add specified files to Zip-compatible archive.
Error: aapt v[ersion]
Error: Print program version.
Error: Modifiers:
Error: -a print Android-specific data (resources, manifest) when listing
Error: -c specify which configurations to include. The default is all
Error: configurations. The value of the parameter should be a comma
Error: separated list of configuration values. Locales should be
specified
Error: as either a language or language-region pair. Some examples:
Error: en
Error: port,en
Error: port,land,en_US
Error: If you put the special locale, zz_ZZ on the list, it will perform
Error: pseudolocalization on the default locale, modifying all of the
Error: strings so you can look for strings that missed the
Error: internationalization process. For example:
Error: port,land,zz_ZZ
Error: -d one or more device assets to include, separated by commas
Error: -f force overwrite of existing files
Error: -j specify a jar or zip file containing classes to include
Error: -m make package directories under location specified by -J
Error: -u update existing packages (add new, replace older, remove
deleted files)
Error: -v verbose output
Error: -x create extending (non-application) resource IDs
Error: -z require localization of resource attributes marked with
Error: localization="suggested"
Error: -A additional directory in which to find raw asset files
Error: -F specify the apk file to output
Error: -I add an existing package to base include set
Error: -J specify where to output R.java resource constant definitions
Error: -M specify full path to AndroidManifest.xml to include in zip
Error: -P specify where to output public resource definitions
Error: -S directory in which to find resources
Error: -0 don't compress files we're adding