我正在尝试将邮件,激活和aditionnal罐子放到我的android工作室,以便在不使用内置邮件应用程序的情况下发送电子邮件。但是我在跑步时遇到错误,我搜索了很多而没有任何帮助我不知道问题到底是什么。有人可以帮忙吗?我正在使用android studio 2.2。 以下是我得到的错误
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
(javax.activation.DataHandler$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(javax.activation.SecuritySupport$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(javax.activation.SecuritySupport$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(javax.activation.SecuritySupport$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(javax.activation.SecuritySupport$4) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
还有更多错误。 任何人都可以帮忙吗
答案 0 :(得分:0)
如果您阅读它说它是使用不同的编译器编译的,因此不受支持。
这门课可能是由一个 没有以现代.class文件格式为目标的编译器。推荐 解决方案是使用最新的编译器从源代码重新编译类 并且没有指定任何" -target"类型选项。无视的后果 这个警告是这个类的反射操作会不正确 表明不是一个内部类。
我不知道你从哪里得到你的jar文件,但我认为它不会起作用。