When i try to update the android sdk from 34 to 35 in android studio


E:\flutter_windows_3.0.5-stable\flutter\bin\flutter.bat --no-color build appbundle
Building without sound null safety For more information see https://dart.dev/null-safety/unsound-null-safety Running Gradle task 'bundleRelease'... FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:bundleReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable > Android resource linking failed aapt2.exe E 07-16 15:07:11 20760 5840 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data. aapt2.exe E 07-16 15:07:11 20760 5840 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\HP\AppData\Local\Android\Sdk\platforms\android-35\android.jar'. error: failed to load include path C:\Users\HP\AppData\Local\Android\Sdk\platforms\android-35\android.jar. * 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:processReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > Android resource linking failed aapt2.exe E 07-16 15:07:11 21832 18020 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data. aapt2.exe E 07-16 15:07:11 21832 18020 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\HP\AppData\Local\Android\Sdk\platforms\android-35\android.jar'. error: failed to load include path C:\Users\HP\AppData\Local\Android\Sdk\platforms\android-35\android.jar.
0
Jul 16 at 9:38 AM
User AvatarKarthik Vignesh
#android#flutter#gradle

No answer found for this question yet.