Unity 报错之 Unable to convert classes into dex format.

Unity 报错之 Unable to convert classes into dex format.

我的报错原文:

CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_111\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir=“E:/android-sdk\tools” -Dfile.encoding=UTF8 -jar “E:\program files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -
stderr[
warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.alipay.sdk.app.H5AuthActivity$11) 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
(com.alipay.sdk.app.H5AuthActivity$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
(com.alipay.sdk.app.H5AuthActivity$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
(com.alipay.sdk.app.H5AuthActivity$4) 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
(com.alipay.sdk.app.H5AuthActivity$5) 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
(com.alipay.sdk.app.H5AuthActivity$6) 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
(com.alipay.sdk.app.H5AuthActivity$6$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
(com.alipay.sdk.app.H5AuthActivity$7) 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
(com.alipay.sdk.app.H5AuthActivity$8) 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
(com.alipay.sdk.app.H5AuthActivity 9 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 A u t h A c t i v i t y 9) 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 (com.alipay.sdk.app.H5AuthActivity MyWebViewClient 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 A u t h A c t i v i t y 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 (com.alipay.sdk.app.H5AuthActivity MyWebViewClient$1 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 A u t h A c t i v i t y 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 (com.alipay.sdk.app.H5AuthActivity MyWebViewClient$1 2 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 A u t h A c t i v i t y 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 (com.alipay.sdk.app.H5AuthActivity MyWebViewClient$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
(com.alipay.sdk.app.H5AuthActivity$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
(com.alipay.sdk.app.H5AuthActivity$10) 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
(com.alipay.sdk.app.H5PayActivity 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 2 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 3 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 4 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 4) 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 5 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 5) 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 (com.alipay.sdk.app.H5PayActivity MyWebChromeClient 6 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 6) 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 (com.alipay.sdk.app.H5PayActivity MyWebViewClient 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebViewClient$1 1 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebViewClient$1 2 ) t h a t d o e s n t c o m e w i t h a n a s s o c i a t e d E n c l o s i n g M e t h o d a t t r i b u t e . T h i s c l a s s w a s p r o b a b l y p r o d u c e d b y a c o m p i l e r t h a t d i d n o t t a r g e t t h e m o d e r n . c l a s s f i l e f o r m a t . T h e r e c o m m e n d e d s o l u t i o n i s t o r e c o m p i l e t h e c l a s s f r o m s o u r c e , u s i n g a n u p t o d a t e c o m p i l e r a n d w i t h o u t s p e c i f y i n g a n y " t a r g e t " t y p e o p t i o n s . T h e c o n s e q u e n c e o f i g n o r i n g t h i s w a r n i n g i s t h a t r e f l e c t i v e o p e r a t i o n s o n t h i s c l a s s w i l l i n c o r r e c t l y i n d i c a t e t h a t i t i s n o t a n i n n e r c l a s s . w a r n i n g : I g n o r i n g I n n e r C l a s s e s a t t r i b u t e f o r a n a n o n y m o u s i n n e r c l a s s ( c o m . a l i p a y . s d k . a p p . H 5 P a y A c t i v i t y 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 (com.alipay.sdk.app.H5PayActivity MyWebViewClient$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
(com.alipay.sdk.app.PayTask$1$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
(com.alipay.sdk.app.PayTask$2) that doesn’t come with an
associated


遇到这个问题也是困扰了我好久,也在网上看了好多问题总结了几个解决方法:

1).classes.jar冲突,unity编译时默认包含了classes.jar ,所以删除Plugins/Android/libs 下的classes.jar
2).检查 Assets\Plugins\Android 下是否有文件重复
3).AndroidManifest.xml 配置问题,

我遇到的问题是Assets\Plugins\Android 有重复的jar包,,因为我前后导入了两个sdk到工程里面,导致了有公用的jar包重复了,所有会报错。
解决办法:找到两个Assets\Plugins\Androidsdk 的jar包所在目录,一一对比看一下有没有重复的,

jar包重复对比

这个像这种只有日期有区别(有的可能是版本号),,留下最新的就可以了,,,完美解决问题。心情豁然开朗啊,,,


看博文的你解决问题了吗?,是不是也遇到了类似这样的问题?,,,若有好的解决方案,请您留言赐教,也便帮助更多的人。
希望此博文对你有所帮助哦。
发布了446 篇原创文章 · 获赞 630 · 访问量 50万+

猜你喜欢

转载自blog.csdn.net/Czhenya/article/details/90413301