0

I have the following problem:

Task :app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  C:\Users\user\.gradle\caches\transforms-1\files-1.1\fragment-1.3.6.aar\b090b1ee4521402de78f1b81ff8d6f6a\res\values\values.xml:6:5-10:25: AAPT: error: resource android:attr/lStar not found.

  error: failed linking references.

BUILD FAILED in 4s
D:\projects\platforms\android\gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  C:\Users\gianl\.gradle\caches\transforms-1\files-1.1\fragment-1.3.6.aar\b090b1ee4521402de78f1b81ff8d6f6a\res\values\values.xml:6:5-10:25: AAPT: error: resource android:attr/lStar not found.

I show you my ionic info

Ionic:

   Ionic CLI          : 6.17.1
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 10.0.0 (cordova-lib@10.1.0)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : no whitelisted plugins (16 plugins total)

Utility:

   cordova-res : 0.15.3
   native-run  : not installed globally

System:

   Android SDK Tools : 26.1.1 (C:\Users\gianl\AppData\Local\Android\sdk)
   NodeJS            : v12.14.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.13.4
   OS                : Windows 10

SDK version is 31 Java version 1.8.0_202

I tried adding the plugins and it didn't work github issue

also try removing android platform using below commands

ionic cordova platform rm android
ionic cordova platform add android@8.1.0

nothing worked, and besides that I have a problem with the cordova.plugins.diagnostic plugin that did not detect the location

GianL
  • 3
  • 1

0 Answers0