Sygic / sygic-maps-kit-android

Project containing Android libraries separated into modules which are built over Sygic Maps SDK and provide rapid development of apps with Sygic maps solution.
MIT License
22 stars 3 forks source link

Missing format attribute in custom-attributes definition causing build to fail #104

Closed mohand1993 closed 4 years ago

mohand1993 commented 4 years ago

When building the app using gradle 3.6 or higher, the error below pops up causing the build to fail. I think it happens because of the missing format in the attribute definition.


> Task :app-samples:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app-samples:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:510:5-512:13: AAPT: error: style attribute 'attr/itemLayoutId (aka asfinag.sdk.early.tt:attr/itemLayoutId)' not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:513:5-516:13: AAPT: error: style attribute 'attr/clearButtonIcon (aka asfinag.sdk.early.tt:attr/clearButtonIcon)' not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:567:5-573:25: AAPT: error: resource attr/imageSource (aka asfinag.sdk.early.tt:attr/imageSource) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:567:5-573:25: AAPT: error: resource attr/imageDescription (aka asfinag.sdk.early.tt:attr/imageDescription) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:567:5-573:25: AAPT: error: resource attr/titleText (aka asfinag.sdk.early.tt:attr/titleText) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:567:5-573:25: AAPT: error: resource attr/suggestionText (aka asfinag.sdk.early.tt:attr/suggestionText) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:567:5-573:25: AAPT: error: resource attr/actionButtonText (aka asfinag.sdk.early.tt:attr/actionButtonText) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:631:5-633:25: AAPT: error: resource attr/itemLayoutId (aka asfinag.sdk.early.tt:attr/itemLayoutId) not found.

     sygic-maps-kit-android/uikit/views/build/intermediates/packaged_res/debug/values/values.xml:634:5-637:25: AAPT: error: resource attr/clearButtonIcon (aka asfinag.sdk.early.tt:attr/clearButtonIcon) not found.
mohand1993 commented 4 years ago

already resolved with 61641ea84fa763792c2d198b770818b8311e1927