j***@163.com
j***@163.com
  • 发布:2018-08-31 11:39
  • 更新:2020-04-02 06:38
  • 阅读:3187

打包失败,Invalid filename,文件名有长度限制?

分类:wap2app

manifest.plus.plugins.ad.dcloud;
Buildfile: 安装包制作目录build.xml

Copy_Ressource:
[echo] Copy app resource.
[echo] assets

init:
[echo] Init output directory.....

dirs:
[echo] Creating output directories if needed...
[mkdir] Created dir: 安装包制作目录bin/classes

resource-src:
[echo] Generating R.java / Manifest.java from the resources...
[echo] outdir-r path: src
[echo] aapt path: /srv/android/sdk/build-tools/25.0.3/aapt

aidl:
[echo] Compiling aidl files into Java classes...

compile:
[echo]
[echo] outdir-classes = bin/classes
[echo] android-jar = /srv/android/sdk/platforms/android-21/android.jar
[echo] external = libs
[echo]
[javac] 安装包制作目录build.xml:165: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 89 source files to 安装包制作目录bin/classes
[javac]
[javac] WARNING
[javac]
[javac] The -source switch defaults to 1.8 in JDK 1.8.
[javac] If you specify -target 1.6 you now must also specify -source 1.6.
[javac] Ant will implicitly add -source 1.6 for you. Please change your build file.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

dex:
[echo]
[echo] Converting compiled files and external libraries into bin/classes.dex...
[echo]

package-res:

package-res-and-assets:
[echo]
[echo] Packaging resources and assets...
[echo]
[exec] assets/apps/H55499187/www/static/js/view-components-tips-vue~view-views-main-vue~view-views-resultslist-vue~view-views-transRecord-vue.560d51b4.js: error: Invalid filename. Unable to add.BUILD FAILED
安装包制作目录build.xml:231: The following error occurred while executing this line:
安装包制作目录build.xml:189: exec returned: 1

Total time: 16 seconds
BuildConfigure Failed 20015

BuildConfigure Failed 20015 Invalid filename

2018-08-31 11:39 负责人:无 分享
已邀请:
j***@163.com

j***@163.com (作者) - it

第一次提问 有人会回答吗

1***@qq.com

1***@qq.com

有人解决没

DCloud_heavensoft

DCloud_heavensoft

“/www/static/js/view-components-tips-vue~view-views-main-vue~view-views-resultslist-vue~view-views-transRecord-vue.560d51b4.js”
怎么会有这么长的文件名?手机端不认

该问题目前已经被锁定, 无法添加新回复