小雄
小雄
  • 发布:2018-05-09 16:02
  • 更新:2020-05-25 17:32
  • 阅读:3765

uniapp打包,应用名称改成汉字(两个汉字成功,四个汉字失败)

分类:uni-app

[HBuilder] 项目 hello [com.unionapp.demo.sample]打包失败,失败日志:

Build with gradle

RunCmd:   
cd /srv/service/storage/app/package/ANDROID/queue/759c6a30-535e-11e8-84da-17c8459519ee/&& gradle assembleRelease  
-------------------------------------------------------------------  
NDK is missing a \"platforms\" directory.  
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /srv/android/sdk/ndk-bundle.  
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.  

FAILURE: Build failed with an exception.  

* Where:  
Build file '/srv/service/storage/app/package/ANDROID/queue/759c6a30-535e-11e8-84da-17c8459519ee/build.gradle' line: 4  

* What went wrong:  
A problem occurred evaluating root project '759c6a30-535e-11e8-84da-17c8459519ee'.  
> Malformed \\uxxxx encoding.  

* Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.  

* Get more help at https://help.gradle.org  

BUILD FAILED in 0s  
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.  

FAILURE: Build failed with an exception.  

* Where:  
Build file '/srv/service/storage/app/package/ANDROID/queue/759c6a30-535e-11e8-84da-17c8459519ee/build.gradle' line: 4  

* What went wrong:  
A problem occurred evaluating root project '759c6a30-535e-11e8-84da-17c8459519ee'.  
> Malformed \\uxxxx encoding.  

* Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.  

* Get more help at https://help.gradle.org  

BUILD FAILED in 0s  

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.  

FAILURE: Build failed with an exception.  

* Where:  
Build file '/srv/service/storage/app/package/ANDROID/queue/759c6a30-535
2018-05-09 16:02 负责人:无 分享
已邀请:
w***@qq.com

w***@qq.com

改成汉字名称,如何实现的?

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