Android Studio:文件->“项目结构"缺少更改应用程序ID,版本,版本名称等的选项 [英] Android Studio: file-> "Project Structure" missing options to change application id, version, version name, etc

查看:87
本文介绍了Android Studio:文件->“项目结构"缺少更改应用程序ID,版本,版本名称等的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,每次更新应用程序时,我都会使用 file->项目结构以增加版本并放入版本名称.当我想将代码分叉到其他应用程序中时,我也用它来命名应用程序ID.

但是今天我在文件->项目结构"中找不到应用程序ID,版本,版本名称等.

几个月前,我也遇到了这个问题,选项突然又回来了.所以我不知道如何解决.我需要那些选择...


我尝试过的

  1. 加载旧项目
  2. 刷新Gradle文件并同步
  3. 重建项目

解决方案

如果使用Gradle同步项目"不会出现,请单独打开Android文件夹.即像一个独立项目一样.文件->打开.就我而言,我正在从事Flutter/Kotlin项目.当我打开Android文件夹时,它会自动开始同步并下载所需的gradle文件.

So every time i updated my app, i use file -> project structure to increase the version and put version name. I also use it to name application id when i want to fork my codes into different app.

but today I can't find application id, version, version name, etc on file-> "Project Structure".

a few months ago i also got this problem and the options suddenly come back by itself. so I don't know how to fix it. I need those options...


What I've tried

  1. loading old projects
  2. refreshing Gradle files and sync
  3. rebuilding the project

解决方案

If the "Sync Project with Gradle" does not appear, open the Android folder separately.i.e like an independent project. File->Open. In my case, I was working on a Flutter/Kotlin project. When I opened the Android folder it automatically started syncing and downloading the required gradle files.

这篇关于Android Studio:文件->“项目结构"缺少更改应用程序ID,版本,版本名称等的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆