android - codenameone server build error -
i designing android application using codenameone. after running application on codenameone simulator decided build, build server giving me following error log :
executing: /home/ec2-user/android-sdk/tools/android create project --target android-21 --name application --path /tmp/build2045678520977010415xxx/application --activity applicationstub --package com.microserve.mssn created directory /tmp/build2045678520977010415xxx/application/src/com/microserve/mssn added file /tmp/build2045678520977010415xxx/application/src/com/microserve/mssn/applicationstub.java created directory /tmp/build2045678520977010415xxx/application/res created directory /tmp/build2045678520977010415xxx/application/bin created directory /tmp/build2045678520977010415xxx/application/libs created directory /tmp/build2045678520977010415xxx/application/res/values added file /tmp/build2045678520977010415xxx/application/res/values/strings.xml created directory /tmp/build2045678520977010415xxx/application/res/layout added file /tmp/build2045678520977010415xxx/application/res/layout/main.xml created directory /tmp/build2045678520977010415xxx/application/res/drawable-xhdpi created directory /tmp/build2045678520977010415xxx/application/res/drawable-hdpi created directory /tmp/build2045678520977010415xxx/application/res/drawable-mdpi created directory /tmp/build2045678520977010415xxx/application/res/drawable-ldpi added file /tmp/build2045678520977010415xxx/application/androidmanifest.xml added file /tmp/build2045678520977010415xxx/application/build.xml added file /tmp/build2045678520977010415xxx/application/proguard-project.txt executing: /home/ec2-user/android/ant/bin/ant release buildfile: /tmp/build2045678520977010415xxx/application/build.xml -set-mode-check: -set-release-mode: -release-obfuscation-check: [echo] proguard.config proguard.cfg [echo] proguard.config enabled -pre-build: -check-env: [checkenv] android sdk tools revision 23.0.5 [checkenv] installed @ /home/ec2-user/android-sdk -setup: [echo] project name: application [gettype] project type: application -build-setup: [getbuildtools] using latest build tools: 20.0.0 [echo] resolving build target application... [gettarget] project target: android 5.0 [gettarget] api level: 21 [echo] ---------- [echo] creating output directories if needed... [mkdir] created dir: /tmp/build2045678520977010415xxx/application/bin/res [mkdir] created dir: /tmp/build2045678520977010415xxx/application/bin/rsobj [mkdir] created dir: /tmp/build2045678520977010415xxx/application/bin/rslibs [mkdir] created dir: /tmp/build2045678520977010415xxx/application/gen [mkdir] created dir: /tmp/build2045678520977010415xxx/application/bin/classes [mkdir] created dir: /tmp/build2045678520977010415xxx/application/bin/dexedlibs [echo] ---------- [echo] resolving dependencies application... [dependency] library dependencies: [dependency] no libraries [dependency] [dependency] ------------------ [echo] ---------- [echo] building libraries 'release'... [subant] no sub-builds iterate on -code-gen: [mergemanifest] merging androidmanifest files one. [mergemanifest] manifest merger disabled. using project manifest only. [echo] handling aidl files... [aidl] no aidl files compile. [echo] ---------- [echo] handling renderscript files... [echo] ---------- [echo] handling resources... [aapt] generating resource ids... [aapt] /tmp/build2045678520977010415xxx/application/res/values/strings.xml:3: error: apostrophe not preceded \ (in da'awah week) build failed /home/ec2-user/android-sdk/tools/ant/build.xml:653: following error occurred while executing line: /home/ec2-user/android-sdk/tools/ant/build.xml:698: null returned: 1 total time: 1 second
the inclusion of ' character in app title seems source of problem. can fix in build server might have issues in other platforms too.
Comments
Post a Comment