Skip to content

Use in android ide #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ahmedaa6122 opened this issue Feb 3, 2025 · 1 comment
Open

Use in android ide #52

ahmedaa6122 opened this issue Feb 3, 2025 · 1 comment

Comments

@ahmedaa6122
Copy link

How Download and use latest 35 version for Android ide

@HanzoDev1375
Copy link

How to compile apk in AndroidIDE using SDK 35 (35.0.0)

1° Open the Terminal

Close the currently open project and click on the AndroidIDE terminal option

2° Download the script from the repository

This command will download the script and will also execute it automatically.

curl https://raw.githubusercontent.com/RodrigoRoze/androidide-tools/refs/heads/main/scripts/AddSdk35.sh >> AddSdk35.sh
bash AddSdk35.sh

❌ if it doesn't run automatically, you need to run this command:

chmod +x AddSdk35.sh
bash AddSdk35.sh

3° Edit app/build.gradle & gradle.properties

add 'android.suppressUnsupportedCompileSdk=35' in gradle.properties

change 'compileSdk' to 35 and 'targetSdk' to 35 in build.gradle

After doing all the steps you can do the build✅

~ ℹ️  Switch/Toggle Aapt2

  • run in AndroidIDE Terminal

If you want to compile with default sdk again run this to restore aapt2 file

cp -f /data/data/com.itsaky.androidide/files/home/.androidide/DefaultAapt2/aapt2 /data/data/com.itsaky.androidide/files/home/.androidide/

if you restored the aapt2 file and want to compile with sdk 35 again run this

cp -f /data/data/com.itsaky.androidide/files/home/.androidide/35.0.0/aapt2 /data/data/com.itsaky.androidide/files/home/.androidide/

Credits to me @RodrigoBxnfim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants