Unable to complete android build (server exception)

3 posts, 0 answers
  1. alexis
    alexis avatar
    3 posts
    Member since:
    Mar 2014

    Posted 05 May 2015 Link to this post

    Hello,

    Since yesterday I have a server exception when I build an hybrid app for Android. (It built fine for a few weeks)

    Could someone please help me ?

     Alexis

     

    Error in the "Build" screen result:

     

    X Unable to complete build:

    Server exceptionProject "checkinselfie.tmp.proj" (default targets):
    android Build Tooling revision 2015.4.28.5r
    Warning: BUILD FAILED
    /home/builder/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
    /home/builder/android-sdk-linux/tools/ant/build.xml:698: null returned: 1

    Total time: 3 seconds
    Error: [aapt] /tmp/builds/9DqZKAqJ1JUTpdeBfz/app/bin/AndroidManifest.xml:2: error: Error: String types not allowed (at 'versionCode' with value '').
    Error: /home/builder/BpcTooling/BuildScripts/node_build/node_modules/child-process-promise/node_modules/q/q.js:126
    throw e;
    ^
    "ant -f /tmp/builds/9DqZKAqJ1JUTpdeBfz/app/build.xml -Dkey.store=/home/builder/BpcTooling/Cordova3//debug.keystore -Dkey.store.password=android -Dkey.alias=androiddebugkey -Dkey.alias.password=android release" failed with code 1
    Error: 'Build failed with error code 8'
    Done building project "checkinselfie.tmp.proj" -- FAILED.

  2. alexis
    alexis avatar
    3 posts
    Member since:
    Mar 2014

    Posted 05 May 2015 Link to this post

    It seems ok since I changed Android : Version code to a greater number than 1 (the default value from the beginning).

  3. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 08 May 2015 Link to this post

    Hi Alexis,

    We were able to detect the change in our implementation that leads to the AndroidVersionCode not being set by default. We will address the issue as soon as possible.

    In the meantime, I'd like to apologize for this inconvenience.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top