[2011-10-26 22:29:42 - addToSqlite] ERROR: Unknown option '--no-crunch'
[2011-10-26 22:29:42 - addToSqlite] Android Asset Packaging Tool
[2011-10-26 22:29:42 - addToSqlite] 
[2011-10-26 22:29:42 - addToSqlite] Usage:
[2011-10-26 22:29:42 - addToSqlite]  aapt l[ist] [-v] [-a] file.{zip,jar,apk}
[2011-10-26 22:29:42 - addToSqlite]    List contents of Zip-compatible archive.
[2011-10-26 22:29:42 - addToSqlite] 
[2011-10-26 22:29:42 - addToSqlite]  aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
[2011-10-26 22:29:42 - addToSqlite]    badging          Print the label and icon for the app declared in APK.
[2011-10-26 22:29:42 - addToSqlite]    permissions      Print the permissions from the APK.
........
.........
........
...........
...........
...
[2011-10-26 22:30:23 - addToSqlite]    --custom-package
[2011-10-26 22:30:23 - addToSqlite]        generates R.java into a different package.
[2011-10-26 22:30:23 - addToSqlite]    --auto-add-overlay
[2011-10-26 22:30:23 - addToSqlite]        Automatically add resources that are only in overlays.
[2011-10-26 22:30:23 - addToSqlite]    --rename-manifest-package
[2011-10-26 22:30:23 - addToSqlite]        Rewrite the manifest so that its package name is the package name
[2011-10-26 22:30:23 - addToSqlite]        given here.  Relative class names (for example .Foo) will be
[2011-10-26 22:30:23 - addToSqlite]        changed to absolute names with the old package so that the code
[2011-10-26 22:30:23 - addToSqlite]        does not need to change.
[2011-10-26 22:30:23 - addToSqlite]    --rename-instrumentation-target-package
[2011-10-26 22:30:23 - addToSqlite]        Rewrite the manifest so that all of its instrumentation
[2011-10-26 22:30:23 - addToSqlite]        components target the given package.  Useful when used in
[2011-10-26 22:30:23 - addToSqlite]        conjunction with --rename-manifest-package to fix tests against
[2011-10-26 22:30:23 - addToSqlite]        a package that has been renamed.
[2011-10-26 22:30:23 - addToSqlite]    --product
[2011-10-26 22:30:23 - addToSqlite]        Specifies which variant to choose for strings that have
[2011-10-26 22:30:23 - addToSqlite]        product variants
[2011-10-26 22:30:23 - addToSqlite]    --utf16
[2011-10-26 22:30:23 - addToSqlite]        changes default encoding for resources to UTF-16.  Only useful when API
[2011-10-26 22:30:23 - addToSqlite]        level is set to 7 or higher where the default encoding is UTF-8.
出现这样的问题,求解!

解决方案 »

  1.   

    按照这个试试
    TryEclipse > Run > Run ConfigurationsSelect your projectSelect the target tabIn the box Additional Emulator Command Line Options delete any text you haveThen try and run again
      

  2.   

    我在网上也找到了这个,试了,没用~~
    不过问下,In the box Additional Emulator Command Line Options delete any text you have这是什么意思?
      

  3.   

    我也出了,是省级SDK4.0时,升级ADT后出的。我升级了一下SDK里的一些项,好了。
      

  4.   

    升级了 导致编译的版本变了右键工程名->properties->java Build Path -》java Build Path order and export
    选择好你编译的版本 就行了
      

  5.   

    我已经解决了~是配置的问题
    你需要升级tools文件夹下的两个文件
    打开SDK Manager,选择tools升级就可以了~
      

  6.   

    刚解决了这个问题,说白了就是ADT版本和SDK版本不对应!
      

  7.   


    该方法可行,昨天才遇到过,升级了2个tool就ok了