机器人无法找到一个类的javax.activation.MimetypesFileTypeMap“,但这个类是在JRE库座落于rt.jar中 [英] android can not find a class 'javax.activation.MimetypesFileTypeMap', but that class is in the jre libs locates at rt.jar
问题描述
在我的Android项目,我用这将使用这个类的外部JAR
In my android project, I use a external jar which will use the class
以下是错误信息:
2月6日至13日:45:18.586:ERROR / dalvikvm(228):找不到类'javax.activation.MimetypesFileTypeMap,从法weibo4j.http.HttpClient.multPartURL引用
06-13 02:45:18.586: ERROR/dalvikvm(228): Could not find class 'javax.activation.MimetypesFileTypeMap', referenced from method weibo4j.http.HttpClient.multPartURL
谁能告诉我,为什么会这样?
Who can tell me why this happened?
推荐答案
的 javax.activation中
软件包不是的 Android的核心(正如你所看到的,这不是在包指数),所以你将无法使用该罐没有重新编译 javax.activation中
罐子(如果有一个在所有)。这是什么外部JAR呢?
The javax.activation
package is not part of the Android core (as you can see, it's not in the package index), so you will not be able to use that Jar without a recompiled javax.activation
jar (if there is one at all). What does this external Jar do?
这篇关于机器人无法找到一个类的javax.activation.MimetypesFileTypeMap“,但这个类是在JRE库座落于rt.jar中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!