How to Debug and Test Android Apps
Installing an APK File
If you haven't created an Android device already, check out our Quickstart for Android article.
Click on the Apps tab and use the Install button to load your APK file.
See what a program does to the system
- If your program is just a command-line executable:
- Use the Files tab to open file browser and click the Upload button to upload it somewhere in the file system.
- Then, use the Console (type
su
for root privileges) to make it executable.
- Otherwise, the app should show up in the app list and you can use the Launch button to start it; you should also see it in the Launcher.
Use CoreTrace to capture system calls made by your program, check out our Tracing Threads and Processes with CoreTrace article.
Debug the App
- You should be able to attach to your app's process in the Frida tab
- If you want to use Android debug tools, connect to the VPN. Check out our Connect to the Corellium VPN article for instructions.
- After your VPN is working, you can connect to the ADB (Android Debug Bridge) - see the Connect tab
Automatically Install and Run Your App
- Download the Corellium node.js API: https://github.com/corellium/corellium-api
- Read the README file for more useful tools (for instance checking if app is already installed and uninstalling it, as well as retrieving log files - if your app writes one)```