建了一个library project,在其他很多个程序里面应用了,在自己的机器上面运行得好好的……但是把整个workspace拷给其他地方的同事,远程过去帮他们把ADT也升级好了,发现在那些工程里面如果引用了这个library,R文件就无法生成了,gen文件夹下面是空的,一旦取消这个引用,R文件又回来了……请教一下有没有谁遇到过这样的问题~谢谢了~
解决方案 »
- 求高手指点,android前端,后台,数据库的编码问题
- android推送 androidpn 服务器端运行不起来
- android手机游戏开发关于cocos2d的应用求大神!!急!!
- 关于Uri.parse("content://media/external/fs_id")的疑问
- android listview 滑动问题
- Fragment替换布局中的view时,如何保持view的宽高属性
- android项目中drawable文件中的png图片显示“无效的菜单句柄”
- Phonegap 安装失败,无法创建Android
- android 4.4 设置应用为默认短信的问题
- androidStudio升级到3.1之后Genarate Signed APK报错
- android TextView 最多显示12个字符,其他的字符以省略好代替
- Android平板,外接鼠标,修改鼠标样式
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] ERROR: Unknown option '--extra-packages'
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Android Asset Packaging Tool
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Usage:
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt l[ist] [-v] [-a] file.{zip,jar,apk}
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] List contents of Zip-compatible archive.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] badging Print the label and icon for the app declared in APK.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] permissions Print the permissions from the APK.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] resources Print the resource table from the APK.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] configurations Print the configurations in the APK.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] xmltree Print the compiled xmls in the given assets.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] xmlstrings Print the strings of the given compiled xml assets.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--rename-manifest-package PACKAGE] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--rename-instrumentation-target-package PACKAGE] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--utf16] [--auto-add-overlay] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--max-res-version VAL] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [-I base-package [-I base-package ...]] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [--product product1,product2,...] \
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] [raw-files-dir [raw-files-dir] ...]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Package the android resources. It will read assets and resources that are
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] options control which files are output.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Delete specified files from Zip-compatible archive.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Add specified files to Zip-compatible archive.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] aapt v[ersion]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Print program version.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO]
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] Modifiers:
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -a print Android-specific data (resources, manifest) when listing
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -c specify which configurations to include. The default is all
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] configurations. The value of the parameter should be a comma
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] separated list of configuration values. Locales should be specified
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] as either a language or language-region pair. Some examples:
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] en
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] port,en
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] port,land,en_US
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] If you put the special locale, zz_ZZ on the list, it will perform
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] pseudolocalization on the default locale, modifying all of the
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] strings so you can look for strings that missed the
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] internationalization process. For example:
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] port,land,zz_ZZ
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -d one or more device assets to include, separated by commas
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -f force overwrite of existing files
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -g specify a pixel tolerance to force images to grayscale, default 0
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -j specify a jar or zip file containing classes to include
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -k junk path of file(s) added
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -m make package directories under location specified by -J
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -u update existing packages (add new, replace older, remove deleted files)
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -v verbose output
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -x create extending (non-application) resource IDs
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -z require localization of resource attributes ed with
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] localization="suggested"
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -A additional directory in which to find raw asset files
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -G A file to output proguard options into.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -F specify the apk file to output
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -I add an existing package to base include set
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -J specify where to output R.java resource constant definitions
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -M specify full path to AndroidManifest.xml to include in zip
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -P specify where to output public resource definitions
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -S directory in which to find resources. Multiple directories will be scanned
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] and the first match found (left to right) will take precedence.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] -0 specifies an additional extension for which such files will not
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] be stored compressed in the .apk. An empty string means to not
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] compress any files at all.
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] --debug-mode
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] inserts android:debuggable="true" in to the application node of the
[2011-10-31 15:18:24 - QuoteNOW_AZABUSABO] manifest, making the application debuggable even on production devices.