2017-05-14 5 views
0

Ich versuche, die E-Mail, Aktivierung und zusätzliche Gläser zu meinem Android Studio zu assistieren, um eine E-Mail ohne die Verwendung der integrierten Mail-Anwendungen zu senden. Aber ich bekomme einen Fehler beim Laufen, ich habe viel gesucht und nichts geholfen, ich weiß nicht, was das Problem genau ist. Kann jemand helfen? Ich benutze Android Studio 2.2. Im Anschluss an die Fehler, die ich immer binFehler beim Hinzufügen von Gläsern zu android Studio

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 

und viele mehr Fehler. Kann jemand bitte helfen

Antwort

0

Wenn Sie lesen, heißt es, dass es mit einem anderen Compiler kompiliert wurde und somit nicht unterstützt wird.

Diese Klasse wurde wahrscheinlich von einem Compiler erzeugt, der nicht auf das moderne .class-Dateiformat abzielte. Die empfohlene Lösung besteht darin, die Klasse aus der Quelle neu zu kompilieren, indem ein aktueller Compiler verwendet wird und keine Optionen vom Typ "-target" angegeben werden. Die Konsequenz der Ignorierung dieser Warnung ist, dass reflektierende Operationen auf dieser Klasse falsch darauf hinweisen, dass es nicht eine innere Klasse ist.

Ich weiß nicht, wo Sie Ihre JAR-Datei aus, aber ich denke, dass es nicht funktioniert.

+0

so kann das Problem in den Gläsern sein, die ich heruntergeladen habe? –

+0

Ja, es ist: http://stackoverflow.com/questions/36762834/getting-closedingmethod-errors-on-building-in-android-studio-2 – creativecreatorormaybenot

Verwandte Themen