gpt4 book ai didi

android - "java/awt/font/NumericShaper.class"处理有问题,无法生成apk

转载 作者:太空狗 更新时间:2023-10-29 16:10:25 25 4
gpt4 key购买 nike

由于这个错误,我无法为 Dalvik VM 编译我的 Android 项目:

trouble processing "java/awt/font/NumericShaper.class":Attempt to include a core VM class in 
something other than a core library.
It is likely that you have attempted to include the core library from a desktop
virtual machine into an application, which will most assuredly not work. If
you really intend to build a core library -- which is only appropriate as
part of creating a full virtual machine binary, as opposed to compiling an
application -- then use the "--core-library" option to suppress this error
message. If you go ahead and use "--core-library" but are in fact building
an application, then please be aware that your build will still fail at some
point; you will simply be denied the pleasure of reading this helpful error
message.
[2010-03-05 16:33:23 - Notepadv2]1 error; aborting
[2010-03-05 16:33:23 - Notepadv2]Conversion to Dalvik format failed with error 1

我想我以某种方式搞砸了我的导入,但这个类从未出现在我的导入中。

最佳答案

我找到了问题的答案 here .有时,如果您只是简单地使用 eclipse 中的修复项目设置功能,似乎是这样。 Eclipse 会将第二个 android jar 放入您的源代码树中。我在谷歌库下找到了一个 android.jar 和另一个。我删除了一个并消除了错误。

关于android - "java/awt/font/NumericShaper.class"处理有问题,无法生成apk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2387897/

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