BUILD LOG: :compileReleaseJava.../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/src/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:35: error: package android.support.v4.content does not exist import android.support.v4.content.LocalBroadcastManager; ^ .../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/src/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:636: error: cannot find symbol LocalBroadcastManager.getInstance(mWebView.getContext()).sendBroadcastSync(intent); ^ symbol: variable LocalBroadcastManager location: class DatecsSDKWrapper Note: .../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/src/org/apache/cordova/splashscreen/SplashScreen.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: .../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/src/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileReleaseJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 25.057 secs ERROR building one of the platforms: Error: .../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/gradlew: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: .../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/gradlew: Command failed with exit code 1 at ChildProcess.whenDone (.../builds/build.2016-06-30.13-49-54.DRYBC0.tmp/cordova_project/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:139:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
I recommend contacting this plugin's developer directly about the inability to use it with your project configuration and errors received at https://github.com/giorgiofellipe/cordova-plugin-datecs-printer/issues. They should be able to provide details in regards to the requirements that need to be met since it is not listed on their github page.
Rodrigo -- the part of the error log that will reveal the details needed to understand why the build failed is above that part you pasted into your response. Please attach the entire build log as text file, using the "Attach Files to Post" link below the edit windows when you reply to this post.