gpt4 book ai didi

android简单的UTF-8错误..不知道如何解决

转载 作者:行者123 更新时间:2023-11-30 04:16:16 26 4
gpt4 key购买 nike

在创建时我遇到了这个错误:对于解决方案在哪里更改我没有请指导我..

 -version-name
[2012-03-30 11:49:31 - Helloworld] inserts android:versionName in to manifest.
[2012-03-30 11:49:31 - Helloworld] --custom-package
[2012-03-30 11:49:31 - Helloworld] generates R.java into a different package.
[2012-03-30 11:49:31 - Helloworld] --auto-add-overlay
[2012-03-30 11:49:31 - Helloworld] Automatically add resources that are only in overlays.
[2012-03-30 11:49:31 - Helloworld] --rename-manifest-package
[2012-03-30 11:49:31 - Helloworld] Rewrite the manifest so that its package name is the package name
[2012-03-30 11:49:31 - Helloworld] given here. Relative class names (for example .Foo) will be
[2012-03-30 11:49:31 - Helloworld] changed to absolute names with the old package so that the code
[2012-03-30 11:49:31 - Helloworld] does not need to change.
[2012-03-30 11:49:31 - Helloworld] --rename-instrumentation-target-package
[2012-03-30 11:49:31 - Helloworld] Rewrite the manifest so that all of its instrumentation
[2012-03-30 11:49:31 - Helloworld] components target the given package. Useful when used in
[2012-03-30 11:49:31 - Helloworld] conjunction with --rename-manifest-package to fix tests against
[2012-03-30 11:49:31 - Helloworld] a package that has been renamed.
[2012-03-30 11:49:31 - Helloworld] --product
[2012-03-30 11:49:31 - Helloworld] Specifies which variant to choose for strings that have
[2012-03-30 11:49:31 - Helloworld] product variants
[2012-03-30 11:49:31 - Helloworld] --utf16
[2012-03-30 11:49:31 - Helloworld] changes default encoding for resources to UTF-16. Only useful when API
[2012-03-30 11:49:31 - Helloworld] level is set to 7 or higher where the default encoding is UTF-8.

最佳答案

我遇到了这种类型的错误。请将您的程序运行到android 2.3版本。某事或以上..你不能再面对这个错误。

只需阅读您的最后两个 logcate utf-16 so..如果您遇到其他错误,请执行此操作。请在此处发布您的 logcat 并提示该错误..

改变它就像这样:

project -> right click -> properties ->Android ->default 2.2 is selected in your case.
or any low version.

选择了android 2.3。或以上并再次运行程序。

关于android简单的UTF-8错误..不知道如何解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9938007/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com