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

PushPlugin Build Error

1 Answer 22 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Francis
Top achievements
Rank 1
Francis asked on 12 Jul 2016, 11:57 PM

I'm trying to add the pushPlugin from the marketplace but I get a build error:

 

Project "FFMOBILE2.tmp.proj" (default targets): android Build Tooling revision 2016.07.07.2r Build Tooling Hostname ab-linuxbpc-2 Warning: Notice: org.apache.cordova.file has been automatically converted to cordova-plugin-file and fetched from npm. This is due to our old plugins registry shutting down. Warning: Notice: org.apache.cordova.file has been automatically converted to cordova-plugin-file and fetched from npm. This is due to our old plugins registry shutting down. Warning: Notice: org.apache.cordova.file has been automatically converted to cordova-plugin-file and fetched from npm. This is due to our old plugins registry shutting down. Warning: Note: Some input files use or override a deprecated API. Warning: Note: Recompile with -Xlint:deprecation for details. Warning: Note: Some input files use or override a deprecated API. Warning: Note: Recompile with -Xlint:deprecation for details. Warning: Note: Some input files use or override a deprecated API. Warning: Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Warning: Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/BundleUtil; Warning: Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/RemoteInputCompatJellybean; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/NotificationCompatBase; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/NotificationCompatApi20; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/FragmentTransitionCompat21$1; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/NotificationBuilderWithActions; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/NotificationBuilderWithBuilderAccessor; Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/NotificationCompatIceCreamSandwich; Warning: Unknown source file : Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ActivityCompat21$SharedElementCallbackImpl; Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION: Unknown source file : java.lang.RuntimeException: Translation has been interrupted Unknown source file : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608) Unknown source file : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) Unknown source file : at com.android.dx.command.dexer.Main.run(Main.java:277) Unknown source file : at com.android.dx.command.dexer.Main.main(Main.java:245) Unknown source file : at com.android.dx.command.Main.main(Main.java:106) Unknown source file : Caused by: java.lang.InterruptedException: Too many errors Unknown source file : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) Unknown source file : ... 4 more FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':dexArmv7Debug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 2 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Warning: /tmp/builds/hhMP6D3DmZThvDVXOA/app/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: /tmp/builds/hhMP6D3DmZThvDVXOA/app/gradlew with args: cdvBuildDebug,-b,/tmp/builds/hhMP6D3DmZThvDVXOA/app/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildArch=armv7,-PcdvBuildMultipleApks=true Error: Build failed during execution Error: 'Build failed with error code 1' Done building project "FFMOBILE2.tmp.proj" -- FAILED.

I tried changing the target cordova version, but still I get the error. I also tried adding other push notification plugin such as this one https://github.com/phonegap/phonegap-plugin-push but with no luck. 

 

I there a project setting that I am missing that is causing the problem? 

 

Thanks,

Francis

 

1 Answer, 1 is accepted

Sort by
0
Aleksandar Hitrov
Telerik team
answered on 14 Jul 2016, 10:13 AM
Hi Francis,

The issue you are reporting seems to be closely related to the one you have reported here. As with that we will need the sources of your project in order to investigate. 

Regards,
Aleksandar Hitrov
Telerik by Progress
 

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

 
Tags
AppBuilder extension for Visual Studio
Asked by
Francis
Top achievements
Rank 1
Answers by
Aleksandar Hitrov
Telerik team
Share this question
or