请问下,失败原因,谁知道或者遇到过?求解!或者用什么方法,可以打包出app呢?
*打包失败详情:**
安装包制作开始
cd 安装包制作目录[BASE] && ant
Buildfile: 安装包制作目录build.xml
Copy_Ressource:
[echo] Copy app resource.
[echo]
[echo] assets
[echo]
init:
[echo] Init output directory.....
[echo]
dirs:
[echo]
[echo] Creating output directories if needed...
[echo]
[mkdir] Created dir: 安装包制作目录bin/classes
resource-src:
[echo]
[echo] Generating R.java / Manifest.java from the resources...
[echo]
[echo]
[echo] outdir-r path: src
[echo]
[echo]
[echo] aapt path: SDK目录build-tools/android-4.4/aapt
[echo]
aidl:
[echo]
[echo] Compiling aidl files into Java classes...
[echo]
compile:
[echo]
[echo] outdir-classes = bin/classes
[echo] android-jar = SDK目录platforms/android-19/android.jar
[echo] external = libs
[echo]
[javac] 安装包制作目录build.xml:185: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to 安装包制作目录bin/classes
[javac] 安装包制作目录src/io/dcloud/RInformation.java:4: <identifier> expected
[javac] import io.html5.try.R;
[javac] ^
[javac] 安装包制作目录src/io/dcloud/RInformation.java:4: class, interface, or enum expected
[javac] import io.html5.try.R;
[javac] ^
[javac] 安装包制作目录src/io/dcloud/RInformation.java:4: class, interface, or enum expected
[javac] import io.html5.try.R;
[javac] ^
[javac] 安装包制作目录src/io/html5/try/R.java:8: <identifier> expected
[javac] package io.html5.try;
[javac] ^
[javac] 4 errors
BUILD FAILED
安装包制作目录build.xml:185: Compile failed; see the compiler error output for details.
Total time: 1 second
2 个回复
BoredApe - 有问题就会有答案。
贴一下完整的错误日志
supposer
我也是...打包失败
'includeantruntime' was not set !!!!
why ?
BoredApe
贴完整日志
2015-09-23 16:43
supposer
我发了新帖了 http://ask.dcloud.net.cn/question/10875
2015-09-23 16:46