Hardware Configuration for Android Failed

3 visualizaciones (últimos 30 días)
Michael Geisler
Michael Geisler el 14 de Mzo. de 2020
Editada: Michael Geisler el 14 de Mzo. de 2020
Hello,
I tried to set up the Hardware configuration for the Simulink Support Package for Android Devices on my MATLAB 2019b.4 installation. On the step where it should build and run an test app on my phone it fails at the Build phase with following error.
Build App
Execution failed for task ':processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed C:\Users\mgeisler\.gradle\caches\transforms-2\files-2.1\34db31f0c03552a3a98ca8276dfe99ac\appcompat-v7-25.3.1\res\values-v14\values-v14.xml:3:5-7:13: AAPT: error: style attribute 'android:attr/textAllCaps' not found.
C:\Users\mgeisler\.gradle\caches\transforms-2\files-2.1\34db31f0c03552a3a98ca8276dfe99ac\appcompat-v7-25.3.1\res\values-v11\values-v11.xml:3:5-8:13: AAPT: error: resource android:attr/textColorHighlightInverse not found.
C:\Users\mgeisler\.gradle\caches\transforms-2\files-2.1\34db31f0c03552a3a98ca8276dfe99ac\appcompat-v7-25.3.1\res\values-v11\values-v11.xml:3:5-8:13: AAPT: error: resource android:attr/textColorLinkInverse not found.
C:\Users\mgeisler\.gradle\caches\transforms-2\files-2.1\34db31f0c03552a3a98ca8276dfe99ac\appcompat-v7-25.3.1\res\values-v11\values-v11.xml:9:5-14:13: AAPT: error: resource android:attr/textColorHighlightInverse not found.
C:\Users\mgeisler\.gradle\caches\transforms-2\files-2.1\34db31f0c03552a3a98ca8276dfe99ac\appcompat-v7-25.3.1\res\values-v11\values-v11.xml:9:5-14:13: AAPT: error: resource android:attr/textColorLinkInverse not found. *
I use Android Studio regularly to develop apps so everything is setup and running.
Android studio version 3.5.3 as well as my android sdk are installed on my D Hard Disk.
I have installed the NDK and API Levels 23, 26, 27, 28 and 29.
from the error I guess some style attributes are missing or inaccessible in the context.
I also tryed to clear caches from the gradle build but the error still occures.
What can I do to fix this error and use android in Simulink?
Thank you for your help.

Respuestas (0)

Categorías

Más información sobre Setup and Configuration en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by