how to fix build android app failed

2 posts, 0 answers
  1. Ticket Solutions Account
    Ticket Solutions Account avatar
    15 posts
    Member since:
    Nov 2007

    Posted 03 Dec 2015 Link to this post

    i try to build to cloud and got this error

    C:\Users\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\apeifwlb.vrj\Targets\Build.targets(189,3): error : Server build failed. Server output: Project "Oztix.SPBES.LiteMobi.tmp.proj" (default targets):
    Warning: Cannot include the following item(s) in your application: Plugins\BarcodeScanner-master\.gitignore;Plugins\BarcodeScanner-master\src\android\LibraryProject\.gitignore. 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/CloudSync.java uses or overrides a deprecated API.
    Warning: Note: Recompile with -Xlint:deprecation for details.
    Warning: /home/builder/BpcTooling/Cordova3/Plugins/com.telerik.feedback/src/android/FeedbackLib/res/values/values.xml:2 : 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 ':com.telerik.feedback:litemobileapp-FeedbackLib:processDebugResources'.
    Warning: > com.android.ide.common.process.ProcessException: 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
    Warning: --info
    Warning: or --debug option to get more log output.
    Warning: /tmp/builds/zK7KTEAUWYcb6Kfiwh/app/cordova/node_modules/q/q.js:126
    Warning: throw e;
    Warning: ^
    Error code 1 for command: /tmp/builds/zK7KTEAUWYcb6Kfiwh/app/gradlew with args: cdvBuildDebug,-b,/tmp/builds/zK7KTEAUWYcb6Kfiwh/app/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildArch=armv7,-PcdvBuildMultipleApks=true
    Error: Build failed during execution
    Error: 'Build failed with error code 8'

     

     

     

  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 07 Dec 2015 Link to this post

    Hello,

    Judging from the build error, you will most probably need to update the Telerik AppFeedback plugin in your project to its latest version (2.0). You can check this sticky forum thread for more information about why the issue occurs and what are the possible solutions for it. I hope it helps.

    Please, let us know if you will require further assistance.

    Regards,
    Kaloyan
    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