APK Compiling Errors (Fresh Install)

Please post anything related to the Hollywood APK Compiler here
Post Reply
PEB
Posts: 574
Joined: Sun Feb 21, 2010 1:28 am

APK Compiling Errors (Fresh Install)

Post by PEB »

I had to reinstall everything on my Windows 10 computer.
I'm now having trouble creating an apk file from my Hollywood applet.
I'm using the latest APK Compiler (4.4), Android Studio 2022.1.1 (Electric Eel), and Gradle 6.7.1.
I've cleaned the target before trying to compile, and I get these errors:
Execution failed for task ':app:mergeExtDexArm7Debug'.
> Could not resolve all files for configuration ':app:arm7DebugRuntimeClasspath'.
> Failed to transform appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-incremental-transform=true, dexing-is-debuggable=true, dexing-min-sdk=19, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: C:\Users\Laura\.gradle\caches\transforms-2\files-2.1\7a7350d124564f1cc498373e0542c432\appcompat-1.1.0-runtime.jar.
> Error while dexing.
(...and a bunch more similar errors.)



Execution failed for task ':app:bundleArm7DebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
> Android resource linking failed
ERROR:: AAPT: aapt2.exe E 07-18 15:21:34 7656 4824 LoadedArsc.cpp:96] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 07-18 15:21:34 7656 4824 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\Laura\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.
error: failed to load include path C:\Users\Laura\AppData\Local\Android\Sdk\platforms\android-35\android.jar.



Execution failed for task ':app:processArm7DebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
ERROR:: AAPT: aapt2.exe E 07-18 15:21:34 11140 3984 LoadedArsc.cpp:96] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 07-18 15:21:34 11140 3984 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\Laura\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.
error: failed to load include path C:\Users\Laura\AppData\Local\Android\Sdk\platforms\android-35\android.jar.
User avatar
airsoftsoftwair
Posts: 5594
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: APK Compiling Errors (Fresh Install)

Post by airsoftsoftwair »

Looks like you're using the Android SDK for API level 35. Can you try to delete that and go back to the SDK for Android 13 (API level 33) in SDK Manager?
PEB
Posts: 574
Joined: Sun Feb 21, 2010 1:28 am

Re: APK Compiling Errors (Fresh Install)

Post by PEB »

That did the trick.

Thanks!
Post Reply