将 Android Studio 设置重置为 Linux 上的默认设置 [英] Reset Android Studio settings to default setting on linux

查看:68
本文介绍了将 Android Studio 设置重置为 Linux 上的默认设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家.我曾经在 Mac 上开发 android 应用程序.最近我在运行Xubuntu的Thinkpad上安装了android开发环境.

everyone. I used to develop android application on Mac. Recently I installed android development environment on my Thinkpad which running Xubuntu.

我通过文件->导入设置将Mac上的Android studio设置导入到Xubuntu上的Android studio.

I imported the Android studio settings on Mac to the Android studio on Xubuntu via File-> import settings.

但是在我这样做之后,一切都出错了.热键,java 路径 ecc.

But after I have done this, everything goes wrong. The hotkey, the java path ecc.

我尝试删除android studio,然后重新下载,但设置仍然存在.

I tried to delete android studio, and download it again, but the settings are still there.

在互联网上我几乎找不到任何关于此的信息,有谁知道如何将 Android Studio 设置重置为默认设置?谢谢!

On the internet I can find almost nothing about this, does anyone know how to reset Android Studio settings to default setting? Thanks!

推荐答案

很简单.根据您的 AndroidStudio 版本,设置存储在 ~/.AndroidStudio~/.AndroidStudio1.1~/.AndroidStudio1.2.

It's very simple. Depending on your AndroidStudio version, the settings are stored in ~/.AndroidStudio, ~/.AndroidStudio1.1 or ~/.AndroidStudio1.2.

打开终端并运行以下代码:

Open a terminal and run the following code:

ls -a |grep Android # 查看上面三个文件夹中的哪个.然后使用适当的 mv 命令重命名每个设置文件夹:

ls -a | grep Android # See which of those three folders above you have. Then rename each of the settings folders you have with the appropriate mv command:

mv .AndroidStudio .AndroidStudio.bak
mv .AndroidStudio1.1 .AndroidStudio1.1.bak
mv .AndroidStudio1.2 .AndroidStudio1.2.bak

这篇关于将 Android Studio 设置重置为 Linux 上的默认设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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