155 questions
0
votes
0
answers
48
views
AAPT2 TLS Handshake Failure After Upgrading to Android SDK 35, AGP 8.2.2, and JDK 17 on Windows
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 ...
1
vote
1
answer
267
views
aapt2 Error when compile Task ":app:processDebugResources FAILED"
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:...
1
vote
1
answer
1k
views
AAPT2 error when upgrading compileSdkVersion and targetSdkVersion from 34 to 35
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 ...
0
votes
0
answers
68
views
Encoding resources to binary on Android
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, ...
1
vote
1
answer
939
views
Flutter APK Build Fails: AAPT2 Error - "RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data" for android-35
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:...
5
votes
0
answers
708
views
Is it possible to obtain the aapt2 binary file built for the arm64 architecture?
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 ...
1
vote
0
answers
125
views
How to disable new JVM resource compiler in Android Gradle plugin for release apk
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, ...
2
votes
0
answers
385
views
Android: How to configure stable resource id's with aapt2
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://...
0
votes
1
answer
2k
views
Build Failed with Exception AAPT2 aapt2-7.0.0-7396180-osx Daemon #0: Unexpected error during link, attempting to stop daemon
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 ...
3
votes
0
answers
938
views
Android Studio says that "Cannot resolve external dependency because no repositories are defined" despite of I have repositories defined
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 ':...
0
votes
1
answer
159
views
AndroidManifest.xml:3: error: resource mipmap/launcher_icon (aka com.xyz.dbdb:mipmap/launcher_icon) not found
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 ...
0
votes
1
answer
659
views
Jenkins -AAPT2 - Daemon startup failed
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 ...
0
votes
1
answer
395
views
Getting an error in android studio while launching or building app "Execution failed for task ':app:processDebugResources'"?
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 ...
3
votes
1
answer
4k
views
AAPT2 aapt2-4.1.0-6503028-osx Daemon #0: Unexpected error during link, attempting to stop daemon
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 ...
2
votes
1
answer
5k
views
AAPT2 aapt2-4.1.3-6503028-osx Daemon #0: Unexpected error during link, attempting to stop daemon. This should not happen under normal circumstances,
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 ...