Click the dropdown menu in the toolbar at the top and select “Edit Configurations”
- Click the “+”
- Select “Gradle”
- Choose your module as Gradle project
- In Tasks: enter assemble
- Click OK
Press Run. Your unsigned apk is now located in
ProjectName\app\build\outputs\apk