According to Android: Build Unsigned APK with Gradle you can simply build your application with gradle.
In order to do that:
click on the drop down menu on the toolbar at the top (usually with android icon and name of your application)
select Edit configurations
click plus sign at top left corner or press alt+insert
select Gradle
choose your module as Gradle project
in Tasks: enter assemble
press OK
press play
After that you should find your apk in directory ProjectName\build\outputs\apk
版权声明:本文为博主原创文章,未经博主允许不得转载。
时间: 2024-11-09 14:30:12