我正在尝试在 Android 应用程序中使用 Jets3t 库,当我使用该库时,我不断收到 Rest 服务错误。
04-27 16:47:39.491: ERROR/S3Service(225): Couldn't initialize a sax driver for the XMLReader
我曾尝试包含 Xerces 库和 Crimson 库,但效果不佳。我收到此错误:
Attempt to include a core class (java.* or javax.*) in something other
than a core library. It is likely that you have attempted to include
in an application the core library (or a part thereof) from a desktop
virtual machine. This will most assuredly not work. At a minimum, it
jeopardizes the compatibility of your app with future versions of the
platform. It is also often of questionable legality.
If you really intend to build a core library -- which is only
appropriate as part of creating a full virtual machine distribution,
as opposed to compiling an application -- then use the
"--core-library" option to suppress this error message.
我可以做些什么来让它工作吗?