-
Notifications
You must be signed in to change notification settings - Fork 20
Release 26.10: Update offline projects for API 36 (Android 16)
Elissa-AppDevforAll edited this page Mar 3, 2026
·
3 revisions
Code on the Go has upgraded from Android SDK 33 to SDK 36. To prevent build failures in offline projects, you must update your SDK using one of two methods:
-
Automatic Update: Disable the
--offlineflag and rebuild your project. Code on the Go will automatically fetch and install SDK 36. -
Manual Update: Follow the steps below to manually update the SDK version in your project’s
build.gradle.ktsfile.
To manually update the SDK version in build.gradle.kts, follow these steps:
- At the top level of the project, open
app/build.gradle.kts. - Scroll or use the search feature to find the text
compileSdk. - Change the final character on the line to
6so that the text says36. - Scroll or use the search feature to find the text
targetSdk. - Change the final character on the line to
6so that the text says36. - Save your changes to the file.
- Follow the prompt to sync your changes.
Click here to watch a short video demonstrating how to update the file