
Symbols, Android Studio shows you a banner, similar to If your APK includes native libraries (SO files) that don't include debug

You can now add breakpoints andĭebug your app. Android Studio also includes innerĬlasses automatically. In the Project window, Android Studio replaces SMALI files with theirĬorresponding Kotlin or Java source files.

To attach Kotlin or Java sources, proceed as follows: That correspond to the SMALI files you want to debug. To debug the Kotlin or Java code usingīreakpoints, you need to point the IDE to the Kotlin or Java source files Similarly, to debug your native code, you mustīy default, Android Studio extracts Kotlin or Java code from your APK and To debug your app's Kotlin or Java code, you need toĪttach the Kotlin or Java sources and add breakpoints in the

The SMALI files are stored in the smali/out/ Project in your home directory under ApkProjects/ and makes a local copy Note: When you import an APK into Android Studio, the IDE creates a new This is not a fully decompiled set of files, but it does provide SMALIįiles for a more readable version of the DEX files.įigure 1. Select the APK you want to import into Android Studio.Īndroid Studio then displays the unpacked APK files, similar to figure 1. If you already have a project open, clickįile > Profile or Debug APK from the menu bar. To start debugging an APK, follow these steps:įrom the Android Studio Welcome screen, click Profile or debug APK.

To build them from an Android Studio project. Android Studio 3.0 and higher lets you profile and debug APKs that have
