起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3061|回复: 2

[结贴] 打包报错: 浮点文字的格式错误

[复制链接]

23

主题

95

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
QQ
发表于 2016-8-5 12:52:24 | 显示全部楼层 |阅读模式
BUILD FAILED

Total time: 16.806 secs
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/src/com/3esemiconductor/Wex5EtiAPP/MainActivity.java:20: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
            ^
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build/generated/source/r/release/com/3esemiconductor/Wex5EtiAPP/R.java:8: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
            ^
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build/generated/source/buildConfig/release/com/3esemiconductor/Wex5EtiAPP/BuildConfig.java:4: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
            ^
3 个错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project

/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/node_modules/q/q.js:126
                     throw e;
                     ^
Error code 1 for command: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/gradlew with args: cdvBuildRelease,-b,/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build.gradle,-Dorg.gradle.daemon=true,--offline
Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/build: Command failed with exit code 1
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildAndroid" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
发表于 2016-8-11 09:49:55 | 显示全部楼层
可能是语法错误!
你检查下你的 java 包名 定义是否合法! 是否可以数字开头,以及大写
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

23

主题

95

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
QQ
 楼主| 发表于 2016-8-18 08:37:54 | 显示全部楼层
liangyongfei 发表于 2016-8-11 09:49
可能是语法错误!
你检查下你的 java 包名 定义是否合法! 是否可以数字开头,以及大写 ...

嗯嗯,问题已经解决,就是 包名的问题,可能输入的太复杂,数字、大小写字母 全上了。后来改了,全小写的简单包名,就OK了。谢谢,请结贴!
回复 支持 反对

使用道具 举报

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

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-16 03:14 , Processed in 0.059131 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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