Skip to content

chore(core): export to android project with AGP 8.10.1#2528

Merged
skylot merged 3 commits intoskylot:masterfrom
akexorcist:feature/agp-8-10-supports
Jun 7, 2025
Merged

chore(core): export to android project with AGP 8.10.1#2528
skylot merged 3 commits intoskylot:masterfrom
akexorcist:feature/agp-8-10-supports

Conversation

@akexorcist
Copy link
Copy Markdown
Contributor

Description

I frequently use JADX and need to export projects as Gradle projects to make it easier to read the code in Android Studio. However, I've found that JADX currently exports Gradle projects using AGP 4.2.2 (com.android.tools.build:gradle), which is quite old and not supports on the latest versions of Android Studio.

In this pull request, the Gradle project export will be updated to use AGP 8.10, with the following details:

  • Updated AGP version from 4.2.2 to 8.10.1.
  • Added namespace for the Android app, using the same value as the applicationId (required for AGP 8.0 and above).
  • Used the compileSdkVersion from the APK file instead of defining it manually. if not found, it will default to the targetSdkVersion ( or null).
  • Removed buildToolsVersion as the latest Android Studio handles this automatically and no longer requires manual specification.

Copy link
Copy Markdown
Owner

@skylot skylot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice improvement 👍

@skylot skylot merged commit 46cd3b5 into skylot:master Jun 7, 2025
4 checks passed
@akexorcist akexorcist deleted the feature/agp-8-10-supports branch June 8, 2025 16:51
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

Successfully merging this pull request may close these issues.

2 participants