机器人无法找到一个类的javax.activati​​on.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

查看:337
本文介绍了机器人无法找到一个类的javax.activati​​on.MimetypesFileTypeMap“,但这个类是在JRE库座落于rt.jar中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Andr​​oid项目,我用这将使用这个类的外部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.activati​​on.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.activati​​on中软件包不是的 Android的核心(正如你所看到的,这不是在包指数),所以你将无法使用该罐没有重新编译 javax.activati​​on中罐子(如果有一个在所有)。这是什么外部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.activati​​on.MimetypesFileTypeMap“,但这个类是在JRE库座落于rt.jar中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆