This is a migrated thread and some comments may be shown as answers.

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

1 Answer 224 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prakash
Top achievements
Rank 1
Prakash asked on 30 Nov 2015, 07:56 PM

Hi, 

 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/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:CheckNetApplication-FeedbackLib:processDebugResources'. Warning: > 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 --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. 

Thanks,

Prakash.

1 Answer, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 03 Dec 2015, 03:04 PM
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.

Regards,
Kaloyan
Telerik
 

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

 
Tags
AppBuilder in-browser client
Asked by
Prakash
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or