cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Isaic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13497) Ionic Cordova Android build broken after gradle dependencies update: Execution failed for task ‘:processDebugResources’. > com.android.ide.common.process.ProcessException: Failed to execute aapt
Date Thu, 26 Oct 2017 18:15:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220938#comment-16220938
] 

Boris Isaic commented on CB-13497:
----------------------------------

Hi All, I create a cordova blank project and seems that everything is ok. So I think we can
close the issue. But I dont understand why this problems appeared last night blockin not only
me but almost all ionic cordova developers... Kind Regards, Boris

> Ionic Cordova Android build broken after gradle dependencies update: Execution failed
for task ‘:processDebugResources’. > com.android.ide.common.process.ProcessException:
Failed to execute aapt
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-13497
>                 URL: https://issues.apache.org/jira/browse/CB-13497
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>         Environment: Ionic Cordova Android
> Markopc:Passarola - Android masamocevic$ ionic info
> cli packages: (/Users/masamocevic/Desktop/Passarola - Android/node_modules)
>     @ionic/cli-utils  : 1.15.1
>     ionic (Ionic CLI) : 3.15.1
> global packages:
>     cordova (Cordova CLI) : 7.1.0 
> local packages:
>     @ionic/app-scripts : 1.3.7
>     Cordova Platforms  : android 6.2.3 ios 4.4.0
>     Ionic Framework    : ionic-angular 3.2.1
> System:
>     Android SDK Tools : 26.1.1
>     ios-deploy        : 1.9.2 
>     Node              : v6.11.2
>     npm               : 5.3.0 
>     OS                : macOS Sierra
>     Xcode             : Xcode 8.3.3 Build version 8E3004b 
> Environment Variables:
>     ANDROID_HOME : /Users/masamocevic/Library/Android/sdk
> Misc:
>     backend : legacy
> Markopc:Passarola - Android masamocevic$ 
>            Reporter: Boris Isaic
>            Assignee: Joe Bowser
>
> Hi, I recently ran the command “ionic cordova run android” and gradle tried to download
some dependecies:
> {code}
> Incremental java compilation is an incubating feature.
> Download https://maven.google.com/com/android/support/support-v4/27.0.0/support-v4-27.0.0.pom
> Download https://maven.google.com/com/android/support/customtabs/27.0.0/customtabs-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-compat/27.0.0/support-compat-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-media-compat/27.0.0/support-media-compat-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-core-utils/27.0.0/support-core-utils-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-core-ui/27.0.0/support-core-ui-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-fragment/27.0.0/support-fragment-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.pom
> Download https://maven.google.com/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar
> Download https://maven.google.com/com/android/support/support-compat/27.0.0/support-compat-27.0.0.aar
> Download https://maven.google.com/com/android/support/support-media-compat/27.0.0/support-media-compat-27.0.0.aar
> Download https://maven.google.com/com/android/support/support-core-utils/27.0.0/support-core-utils-27.0.0.aar
> Download https://maven.google.com/com/android/support/support-core-ui/27.0.0/support-core-ui-27.0.0.aar
> Download https://maven.google.com/com/android/support/support-fragment/27.0.0/support-fragment-27.0.0.aar
> Download https://maven.google.com/com/android/support/support-v4/27.0.0/support-v4-27.0.0.aar
> Download https://maven.google.com/com/android/support/customtabs/27.0.0/customtabs-27.0.0.aar
> {code}
> After that, at the end the build fails with this message:
> {code}
> 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 ':processDebugResources'.
> > 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 run android (exit code 1).
> {code}
> I open an issue on ionicframework - but after the troubleshooting they told me that this
is cordova problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message