我正在尝试在我的Android应用程序中集成firebase来从我的firebase数据库中读取数据。我正在使用Eclipse进行Android应用程序开发。添加firebase-client-android-2.5.2.jar
库后,我无法运行我的应用程序。我收到一个像
[2016-08-19 02:17:23 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2016-08-19 02:17:23 - MyApplication] Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
我也收到了警告,
[2016-08-19 02:17:13 - MyApplication] Dx
trouble writing output: already prepared
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.impl.LogFactoryImpl$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.impl.LogFactoryImpl$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.impl.LogFactoryImpl$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.impl.SimpleLog$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.impl.WeakHashtable$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
[2016-08-19 02:17:19 - MyApplication] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.shaded.apache.commons.logging.LogFactory$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.
请帮我解决这个问题。
答案 0 :(得分:0)
检查构建路径 - > Java构建路径 - > 订单和导出标签 - > 取消选中Android私人图书馆。