Skip to content

cant build android ':app:processDebugResources' #3976

@peppeg85

Description

@peppeg85

hello, here i am again.... to build with xcode 10 on ios i've updated the project to the latest nativescript and now for ios everything works fine, but now the build fails with android, i have the following errors:

/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/design-27.0.1.aar/80c7236b8432824c4fd5ccc148f96f4d/res/values-v26/values-v26.xml:3:5-6:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values-v26/values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values/values.xml:252:5-69: AAPT: error: resource android:attr/keyboardNavigationCluster not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values/values.xml:252:5-69: AAPT: error: resource android:attr/fontStyle not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values/values.xml:252:5-69: AAPT: error: resource android:attr/font not found.
    
/Users/macbook/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/00e9d67a4c45f8d092811e0b5d3d4bbc/res/values/values.xml:252:5-69: AAPT: error: resource android:attr/fontWeight not found.
    

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.

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

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
Unable to apply changes on device: 06d372470073c2f0. Error is: Command ./gradlew failed with exit code 1.

i tried running with many sdk versions, i've updated the project structure for nativescript 4, but with no result. thanks in advance

--EDIT:
i followed this discussion:

https://github.com/NativeScript/NativeScript/issues/5729

trying with update gradle, but with no result...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions