Android build broken after gradle dependencies update: Execution failed for task ':processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt

Sorry here you go:

Eugenes-MacBook-Pro:newton-miguia Eugene$ ionic cordova build android --prod
Running app-scripts build: --prod --platform android --target cordova
[13:59:06]  build prod started ... 
[13:59:06]  clean started ... 
[13:59:06]  clean finished in 7 ms 
[13:59:06]  copy started ... 
[13:59:06]  ngc started ... 
Warning: Can't resolve all parameters for WebAudioTrack in /Users/Eugene/Development/Repos/Pfizer/newton-miguia/node_modules/ionic-audio/dist/ionic-audio-web-track.d.ts: (?, ?). This will become an error in Angular v5.x
Warning: Can't resolve all parameters for CordovaAudioTrack in /Users/Eugene/Development/Repos/Pfizer/newton-miguia/node_modules/ionic-audio/dist/ionic-audio-cordova-track.d.ts: (?). This will become an error in Angular v5.x
[13:59:22]  ngc finished in 16.41 s 
[13:59:22]  preprocess started ... 
[13:59:22]  deeplinks started ... 
[13:59:24]  deeplinks finished in 1.55 s 
[13:59:24]  optimization started ... 
[13:59:53]  optimization finished in 29.36 s 
[13:59:53]  preprocess finished in 30.91 s 
[13:59:53]  webpack started ... 
[13:59:53]  copy finished in 47.48 s 
[14:02:10]  webpack finished in 136.59 s 
[14:02:10]  sass started ... 
[14:02:10]  uglifyjs started ... 
[14:02:12]  autoprefixer: <css input>:32897:3: Gradient has outdated direction syntax. New syntax is like `to left` 
            instead of `right`. 
[14:02:12]  autoprefixer: <css input>:33082:3: Gradient has outdated direction syntax. New syntax is like `to left` 
            instead of `right`. 
[14:02:13]  sass finished in 2.60 s 
[14:02:13]  cleancss started ... 
[14:02:16]  cleancss finished in 3.27 s 
[14:02:47]  uglifyjs finished in 37.11 s 
[14:02:47]  postprocess started ... 
[14:02:47]  removed unused font files 
[14:02:47]  postprocess finished in 103 ms 
[14:02:47]  lint started ... 
[14:02:47]  build prod finished in 221.22 s 
> cordova build android
Processing settings for platform: android
Processing settings for platform: ios
Wrote iOS Plist: /Users/Eugene/Development/Repos/Pfizer/newton-miguia/platforms/ios/Mi Guia/Mi Guia-Info.plist
Discovered plugin "cordova-plugin-streaming-media" in config.xml. Adding it to the project

Fetching plugin "cordova-plugin-streaming-media@^1.0.2" via npm

Plugin "com.hutchind.cordova.plugins.streamingmedia" already installed on android.

Plugin "com.hutchind.cordova.plugins.streamingmedia" already installed on ios.

ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1_1
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
Subproject Path: CordovaLib

Could not find implementations for the following rules specified in the configuration:
    comma-dangle
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.
        
null

org.xwalk:xwalk_core_library:23+
Incremental java compilation is an incubating feature.

:preBuild
 UP-TO-DATE
:preArmv7DebugBuild
 UP-TO-DATE
:checkArmv7DebugManifest

:preArmv7ReleaseBuild UP-TO-DATE
:preX86DebugBuild
 UP-TO-DATE

:preX86ReleaseBuild
 UP-TO-DATE
:CordovaLib:preBuild
 UP-TO-DATE
:CordovaLib:preDebugBuild
 UP-TO-DATE
:CordovaLib:checkDebugManifest

:CordovaLib:prepareDebugDependencies

:CordovaLib:compileDebugAidl

:CordovaLib:compileDebugNdk
 UP-TO-DATE
:CordovaLib:compileLint

:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders

:CordovaLib:compileDebugShaders

:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets

:CordovaLib:mergeDebugProguardFiles

:CordovaLib:packageDebugRenderscript
 UP-TO-DATE
:CordovaLib:compileDebugRenderscript

:CordovaLib:generateDebugResValues

:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources

:CordovaLib:processDebugManifest

:CordovaLib:generateDebugBuildConfig

:CordovaLib:processDebugResources

:CordovaLib:generateDebugSources

:CordovaLib:incrementalDebugJavaCompilationSafeguard

:CordovaLib:compileDebugJavaWithJavac

:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes
 
UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug

:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

:CordovaLib:mergeDebugJniLibFolders

:CordovaLib:transformNative_libsWithMergeJniLibsForDebug

:CordovaLib:transformNative_libsWithSyncJniLibsForDebug

:CordovaLib:bundleDebug

:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest

:CordovaLib:prepareReleaseDependencies

:CordovaLib:compileReleaseAidl

:CordovaLib:compileReleaseNdk
 
UP-TO-DATE
:CordovaLib:copyReleaseLint
 UP-TO-DATE
:CordovaLib:mergeReleaseShaders

:CordovaLib:compileReleaseShaders

:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets

:CordovaLib:mergeReleaseProguardFiles

:CordovaLib:packageReleaseRenderscript
 UP-TO-DATE
:CordovaLib:compileReleaseRenderscript

:CordovaLib:generateReleaseResValues

:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources

:CordovaLib:processReleaseManifest

:CordovaLib:generateReleaseBuildConfig

:CordovaLib:processReleaseResources

:CordovaLib:generateReleaseSources

:CordovaLib:incrementalReleaseJavaCompilationSafeguard

:CordovaLib:compileReleaseJavaWithJavac

:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes
 
UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease

:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

:CordovaLib:mergeReleaseJniLibFolders

:CordovaLib:transformNative_libsWithMergeJniLibsForRelease

:CordovaLib:transformNative_libsWithSyncJniLibsForRelease

:CordovaLib:bundleRelease

:prepareAndroidArchLifecycleRuntime100Library

:prepareAndroidCordovaLibUnspecifiedDebugLibrary

:prepareComAndroidSupportAnimatedVectorDrawable2531Library

:prepareComAndroidSupportAppcompatV72531Library

:prepareComAndroidSupportCardviewV72531Library

:prepareComAndroidSupportSupportCompat2700Library

:prepareComAndroidSupportSupportCoreUi2700Library

:prepareComAndroidSupportSupportCoreUtils2700Library

:prepareComAndroidSupportSupportFragment2700Library

:prepareComAndroidSupportSupportMediaCompat2700Library

:prepareComAndroidSupportSupportV42700Library

:prepareComAndroidSupportSupportVectorDrawable2531Library

:prepareComGoogleAndroidGmsPlayServicesAnalytics1142Library

:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1142Library

:prepareComGoogleAndroidGmsPlayServicesAnalyticsImplLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesAnalyticsLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesBase1142Library

:prepareComGoogleAndroidGmsPlayServicesBaseLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesBasement1142Library

:prepareComGoogleAndroidGmsPlayServicesBasementLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesGcm1142Library

:prepareComGoogleAndroidGmsPlayServicesGcmLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesIid1142Library

:prepareComGoogleAndroidGmsPlayServicesIidLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesLocation1142Library

:prepareComGoogleAndroidGmsPlayServicesLocationLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1142Library

:prepareComGoogleAndroidGmsPlayServicesTagmanagerV4ImplLicense1142Library

:prepareComGoogleAndroidGmsPlayServicesTasks1142Library

:prepareComGoogleAndroidGmsPlayServicesTasksLicense1142Library

:prepareComUrbanairshipAndroidUrbanairshipSdk882Library

:prepareOrgXwalkXwalk_core_library23535894Library

:prepareArmv7DebugDependencies

:compileArmv7DebugAidl

:compileArmv7DebugRenderscript

:generateArmv7DebugBuildConfig
:mergeArmv7DebugShaders

:compileArmv7DebugShaders

:generateArmv7DebugAssets
:mergeArmv7DebugAssets

:createXwalkCommandLineFileArmv7Debug

:generateArmv7DebugResValues

:generateArmv7DebugResources

:mergeArmv7DebugResources

:processArmv7DebugManifest

/Users/Eugene/Development/Repos/Pfizer/newton-miguia/platforms/android/AndroidManifest.xml:72:9-82:20 Warning:
	activity#com.urbanairship.cordova.CustomLandingPageActivity was tagged at AndroidManifest.xml:72 to replace another declaration but no other declaration present
:processArmv7DebugResources
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* 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: 26.079 secs
Error: /Users/Eugene/Development/Repos/Pfizer/newton-miguia/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[ERROR] An error occurred while running cordova build android (exit code 1).
        
Eugenes-MacBook-Pro:newton-miguia Eugene$ 
1 Like