gpt4 book ai didi

java - 错误 : Unable to run the app with Firebase jar included

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:55:46 28 4
gpt4 key购买 nike

渐变输出:

:app:proguardRelease
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find superclass or interface javax.servlet.ServletContextListener
Warning: com.shaded.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.shaded.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: com.shaded.fasterxml.jackson.databind.ext.DOMSerializer: can't find referenced class org.w3c.dom.bootstrap.DOMImplementationRegistry
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.shaded.apache.avalon.framework.logger.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Category
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Priority
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.shaded.apache.log4j.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Hierarchy
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Hierarchy
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Hierarchy
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.shaded.apache.log.Logger
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextListener
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent
Warning: org.shaded.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent
Warning: there were 73 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
:app:proguardRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:proguardRelease'.
> java.io.IOException: Please correct the above warnings first.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5.727 secs

在设备上运行时,点击应用中的“聊天”选项卡时应用会崩溃。

E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NoSuchFieldError: PUBLIC_ONLY
at java.lang.Class.getDeclaredAnnotation(Native Method)
at java.lang.Class.getAnnotation(Class.java:243)
at com.d.a.a.c.f.ae.<clinit>(Unknown Source)
at com.d.a.a.c.z.<clinit>(Unknown Source)
at com.a.a.e.<clinit>(Unknown Source)
at com.woodpeck3r.janasena.app.Views.c.a(Unknown Source)
at android.support.v4.app.Fragment.b(Unknown Source)
at android.support.v4.app.r.a(Unknown Source)
at android.support.v4.app.r.a(Unknown Source)
at android.support.v4.app.d.run(Unknown Source)
at android.support.v4.app.r.e(Unknown Source)
at android.support.v4.app.r.b(Unknown Source)
at android.support.v4.app.v.b(Unknown Source)
at android.support.v4.view.ViewPager.a(Unknown Source)
at android.support.v4.view.ViewPager.c(Unknown Source)
at android.support.v4.view.bs.run(Unknown Source)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
at android.view.Choreographer.doCallbacks(Choreographer.java:591)
at android.view.Choreographer.doFrame(Choreographer.java:560)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5419)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
at dalvik.system.NativeStart.main(Native Method)

最佳答案

我找到了解决方案:在您的 project.properties 中,添加以下内容:

-dontwarn com.shaded.fasterxml.**
-dontwarn org.apache.**
-dontwarn org.shaded.apache.**
-keepnames class com.shaded.fasterxml.jackson.** { *; }
-keepnames class org.shaded.apache.**

这对我有用

关于java - 错误 : Unable to run the app with Firebase jar included,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22785842/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com