Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Hi Marina,

I think it is still shared - Apprentice Guide.

Kind Regards

Andrew

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

apk error on export

Thank you! We'll test and I update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

apk error on export

It's a bug, I'll report this problem.

Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Thanks Marina, it's been driving me mad all day!

Kind Regards

Andrew

Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Thanks Marina, it's been driving me mad all day!

Kind Regards

Andrew

Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Hi,

Can I just check to see of Android and Apple build features have been fixed and that the build errors I am getting are down to me or is still a system error?

Kind Regards

Andrew

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

apk error on export

The binary build should be working, the only thing we are still working on is including custom icons in the build.

Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Hi Max,

Sadly not for me. Here is the latest build failure

Kind Regards

Andrew

Started by user anonymous
Building remotely on Tiggzi-git

Deleting project workspace... done

[copy-to-slave] Copying '52972/85175/android/**/*', excluding nothing, from 'file:/srv/tiggzi/temp/build_temp/' on the master to 'file:/srv/tiggzi/lib/jenkins/workspace/85175-android/' on 'Tiggzi-git'.
[85175-android] $ /bin/sh -xe /tmp/hudson4296637184318936221.sh
[85175-android] $ /bin/sh -xe /tmp/hudson6576386412023181106.sh

  • TARGET_NODE=a href="mailto:tiggzi@appery.io" rel="nofollow"tiggzi@appery.io/a

  • TARGET_DIR=/srv/tiggzi/temp/files/BINARY/85175-android

  • SOURCE_FILE_NAME=Apprentice_Guide.zip

  • SOURCE_RELATIVE_PATH=./52972/85175/android

  • SRC_ZIP=./52972/85175/android/Apprentice_Guide.zip
    ++ cut -d . -f1
    ++ echo Apprentice_Guide.zip

  • SRC_DIR_NAME=Apprentice_Guide
    ++ unzip -qo ./52972/85175/android/Apprentice_Guide.zip -d ./52972/85175/android
    ++ chmod -R 777 ./52972/85175/android

  • echo 'Extracting sources from archive'
    Extracting sources from archive

  • chmod -R 777 ./52972/85175/android

  • SSH_KEY=/srv/tiggzi/.ssh/jenkins.key

  • ssh -i /srv/tiggzi/.ssh/jenkins.key a href="mailto:tiggzi@appery.io" rel="nofollow"tiggzi@appery.io/a 'mkdir -p /srv/tiggzi/temp/files/BINARY/85175-android; rm -f /srv/tiggzi/temp/files/BINARY/85175-android/*.apk'

  • cd ./52972/85175/android

  • mvn clean package -Psign
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] Apprentice_Guide-parent
    [INFO] barcode scanner
    [INFO] Apprentice_Guide
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Apprentice_Guide-parent 1.1-parent
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Apprentice_Guide-parent ---
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building barcode scanner 1.0
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ BarcodeScanner ---
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:generate-sources (default-generate-sources) @ BarcodeScanner ---
    [INFO] ANDROID-904-002: Found aidl files: Count = 0
    [INFO] ANDROID-904-002: Found aidl files: Count = 0
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt [package, -m, -J, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/generated-sources/r, -M, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/AndroidManifest.xml, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/res, --auto-add-overlay, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/assets, -I, /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-10/android.jar]
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt)
    [INFO]
    [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ BarcodeScanner ---
    [debug] execute contextualize
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/src/main/resources
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/generated-sources/extracted-dependencies/src/main/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ BarcodeScanner ---
    [INFO] Compiling 238 source files to /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/classes
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:proguard (default-proguard) @ BarcodeScanner ---
    [INFO]
    [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ BarcodeScanner ---
    [debug] execute contextualize
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/src/test/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ BarcodeScanner ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ BarcodeScanner ---
    [INFO] No tests to run.
    [INFO] Surefire report directory: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/surefire-reports

    -------------------------------------------------------
    T E S T S
    -------------------------------------------------------

    Results :

    Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

    [INFO]
    [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ BarcodeScanner ---
    [INFO] Building jar: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/BarcodeScanner-1.0.jar
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:apklib (default-apklib) @ BarcodeScanner ---
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt [package, -f, -M, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/AndroidManifest.xml, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/res, --auto-add-overlay, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/assets, -I, /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-10/android.jar, -F, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/BarcodeScanner-1.0.ap_]
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt)
    [INFO] Building jar: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/BarcodeScanner-1.0.apklib
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Apprentice_Guide 1.1
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Apprentice_Guide ---
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:generate-sources (default-generate-sources) @ Apprentice_Guide ---
    [DEBUG] Expanding: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/BarcodeScanner-1.0.apklib into /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0
    [DEBUG] expand complete
    [INFO] ANDROID-904-002: Found aidl files: Count = 0
    [INFO] ANDROID-904-002: Found aidl files: Count = 0
    [INFO] ANDROID-904-002: Found aidl files: Count = 0
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt [package, -m, -J, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/generated-sources/r, -M, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/AndroidManifest.xml, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/res, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/res, --auto-add-overlay, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/assets, -I, /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-17/android.jar]
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt)
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt [package, -m, -J, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/generated-sources/r, --custom-package, com.google.zxing.client.android, -M, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/AndroidManifest.xml, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/res, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/res, --auto-add-overlay, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/assets, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/assets, -I, /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-17/android.jar]
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt)
    [INFO]
    [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ Apprentice_Guide ---
    [debug] execute contextualize
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/src/main/resources
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/generated-sources/extracted-dependencies/src/main/resources
    [INFO] Copying 0 resource
    [INFO]
    [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ Apprentice_Guide ---
    [INFO] Compiling 251 source files to /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/classes
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:proguard (default-proguard) @ Apprentice_Guide ---
    [INFO]
    [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ Apprentice_Guide ---
    [debug] execute contextualize
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/src/test/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ Apprentice_Guide ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ Apprentice_Guide ---
    [INFO] No tests to run.
    [INFO] Surefire report directory: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/surefire-reports

    -------------------------------------------------------
    T E S T S
    -------------------------------------------------------

    Results :

    Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:dex (default-dex) @ Apprentice_Guide ---
    [INFO] /opt/jdk1.6.0_33/jre/bin/java [-jar, /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/lib/dx.jar, --dex, --output=/srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/classes.dex, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/BarcodeScanner/target/BarcodeScanner-1.0.apklib, /srv/tiggzi/.m2/repository/org/apache/cordova/cordova/2.4.0/cordova-2.4.0.jar, /srv/tiggzi/.m2/repository/com/google/android/gcm/gcm/r3/gcm-r3.jar, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/classes]
    [INFO]
    [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ Apprentice_Guide ---
    [INFO] Building jar: /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/Apprentice_Guide-1.1.jar
    [INFO]
    [INFO] --- android-maven-plugin:3.0.0:apk (default-apk) @ Apprentice_Guide ---
    [INFO] Copying dependency assets files to combined assets directory.
    [INFO] Copying local assets files to combined assets directory.
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt [package, -f, -M, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/AndroidManifest.xml, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/res, -S, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/res, --auto-add-overlay, -A, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/generated-sources/combined-assets/assets, -I, /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-17/android.jar, -F, /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/Apprentice_Guide-1.1.ap_]
    [INFO] /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt: /lib/libz.so.1: no version information available (required by /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt)
    [INFO]
    [INFO] --- maven-jarsigner-plugin:1.2:sign (signing) @ Apprentice_Guide ---
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Apprentice_Guide-parent ........................... SUCCESS [0.398s]
    [INFO] barcode scanner ................................... SUCCESS [14.394s]
    [INFO] Apprentice_Guide .................................. FAILURE [34.349s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 51.670s
    [INFO] Finished at: Fri Jun 28 06:06:07 UTC 2013
    [INFO] Final Memory: 14M/56M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign (signing) on project Apprentice_Guide: Failed executing '/bin/sh -c cd /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide && /opt/jdk1.6.0_33/jre/../bin/jarsigner -keystore assets/www/keystore.jks -storepass '**' -keypass '**' /srv/tiggzi/lib/jenkins/workspace/85175-android/52972/85175/android/Apprentice_Guide/target/Apprentice_Guide-1.1.apk appery.project' - exitcode 1 - [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/di...
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn -rf :Apprentice_Guide
    Build step 'Execute shell' marked build as failure
    Finished: FAILURE

Andrew Gilmour5879596
Posts: 0
Joined: Wed May 22, 2013 1:22 pm

apk error on export

Hi Max,

Further to my last - I can export APK but not when I click the release button in Android Binary page.

Kind Regards

Andrew

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

apk error on export

[quote:]
but not when I click the release button in Android Binary page
[/quote]
Do you mean when you check Release in Project App settings Android binary?

Return to “Issues”