android studio 导出未签名apk,Android Studio 导出未签名 apk

这篇博客介绍了如何使用Gradle简单快捷地构建Android应用的未签名APK。只需在工具栏中选择编辑配置,添加Gradle任务为assemble,然后运行,APK将生成在指定目录下。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

一种更简单的办法

The easiest way, I guess:

Open Gradle tab on the right side

Double click YourProject/:app/assemble

You’ll find the apk here

…/YourProject/app/build/outputs/apk/app-debug.apk

02d76309ada267560fbd8b17832ed7cd.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值