Fails to build for Android using App package ( Unable to complete build)

2 posts, 1 answers
  1. Prakash
    Prakash avatar
    1 posts
    Member since:
    Jul 2015

    Posted 30 Nov 2015 Link to this post


     I was able to build my app using app package for Android last month and it was okay.

     But when I have tried today, it fails. Can someone will help me?

    Server exception
    Project "CP.MobileApp.tmp.proj" (default targets): Warning: Cannot include the following item(s) in your application: .vs\Solution\v14\.suo;bower_components\everlive\.bower.json;bower_components\everlive\.gitattributes. The build system treats items with a leading dot as hidden files or directories and does not process them. Rename the affected items in your project and try again. android Build Tooling revision 2015.11.25.2r Warning: Note: Some input files use or override a deprecated API. Warning: Note: Recompile with -Xlint:deprecation for details. Warning: Note: /home/builder/BpcTooling/Cordova3/Plugins/com.telerik.LiveSync/src/android/LiveSync-Lib/LiveSync-Lib/src/com/telerik/LiveSync/ uses or overrides a deprecated API. Warning: Note: Recompile with -Xlint:deprecation for details. Warning: /home/builder/BpcTooling/Cordova3/Plugins/ : Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. Warning: FAILURE: Warning: Build failed with an exception. Warning: * What went wrong: Warning: Execution failed for task ''. Warning: > Warning: org.gradle.process.internal.ExecException: Process 'command '/home/builder/android-sdk-linux/build-tools/23.0.1/aapt'' finished with non-zero exit value 1 Warning: * Try: Warning: Run with Warning: --stacktrace option to get the stack trace. Run with --info or Warning: --debug option to get more log output. Warning: /tmp/builds/cCfe9XbNw10JlWqzkg/app/cordova/node_modules/q/q.js:126 Warning: throw e; ^ Error code 1 for command: /tmp/builds/cCfe9XbNw10JlWqzkg/app/gradlew with args: cdvBuildDebug,-b,/tmp/builds/cCfe9XbNw10JlWqzkg/app/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildArch=armv7,-PcdvBuildMultipleApks=true Error: Build failed during execution Error: 'Build failed with error code 8' Done building project "CP.MobileApp.tmp.proj" -- FAILED. 



  2. Answer
    Kaloyan avatar
    878 posts

    Posted 03 Dec 2015 Link to this post

    Hi Prakash,

    Judging from the error message, you will most probably need to update the AppFeedback plugin in your project to its latest version (2.0). The reason why the application built successfully before and fails now is that, with our latest release we introduce Gradle build for the Android platform. This required some changes to our plugins in order to make them compatible, but also allowed us to fix all the known jar mismatch issues we were experiencing with them. This said, there are some other plugins that need to be updated as well. For more information, please check this forum thread.

    I hope this helps.


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

Back to Top