递归火山软件开发平台

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 火山 源码 类库
查看: 81|回复: 2
打印 上一主题 下一主题

[安卓] 安卓office例程报错...

[复制链接]

6

主题

135

帖子

692

积分

高级会员

Rank: 4

积分
692
跳转到指定楼层
楼主
发表于 昨天 12:42 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Warning in libs\dom4j-1.6.1.jarrg/dom4j/datatype/DatatypeElement.class:
    Type `com.sun.msv.datatype.SerializationContext` was not found, it is required for default or static interface methods desugaring of `org.dom4j.datatype.DatatypeElement`
    Warning in libs\dom4j-1.6.1.jarrg/dom4j/datatype/DatatypeElement.class:
    Type `org.relaxng.datatype.ValidationContext` was not found, it is required for default or static interface methods desugaring of `org.dom4j.datatype.DatatypeElement`
    Warning in libs\xmlbeans-2.3.0.jarrg/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.class:
    Type `com.sun.javadoc.Doclet` was not found, it is required for default or static interface methods desugaring of `org.apache.xmlbeans.impl.jam.internal.javadoc.JavadocRunner`
    Warning in libs\dom4j-1.6.1.jarrg/dom4j/swing/DocumentTreeModel.class:
    Type `javax.swing.tree.DefaultTreeModel` was not found, it is required for default or static interface methods desugaring of `org.dom4j.swing.DocumentTreeModel`
    Warning in libs\xmlbeans-2.3.0.jarrg/apache/xmlbeans/impl/tool/XMLBean.class:
    Type `org.apache.tools.ant.taskdefs.MatchingTask` was not found, it is required for default or static interface methods desugaring of `org.apache.xmlbeans.impl.tool.XMLBean`
    Warning in libs\poi-3.9-20121203.jarrg/apache/poi/hssf/usermodel/EscherGraphics.class:
    Type `java.awt.Graphics` was not found, it is required for default or static interface methods desugaring of `org.apache.poi.hssf.usermodel.EscherGraphics`
    Warning in libs\aar_com-android-support-compat-28_classes.jar:android/support/v4/graphics/drawable/IconCompat.class:
    Type `androidx.versionedparcelable.CustomVersionedParcelable` was not found, it is required for default or static interface methods desugaring of `android.support.v4.graphics.drawable.IconCompat`
    Warning in libs\aar_com-android-support-compat-28_classes.jar:android/support/v4/app/SupportActivity.class:
    Type `android.arch.lifecycle.LifecycleOwner` was not found, it is required for default or static interface methods desugaring of `android.support.v4.app.SupportActivity`
    Warning in libs\kotlinx-coroutines-core-jvm-1.6.4.jar:kotlinx/coroutines/internal/ClassValueCtorCache$cache$1.class:
    Type `java.lang.ClassValue` was not found, it is required for default or static interface methods desugaring of `kotlinx.coroutines.internal.ClassValueCtorCache$cache$1`
    Warning in libs\kotlinx-coroutines-core-jvm-1.6.4.jar:kotlinx/coroutines/debug/AgentPremain$DebugProbesTransformer.class:
    Type `java.lang.instrument.ClassFileTransformer` was not found, it is required for default or static interface methods desugaring of `kotlinx.coroutines.debug.AgentPremain$DebugProbesTransformer`
    Warning in libs\dom4j-1.6.1.jarrg/dom4j/swing/XMLTableDefinition.class:
    Type `org.jaxen.VariableContext` was not found, it is required for default or static interface methods desugaring of `org.dom4j.swing.XMLTableDefinition`
    Warning in libs\dom4j-1.6.1.jarrg/dom4j/xpath/DefaultNamespaceContext.class:
    Type `org.jaxen.NamespaceContext` was not found, it is required for default or static interface methods desugaring of `org.dom4j.xpath.DefaultNamespaceContext`
    Warning in libs\poi-ooxml-3.9-20121203.jarrg/apache/poi/xslf/usermodel/XSLFRenderingHint.class:
    Type `java.awt.RenderingHints$Key` was not found, it is required for default or static interface methods desugaring of `org.apache.poi.xslf.usermodel.XSLFRenderingHint`
    Warning in libs\poi-3.9-20121203.jarrg/apache/poi/hssf/usermodel/EscherGraphics2d.class:
    Type `java.awt.Graphics2D` was not found, it is required for default or static interface methods desugaring of `org.apache.poi.hssf.usermodel.EscherGraphics2d`
    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/LeafTreeNode.class:
    Type `javax.swing.tree.TreeNode` was not found, it is required for default or static interface methods desugaring of `org.dom4j.swing.LeafTreeNode`
    Warning in libs\kotlinx-coroutines-core-jvm-1.6.4.jar:kotlinx/coroutines/debug/AgentPremain.class:
    Type `sun.misc.SignalHandler` was not found, it is required for default or static interface methods desugaring of `kotlinx.coroutines.debug.AgentPremain$$InternalSyntheticLambda$2$7895cd395e43c061a299e224a1d3672f97bd4610fe97f0e188c9c199a1620b54$0`
    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpp/ProxyXmlStartTag.class:
    Type `org.gjt.xpp.XmlStartTag` was not found, it is required for default or static interface methods desugaring of `org.dom4j.xpp.ProxyXmlStartTag`
    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/XMLTableModel.class:
    Type `javax.swing.table.AbstractTableModel` was not found, it is required for default or static interface methods desugaring of `org.dom4j.swing.XMLTableModel`
    Error: Cannot fit requested classes in a single dex file (# methods: 128024 > 65536). Try supplying a main-dex list
    Compilation failed
    Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null

回复

使用道具 举报

6

主题

135

帖子

692

积分

高级会员

Rank: 4

积分
692
板凳
 楼主| 发表于 昨天 19:05 | 只看该作者
创世魂 发表于 2026-4-23 14:23
项目属性里面开启d8编译。有加密狗的直接用gradle编译。

启用d8还是报类似错误。。。不知什么情况
回复

使用道具 举报

489

主题

2万

帖子

4万

积分

超级版主

Rank: 8Rank: 8

积分
48254
QQ
沙发
发表于 昨天 14:23 | 只看该作者
项目属性里面开启d8编译。有加密狗的直接用gradle编译。
安卓无障碍课:点击查看
接安卓类库封装,需要的联系570828305
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|递归火山软件开发平台 ( 鄂ICP备18029190号 )

GMT+8, 2026-4-24 03:24 , Processed in 0.085387 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表