2017-05-14 16 views
0

私は、メールアプリ、組み込みメールアプリケーションを使用せずにメールを送信するために、アンドロイドスタジオにメール、アクティベーション、しかし、実行中にエラーが発生しました。私は多くを検索しましたが、何が問題なのか正確にはわかりませんでした。助けてもらえますか?私はアンドロイドスタジオ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

読んでみると、別のコンパイラを使ってコンパイルされているため、サポートされていません。

このクラスは、おそらく最新の.classファイル形式をターゲットにしていない コンパイラによって生成されたものです。推奨される ソリューションは、最新のコンパイラ を使用し、 "-target"タイプのオプションを指定せずに、クラスをソースから再コンパイルすることです。 この警告を無視した結果、このクラスの反射操作は間違って になります。これはではなく、内部クラスです。

jarファイルをどこから取得したのか分かりませんが、動作しないと思います。

+0

私はダウンロードしたジャーに問題がある可能性がありますか? –

+0

はい、そうです:http://stackoverflow.com/questions/36762834/getting-enclosingmethod-errors-on-building-in-android-studio-2 – creativecreatorormaybenot

関連する問題