简体   繁体   English

运行配置签名报告选项缺少 Android Studio

[英]Run Configuration signingReport option missing Android Studio

I am using Android Studio Arctic Fox |我正在使用 Android Studio 北极狐 | 2020.3.1 Canary 14 Build and one of my project has missing option in Gradle Build tab which we used for instantly getting app signing for debug, I thought it was remove in this new IDE version but upon opening another project it was still there. 2020.3.1 Canary 14 Build 和我的一个项目在Gradle Build选项卡中缺少选项,我们用于立即获取应用程序签名以进行调试,我认为它已在这个新的 IDE 版本中删除,但在打开另一个项目时它仍然存在。 Only app module and its list of dependency are being shown.仅显示app模块及其依赖项列表。

在此处输入图像描述

please follow these steps: 1- Open 'Edit Run/Debug configuration dialogue' -> beside run app icon.请按照以下步骤操作: 1- 打开“编辑运行/调试配置对话框”-> 在运行应用程序图标旁边。 2- click edit configuration. 2-单击编辑配置。 3- click + (add) at left then add gradle. 3- 单击左侧的 +(添加),然后添加 gradle。 4- in configuration tab 1- select gradle project 2- write in tasks "signingReport" 5- apply then close. 4- 在配置选项卡中 1- select gradle 项目 2- 写入任务“signingReport” 5- 应用然后关闭。 enter image description here在此处输入图像描述

Following solved my problem.以下解决了我的问题。 I am using Android Studio Arctic Fox.我正在使用 Android Studio 北极狐。

  1. Goto File>Settings转到文件>设置
  2. Look for Experimental寻找实验
  3. Under Gradle section in Experimental: Look for "Do not build Gradle task list during Gradle sync".在实验中的 Gradle 部分下:查找“在 Gradle 同步期间不要构建 Gradle 任务列表”。 Un-check the option.取消选中该选项。
  4. "Apply" then "OK" “应用”然后“确定”
  5. Sync the Gradle同步 Gradle

You'll find your signingReport option available.您会发现您的 signingReport 选项可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM