递归火山软件开发平台

标题: 寻找API级别为30("编译用安卓SDK API级别"项目选项值指定)的... [打印本页]

作者: 522427447    时间: 2024-3-18 00:31
标题: 寻找API级别为30("编译用安卓SDK API级别"项目选项值指定)的...
本帖最后由 522427447 于 2024-3-18 00:35 编辑

--- 开始编译项目"Word_Excel处理":
编译生成对应的Java源文件到目录"C:\Users\52242\AppData\Roaming\VolDev\视窗+安卓+服务器\简体中文\测试版\_sys_sln_tmp\samples\vprj_android\_int\PoiOffice\debug\project\src"成功 [双击可跳转]
正在链接生成安卓APK输出文件"C:\Users\52242\AppData\Roaming\VolDev\视窗+安卓+服务器\简体中文\测试版\_sys_sln_tmp\samples\vprj_android\_int\PoiOffice\debug\linker\PoiOffice.apk"
错误: 在安卓SDK目录"C:\Program Files\vol_dev\win_android_chs_free\Android_sdk\android\"中寻找API级别为30("编译用安卓SDK API级别"项目选项值指定)的平台版本失败,请安装该平台版本或者更改选项值.
下面是所有明确要求编译时安卓API级别大于等于 30 的成员位置列表(共有 1 个):
<C:\Program Files\vol_dev\win_android_chs_free\plugins\vprj_android\classlib\sys\android\base\a_file.v>, 283:   --> 1. 成员类型: 类; 需求API级别: 30; 名称: 安卓共享文件类
--- 项目"Word_Excel处理"编译或链接失败. 编译过程中共遇到了 0 个警告, 1 个错误.

这个我改了啊??就是不能编译,调试??这个还是安卓案例,什么原因?
(, 下载次数: 18) (, 下载次数: 16) (, 下载次数: 18)
作者: 创世魂    时间: 2024-3-18 08:01
https://www.aliyundrive.com/s/zSgi14UNSji  

这里下载sdk
作者: 522427447    时间: 2024-3-18 12:46
本帖最后由 522427447 于 2024-3-18 13:05 编辑
创世魂 发表于 2024-3-18 08:01
https://www.aliyundrive.com/s/zSgi14UNSji  

这里下载sdk

[size=13.3333px]火山安卓平台SDK整合包(下载后直接解压到火山软件开发平台安装根目录内即可)。
[size=13.3333px]注意:如果以前设置过“工具->选项->安卓项目管理器->全局->Java或安卓SDK安装根目录”选项,请将两者清除。

[size=13.3333px]是这个问题,更新了,平时用火山平台升级工具-6.55版 ,没有清空

[size=13.3333px]可是现在又的这个问题了

<span]编译生成对应的Java源文件到目录"C:\Users\52242\AppData\Roaming\VolDev\视窗+安卓+服务器\简体中文\测试版\_sys_sln_tmp\samples\vprj_android\_int\PoiOffice\debug\project\src"成功 [双击可跳转]
<span]当前程序编译时所需求安卓SDK API版本: 30, 实际所使用版本: 30;  运行时所需求API版本: 30
<span]正在进行"编译Java源文件"工作,请稍候...
<span]错误:
<span]    Warning in libs\poi-ooxml-3.9-20121203.jarrg/apache/poi/xslf/usermodel/RenderableShape.class:
<span]    Warning in libs\poi-ooxml-3.9-20121203.jarrg/apache/poi/xslf/usermodel/RenderableShape.class:
<span]    Warning in libs\dom4j-1.6.1.jarrg/dom4j/io/XPPReader.class:
<span]    Warning in libs\xmlbeans-2.3.0.jarrg/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.class:
<span]    Warning in libs\poi-3.9-20121203.jarrg/apache/poi/util/FontMetricsDumper.class:
<span]    Warning in libs\poi-3.9-20121203.jarrg/apache/poi/util/FontMetricsDumper.class:
<span]    Warning in libs\dom4j-1.6.1.jarrg/dom4j/datatype/SchemaParser.class:
<span]    Warning in libs\poi-3.9-20121203.jarrg/apache/poi/poifs/crypt/EncryptionVerifier.class:
<span]    Warning in libs\dom4j-1.6.1.jarrg/dom4j/jaxb/JAXBSupport.class:
<span]    Warning in libs\poi-ooxml-3.9-20121203.jarrg/apache/poi/util/OOXMLLite.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/bean/BeanMetaData.class:
<span]    Warning in libs\poi-ooxml-3.9-20121203.jar:org/apache/poi/xslf/usermodel/XSLFPictureShape.class:
<span]    Warning in libs\poi-3.9-20121203.jar:org/apache/poi/util/CommonsLogger.class:
<span]    Warning in libs\aar_com-android-support-compat-28_classes.jar:android/support/v4/app/SupportActivity.class:
<span]    Warning in libs\poi-3.9-20121203.jar:org/apache/poi/hssf/usermodel/HSSFWorkbook.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpath/XPathPattern.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpath/XPathPattern.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpath/XPathPattern.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/datatype/DatatypeElement.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/datatype/DatatypeElement.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/XMLTableDefinition.class:
<span]    Warning in libs\xmlbeans-2.3.0.jar:org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpath/DefaultNamespaceContext.class:
<span]    Warning in libs\poi-ooxml-3.9-20121203.jar:org/apache/poi/xslf/usermodel/XSLFRenderingHint.class:
<span]    Warning in libs\poi-3.9-20121203.jar:org/apache/poi/hssf/usermodel/EscherGraphics2d.class:
<span]    Warning in libs\aar_com-android-support-compat-28_classes.jar:android/support/v4/graphics/drawable/IconCompat.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/DocumentTreeModel.class:
<span]    Warning in libs\xmlbeans-2.3.0.jar:org/apache/xmlbeans/impl/tool/XMLBean.class:
<span]    Warning in libs\poi-3.9-20121203.jar:org/apache/poi/hssf/usermodel/EscherGraphics.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/LeafTreeNode.class:
<span]    Warning in libs\aar_com-android-support-compat-28_classes.jar:android/support/v4/app/SupportActivity.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/xpp/ProxyXmlStartTag.class:
<span]    Warning in libs\dom4j-1.6.1.jar:org/dom4j/swing/XMLTableModel.class:
<span]    Error: Cannot fit requested classes in a single dex file (# methods: 111805 > 65536). Try supplying a main-dex list
<span]错误: 建立所指定的安卓APK输出文件"C:\Users\52242\AppData\Roaming\VolDev\视窗+安卓+服务器\简体中文\测试版\_sys_sln_tmp\samples\vprj_android\_int\PoiOffice\debug\linker\PoiOffice.apk"失败
--- 项目"Word_Excel处理"编译或链接失败. 编译过程中共遇到了 0 个警告, 2 个错误.






欢迎光临 递归火山软件开发平台 (https://bbs.voldp.com/) Powered by Discuz! X3.4