Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

I recently upgraded my old Android project (previously targetSdkVersion 28 and compileSdkVersion 28) to API 35. Here’s what I changed: 1: Installed JDK 17 (Temurin 17.0.18) 2: Installed Android Studio ...
Neldison's user avatar
1 vote
1 answer
271 views

Since I upgrade the Android Studio for API 36 I can't to work with any project without appt2 error at compile. Like below. How I can to fix this? Thanks. "Execution failed for task ':app:...
Helcio Ramos de Lima's user avatar
1 vote
1 answer
1k views

I'm trying to update my Android project from compileSdkVersion 34 and targetSdkVersion 34 to version 35. However, after updating, my project fails to build and I get the following AAPT2 error in ...
Arthur Ricarte's user avatar
0 votes
0 answers
68 views

I am in the process of making an app, and have almost finished it but got stuck with making my plaintext AndroidManifest.xml binary on Android itself, I have a Flutter project using some Kotlin code, ...
XTREME's user avatar
  • 87
1 vote
1 answer
945 views

I am trying to build a Flutter APK using the command: flutter build apk But I am getting this error: * What went wrong: Execution failed for task ':flutter_plugin_android_lifecycle:...
yash gupta's user avatar
5 votes
0 answers
734 views

I was trying various methods to use apktool on my Android-based server. My Android server runs on an arm64 architecture, but when I extracted the aapt2 binary file required for APK building from ...
Lucas's user avatar
  • 41
1 vote
0 answers
125 views

As per Android Gradle Plugin 4.2.0 (March 2021) release notes New JVM resource compiler A new JVM resource compiler in Android Gradle plugin 4.2 tool replaces portions of the AAPT2 resource compiler, ...
Omkar T's user avatar
  • 903
2 votes
0 answers
388 views

In my android app I use custom notification sounds from the raw folder for my notification channels. The sounds are passed to the notification channels as URI with Uri.parse("android.resource://...
ph1l's user avatar
  • 164
0 votes
1 answer
2k views

I'm upgrading my application from flutter 2.5.0 to 3.19.0 and continuously getting the same error I have tried with multiple Gradle versions but nothing worked I have tried different Gradle version ...
Ganesh Kumar's user avatar
3 votes
0 answers
939 views

I imported an app from an old version of eclipse, and after fixing all the problems with the build.gradle, I'm trying to run the app but Android Studio says: Execution failed for task ':...
aleix's user avatar
  • 31
0 votes
1 answer
160 views

In the process of generating a .aab file for Google Play Store am trying to run the following command as a part of the process: aapt2.exe link --proto-format -o base.zip -I android.jar --manifest ...
AnR's user avatar
  • 2,225
0 votes
1 answer
659 views

I'm currently working on automating the APK build process, setting up a Jenkins pipeline for the project. My Jenkins is on a Docker container that has npm, Ionic, OpenJDK, Android SDK, and Gradle ...
Utkarsh's user avatar
0 votes
1 answer
397 views

My android studio was working perfect and well after I newly installed in my new windows. I opened android studio about 15 days later (Now) and updated some dependencies. I get this error while ...
Rafiqullah Taibzada's user avatar
3 votes
1 answer
4k views

What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade AAPT2 aapt2-4.1.0-6503028-osx ...
Lalit Patel's user avatar
2 votes
1 answer
5k views

React Native version 63.5, AAPT2 aapt2-4.1.3-6503028-osx Daemon #0: Unexpected error during link, attempting to stop daemon. This should not happen under normal circumstances. Even after undoing the ...
Kamlesh Prajapati's user avatar
0 votes
1 answer
990 views

Execution failed for task ':app:processDebugResources'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform core-1.6.0.aar (androidx.core:core:1.6.0) to ...
Sagar Shanbhag's user avatar
1 vote
1 answer
351 views

To build my APK file I run the following command: /opt/android/build-tools/android-7.0/aapt2 link compiled_res/resources.zip /opt/android/platforms/android-23/android.jar --manifest App-APK/...
Samael Morningstar's user avatar
3 votes
1 answer
907 views

I'm trying to compile an android app in a raspberry. When I use gradlew assembleRelease I get this error. I don't find anything about it on internet... (( AAPT2 aapt2-7.2.0-7984345-linux Daemon #0: ...
Torralba's user avatar
3 votes
0 answers
389 views

as part of a custom Android build chain, I am calling "aapt2 link" in order to link the files generated by a previous call to "aapt2 compile" together. This works fine on Mac, but ...
marc hoffman's user avatar
0 votes
1 answer
311 views

After upgrading from Gradle wrapper 4.4.1 to 6.1.1, along with going from Android build tools 2.3.0 to 4.0.0, builds all of a sudden fail with the following error: res/values/treeview_styles.xml:3:5-6:...
user149408's user avatar
  • 6,319
2 votes
1 answer
3k views

When I want to build my .NET MAUI Application on Android, I get this error: 1> C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.4\tools\Xamarin.Android.Aapt2.targets(212,3): ...
user avatar
0 votes
1 answer
435 views

I'm trying to convert a standard XML file Like <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="30dp" android:height="30dp" ...
Seif Ashraf's user avatar
5 votes
1 answer
597 views

With the equivalent command line, why aapt.exe output different ids than aapt2.exe? also how work exacly the r.java? I use aapt and aapt2 to produce the r.java like this : "aapt.exe" package ...
zeus's user avatar
  • 13.4k
0 votes
0 answers
621 views

I'm trying to create Android App Bundle (.aab) as it is described here Build your app from the command line. I first compile the resources: aapt2 compile res/drawable-hdpi/icon.png -o ...
Maor2871's user avatar
  • 147
2 votes
1 answer
292 views

For some raison I do not yet understand, aapt and aapt2 do not output the same ID. is their any way to force aapt2 to output the same ID generated by aapt ?
zeus's user avatar
  • 13.4k
7 votes
2 answers
8k views

I'm building an Android app targeting Android API 33 (Android 13). When I build the app on the command line using gradlew, I see the following warning: aapt2 W 09-02 02:57:09 6715 6715 LoadedArsc....
rmtheis's user avatar
  • 5,474
1 vote
0 answers
205 views

i'm trying to build an Android app referencing the androidx.legacy:legacy-support-v13 package, and unfortunately the AAPT2 link phase always fails for me with these three errors: values.xml, line 4 — ...
marc hoffman's user avatar
1 vote
1 answer
2k views

I try to understand how a .apk file is built from source code. I know that with Android Studio or with the command gradlew the build can be done easily. The Android Sdk provides multiple tools that ...
JANO's user avatar
  • 3,096
3 votes
1 answer
4k views

Im trying do build an android app made with ionic angular inside a docker image built and im getting the following error The image is build correctly however when i try to run the command ./gradlew ...
Gabriel Gonçalves's user avatar
3 votes
0 answers
348 views

I'm attempting to create Java sources for the R class using aapt2, however it results in errors that I'm having trouble working out how to resolve. The library in question is the androidx appcompat ...
Dave Nottage's user avatar
  • 3,786
1 vote
1 answer
703 views

I am trying to turn an apk into aab, decompile with apktool, and build with aapt2 and bundletool (all in command line, without gradle). After decompile, aapt2 compile and link looks good, but when I ...
Thx61's user avatar
  • 21
1 vote
2 answers
2k views

I am trying to work with Jenkins however I cannot build the apk with it as I am having issue with AAPT2 and Gradle. FAILURE: Build failed with an exception. * What went wrong: Execution failed for ...
Bitwise DEVS's user avatar
  • 3,871
0 votes
1 answer
349 views

While trying to use aapt2 to link some resources, I got this error message error: resource drawable/googleg_standard_color_18 (aka com.google.android.gms.auth.api:drawable/googleg_standard_color_18) ...
localacct's user avatar
  • 797
0 votes
1 answer
85 views

One of the autogenerated files (R file) is showing missing while building the project. ext.kotlin_version = "1.5.0" classpath 'com.android.tools.build:gradle:4.2.0' compileSdkVersion 30 ...
K D's user avatar
  • 27
58 votes
10 answers
100k views

I got this error while trying to build an Android app: Execution failed for task ':admin:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$...
Schnelldev's user avatar
  • 1,502
0 votes
1 answer
363 views

I'm trying to implement mercadopago px, but at run time it returns an error AAPT2 aapt2-4.1.3-6503028-linux Daemon # 2: Unexpected error during compile I looked for some solutions Link , some say it ...
João Mello's user avatar
-2 votes
1 answer
256 views

I'm using Nethunter, and the architecture is Linux arm, and I would love to use the apktool tool, I'm studying and reading pentest books, but I can't practice if I don't apply what's there, the ...
Dakota's user avatar
  • 40
0 votes
2 answers
3k views

Aapt2 error in android studio when generating apk This problem started as soon as I updated android studio to 4.1.1. I already uninstalled and installed it, I deleted it gradle I already did several ...
Nicolas Alberto's user avatar
12 votes
4 answers
20k views

After a recent update, Android Studio fails to build an unmodified project with errors along these lines: > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$...
John Perry's user avatar
  • 2,723
4 votes
1 answer
1k views

We have a great build system, so we're not looking to use gradle. Right now, we use appt to build an APK and it works great and the APK runs well. I see that aapt2 is the future, though, and so we'd ...
saxzez's user avatar
  • 152
6 votes
3 answers
10k views

This is the configuration I have on my project: Android Studio 4.1 (September 23, 2020) Android Gradle Plugin Version 4.1.0 Gradle Version 6.7 Compile SDK 29 (Android 10.0 Q) Build Tools 29.0.2 Min ...
asquo's user avatar
  • 61
0 votes
1 answer
406 views

The apk that I build using gradlew assembleVariant builds OK, but for some reason the AndroidManifest.xml inside the apk is not in binary format. I can open it just fine in a text editor, which is ...
Vas's user avatar
  • 2,096
1 vote
0 answers
172 views

flutter run Launching lib\main.dart on Redmi 8A Dual in debug mode... Running Gradle task 'assembleDebug'... [Fatal Error] aapt2-3.5.0-5435860.pom:2:1: Content is not allowed in prolog. Running Gradle ...
Venkatraju Nagaraju's user avatar
1 vote
0 answers
300 views

With the previous AAPT it was possible to include multiple resource sources with the -S parameter as follows: aapt.exe package -S res -S extract\design\res -S extract\appcompat-v7\res -I "%...
gotwo's user avatar
  • 870
1 vote
0 answers
2k views

My every project build error AAPT2 process unexpectedly exit since a week. I don't know why? I tried almost every solution on internet. I also reinstall my windows 10 and Android studio. Still the ...
Amit Singh's user avatar
1 vote
0 answers
521 views

I'm running AAPT2 from the command line: %PATH_AAPT2%\aapt2.exe compile -v --dir res -o build Many resource files are compiled. But after a time aapt2 is aborting with the message Check failed: ...
gotwo's user avatar
  • 870
0 votes
1 answer
501 views

The actual problem is that the syncing process is going great without any errors.But after sync was successful when i try to build the app, there are 2 errors shown: A failure occurred while executing ...
avinash 's user avatar
0 votes
0 answers
246 views

No errors when flutter doctor command was executed. I tried with updating Gradle with the latest version 6.4 and setting at env variable path as well, in the dist folder as well it is showing ...
Steffy Mary Varghese's user avatar
11 votes
6 answers
18k views

I am having an issue with building new projects on android studio. I keep on getting the error: Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com....
Alexander Laevens's user avatar
0 votes
0 answers
120 views

In my project I have xml drawable with gradient and aapt tag <vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" android:width="...
Eugene I's user avatar