|
楼主 |
发表于 2018-4-2 18:58:34
|
显示全部楼层
出错信息就是上面我发过的.
You have been opted out of telemetry. To change this, run: cordova telemetry on.
args.nofetch undefined
android project rename compelete!!!!!!
Error: Failed to run "javac -version", make sure that you have a JDK installed.
You can get it from: http://www.oracle.com/technetwork/java/javase/downloads.
Your JAVA_HOME is invalid: D:\WeX5_3.8_prepub\java\jre1.8
这最后一句: Your JAVA_HOME is invalid: D:\WeX5_3.8_prepub\java\jre1.8,说我的javahome是无效的.因为上面执行javac -version就出错了.然后后面就是一堆非人类能看懂的代码,我没贴.
问题是D:\WeX5_3.8_prepub\java\jre1.8这个路径是存在的,D:\WeX5_3.8_prepub也是我解压wex5 3.8的正确路径.
尝试把studio的jre设置到我机器的java_home路径,我的java是d:\jdk1.8.0_91 更是一堆错误,最后又换回D:\WeX5_3.8_prepub\java\jre1.8.
demo案例能成功打包.
我后台不是java的,是用ajax访问的c# webservice 跟后台应该没关系.
|
|