Android Question Android 35

Sganga61

Member
Licensed User
Longtime User
Good morning everyone.
Google play tells me that by July 30th all my Apps must be updated to Android-35.
I installed Android 35 via B4A's SDK manager and change to targetSdkVersion=35 in the manifest.
During compilation and on two different computers I always receive the same error:
Resource Link Error
aapt2.exe E 07-03 08:05:49 11092 3772 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 07-03 08:05:49 11092 3772 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Android\platforms\android-35\android.jar'.
error: failed to load include path C:\Android\platforms\android-35\android.jar.

Any idea?
 

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
I get the same error with slightly different file line numbers:
B4A Version: 13.30
Parsing code. (0.16s)
Java Version: 19
Building folders structure. (0.85s)
Running custom action. (0.07s)
Compiling code. (0.55s)
Compiling layouts code. (0.05s)
Organizing libraries. (0.74s)
(AndroidX SDK)
Compiling resources (2.68s)
Linking resources Error
aapt2.exe E 07-03 09:03:17 36996 1436 LoadedArsc.cpp:109] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2.exe E 07-03 09:03:17 36996 1436 ApkAssets.cpp:507] Failed to load 'resources.arsc' in APK 'E:\Development\Androidnew\platforms\android-35\android.jar'.
error: failed to load include path E:\Development\Androidnew\platforms\android-35\android.jar.

I followed the instructions here:
 
Upvote 0

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
Ok, the problem looks fixed. I re-downloaded the Android SDK and required resources from the product page.

The app is now compiling correctly. It is taking a while as it seems to be dexing everything.
 
Upvote 0
Top