fabrizio03 opened a new issue #1144:
URL: https://github.com/apache/cordova-android/issues/1144
I am writing a small app in cordova and everything was working fine until
yesterday when I tried to run `cordova build android --release`
Since then I always get this when I try to build for android:
```
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\android\Sdk (recommended setting)
ANDROID_HOME=C:\android\Sdk (DEPRECATED)
Using Android SDK: C:\android\Sdk
Subproject Path: CordovaLib
Subproject Path: app
> Task :app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
AAPT: error: failed writing to 'C:\Users\Inspiron
15\Desktop\project\platforms\android\app\build\intermediates\runtime_symbol_list\debug\R.txt':
Invalid Data. (13).
* 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 5s
26 actionable tasks: 26 executed
Command failed with exit code 1: C:\Users\Inspiron
15\Desktop\project\platforms\android\gradlew cdvBuildDebug -b C:\Users\Inspiron
15\Desktop\project\platforms\android\build.gradle
```
I am on windows 10, using cordova 10.0.0.
The only plugins for the moment are:
cordova-plugin-file
cordova-plugin-whitelist
I have tried to uninstall and reinstall gradle (trying both 6.1.1 and 6.5),
to remove and add again android platform and I also started a new project but
nothing changed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]