Android Studio 不同目录的路径

2023-12-26

今天我想清理我安装了 Windows 的 SSD,我发现在C:\用户\SonneXo一个文件夹(1.6 GB),我想更改它:.AndroidStudio预览我搜索了它,互联网建议我更改设置创意.属性,我做了:

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
D:/Android/.AndroidStudioPreview/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
D:/Android/.AndroidStudioPreview/system

我复制了完整的文件夹C:\Users\SonneXo.AndroidStudioPreview to D:\Android.AndroidStudioPreview,我启动了 Android Studio,它告诉我应该导入设置来完成安装。

所以我猜有些事情不太对劲。当我从介绍中删除 # 时,也出现了同样的情况。

如果我没有选择包含要导入的设置的文件夹,则 sdk 会创建.AndroidStudio预览文件夹新,如果我选择新位置,似乎会将其部分复制回C:\用户\SonneXo.

有人有同样的问题和建议吗?

到目前为止,周日愉快;D


更换你的idea.properties与下面给出并检查

创意.属性

# Use ${idea.home} macro to specify location relative to IDE installation home.
# Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value.
# Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system).

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.AndroidStudioPreview/config

 idea.config.path=D:/Android/.AndroidStudioPreview/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=D:/Android/.AndroidStudioPreview/system

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500

#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=1024

#---------------------------------------------------------------------
# Configure if a special launcher should be used when running processes from within IDE.
# Using Launcher enables "soft exit" and "thread dump" features
#---------------------------------------------------------------------
idea.no.launcher=false

#---------------------------------------------------------------------
# To avoid too long classpath
#---------------------------------------------------------------------
idea.dynamic.classpath=false

#---------------------------------------------------------------------
# Uncomment this property to prevent IDE from throwing ProcessCanceledException when user activity
# detected. This option is only useful for plugin developers, while debugging PSI related activities
# performed in background error analysis thread.
# DO NOT UNCOMMENT THIS UNLESS YOU'RE DEBUGGING IDE ITSELF. Significant slowdowns and lockups will happen otherwise.
#---------------------------------------------------------------------
#idea.ProcessCanceledException=disabled

#---------------------------------------------------------------------
# There are two possible values of idea.popup.weight property: "heavy" and "medium".
# If you have WM configured as "Focus follows mouse with Auto Raise" then you have to
# set this property to "medium". It prevents problems with popup menus on some
# configurations.
#---------------------------------------------------------------------
idea.popup.weight=heavy

#---------------------------------------------------------------------
# Use default anti-aliasing in system, i.e. override value of "Settings|Editor|Appearance|Use anti-aliased font"
# option. May be useful when using Windows Remote Desktop Connection for instance.
#---------------------------------------------------------------------
idea.use.default.antialiasing.in.editor=false

#---------------------------------------------------------------------
# Disabling this property may lead to visual glitches like blinking and fail to repaint
# on certain display adapter cards.
#---------------------------------------------------------------------
sun.java2d.noddraw=true

#---------------------------------------------------------------------
# Removing this property may lead to editor performance degradation under Windows.
#---------------------------------------------------------------------
sun.java2d.d3d=false

#---------------------------------------------------------------------
# Workaround for slow scrolling in JDK6
#---------------------------------------------------------------------
swing.bufferPerWindow=false

#---------------------------------------------------------------------
# Removing this property may lead to editor performance degradation under X Window.
#---------------------------------------------------------------------
sun.java2d.pmoffscreen=false

#---------------------------------------------------------------------
# Workaround to avoid long hangs while accessing clipboard under Mac OS X.
#---------------------------------------------------------------------
#ide.mac.useNativeClipboard=True

#---------------------------------------------------------------------
# Maximum size (kilobytes) IDEA will load for showing past file contents -
# in Show Diff or when calculating Digest Diff
#---------------------------------------------------------------------
#idea.max.vcs.loaded.size.kb=20480
#---------------------------------------------------------------------
# IDEA can copy library .jar files to prevent their locking.
# By default this behavior is enabled on Windows and disabled on other platforms.
# Uncomment this property to override.
#---------------------------------------------------------------------
# idea.jars.nocopy=false

#---------------------------------------------------------------------
# The VM option value to be used to start a JVM in debug mode.
# Some JREs define it in a different way (-XXdebug in Oracle VM)
#---------------------------------------------------------------------
idea.xdebug.key=-Xdebug

#-----------------------------------------------------------------------
# Change to 'disabled' if you don't want to receive instant visual notifications
# about fatal errors that happen to an IDE or plugins installed.
#-----------------------------------------------------------------------
idea.fatal.error.notification=enabled

在文件资源管理器中也尝试此路径一次,以交叉检查路径是否正确。

D:\Android\.AndroidStudioPreview\config
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Android Studio 不同目录的路径 的相关文章

  • 在 Mac OS X 10.6.8 中手动编译 Ruby 时,GEM 在哪里?

    我在 Snow Leopard 上手动构建了 Ruby 1 9 2 现在我找不到我的旧 GEM 文件了 我猜他们现在正走在不同的道路上 所以我有三个问题 什么是 旧 宝石路径 在哪里gem install sinatra把西纳特拉宝石 当我
  • 在包“android”中找不到属性“backgroundTint”的资源标识符

    我发现了一些视图 xml 属性 例如backgroundTint backgroundTintMode 但是当我使用它作为视图属性定义时 Eclipse 显示错误 No resource identifier found for attri
  • React Native 从 JavaScript 代码内部访问 strings.xml

    有没有办法访问当前值android app src main res values strings xml从 JavaScript 代码内部 我想为每个构建放置不同的端点 URL 但我什至无法检测到反应本机代码内的构建类型 而不必求助于 D
  • 如何以编程方式检查 AndroidManifest.xml 中是否声明了服务?

    我正在编写一个库 该库提供了一项服务 其他开发人员可以通过将其包含在他们的项目中来使用该服务 因此 我无法控制 AndroidManifest xml 我在文档中解释了要做什么 但一个常见的问题是人们忽略了将适当的 标记添加到其清单中 或者
  • Android Activity 生命周期函数基础知识

    我正在测试这段代码 它显示活动所处的状态 public class Activity101Activity extends Activity String tag Lifecycle Called when the activity is
  • Android 模拟器插件无法初始化后端 EGL 显示

    我在 Cloudbees 上设置了 Jenkins 作业 并且可以在那里成功签出并编译我的 Android 项目 现在我想在 android 模拟器中运行一些 JUnit 测试并添加 Android 模拟器插件 我将 显示模拟器窗口 选项设
  • Android 中 Kotlin 协程的正确使用方式

    我正在尝试使用异步更新适配器内的列表 我可以看到有太多的样板 这是使用 Kotlin 协程的正确方法吗 这个可以进一步优化吗 fun loadListOfMediaInAsync async CommonPool try Long runn
  • 带有 EditText 和 Spinner 的对话框

    我有一个按钮 单击后会弹出一个对话框 我希望对话框有一个EditText and a Spinner对话框内 我不知道如何设置它的视图 我有一个代码AlertDialog它有效 只是EditText and Spinner我需要将其放入其中
  • 无法展开 RemoteViews - 错误通知

    最近 我收到越来越多的用户收到 RemoteServiceException 错误的报告 我每次给出的堆栈跟踪如下 android app RemoteServiceException Bad notification posted fro
  • 控制Android的前置LED灯

    我试图在用户按下某个按钮时在前面的 LED 上实现 1 秒红色闪烁 但我很难找到有关如何访问和使用前置 LED 的文档 教程甚至代码示例 我的意思是位于 自拍 相机和触摸屏附近的 LED 我已经看到了使用手电筒和相机类 已弃用 的示例 但我
  • 原色(有时)变得透明

    我正在使用最新的 SDK 版本 API 21 和支持库 21 0 2 进行开发 并且在尝试实施新的材料设计指南时遇到了麻烦 材料设计说我需要有我的primary color and my accent color并将它们应用到我的应用程序上
  • 在 SQLite 中搜索时排除 HTML 标签和一些 UNICODE 字符

    更新 4 我已经成功运行了firstchar例如 但现在的问题是使用regex 即使包含头文件 它也无法识别regex操作员 有什么线索可以解决这个问题吗 更新 2 我已经编译了sqlite3我的项目中的库 我现在正在寻找任何人帮助我为我的
  • 在 build.gradle 中声明依赖项后如何导入依赖项?

    我刚刚开始在 android studio 工作并开始探索 Gradle 的世界 于是我在Android Studio中创建了一个项目 打开build gradle并添加了如下依赖项 dependencies compile com and
  • 尝试在 ubuntu 中编译 android 内核时出错

    我正在尝试从源代码编译 Android 内核 并且我已经下载了所有正确的软件包来执行此操作 但由于某种原因我收到此错误 arm linux androideabi gcc error unrecognized command line op
  • Android Studio 0.4.3 Eclipse项目没有gradle

    在此版本之前 在 Android Studio 中按原样打开 Eclipse 项目似乎很容易 无需任何转换 我更喜欢 Android Studio 环境 但我正在开发一个使用 eclipse 作为主要 IDE 的项目 我不想只为这个项目下载
  • Android 中麦克风的后台访问

    是否可以通过 Android 手机上的后台应用程序 服务 持续监控麦克风 我想做的一些想法 不断聆听背景中的声音信号 收到 有趣的 音频信号后 执行一些网络操作 如果前台应用程序需要的话 后台应用程序必须能够智能地放弃对麦克风的访问 除非可
  • 一次显示两条Toast消息?

    我希望在一个位置显示一条 Toast 消息 并在另一位置同时显示另一条 Toast 消息 多个 Toast 消息似乎总是按顺序排队和显示 是否可以同时显示两条消息 是否有一种解决方法至少可以提供这种外观并且不涉及扰乱活动布局 Edit 看来
  • 如何在Xamarin中删除ViewTreeObserver?

    假设我需要获取并设置视图的高度 在 Android 中 众所周知 只有在绘制视图之后才能获取视图高度 如果您使用 Java 有很多答案 最著名的方法之一如下 取自这个答案 https stackoverflow com a 24035591
  • Firebase 添加新节点

    如何将这些节点放入用户节点中 并创建另一个节点来存储帖子 我的数据库参考 databaseReference child user getUid setValue userInformations 您需要使用以下代码 databaseRef
  • 节拍匹配算法

    我最近开始尝试创建一个移动应用程序 iOS Android 它将自动击败比赛 http en wikipedia org wiki Beatmatching http en wikipedia org wiki Beatmatching 两

随机推荐

  • 如何以编程方式为 Django 中的给定模型生成 CREATE TABLE SQL 语句?

    我需要以编程方式生成给定的 CREATE TABLE 语句不受管理的我的 Django 应用程序中的模型 managed False 由于我正在处理旧数据库 因此我不想创建迁移并使用sqlmigrate The manage py sql命
  • Discord.py 机器人可以不区分大小写吗?

    我现在正在制作一个不和谐的机器人 如果我使用大写字母 不使用大写字母 它不会响应 有没有办法让机器人检测消息 即使它们是大写 小写 还有一种方法可以让机器人对空格做同样的事情 如果我不小心忘记放空格 或者不小心将两个单词合并在一起 或者我是
  • 如何在 QTextEdit 中为 QTextFrame 或 QTextBlock 提供背景图像?

    我正在开发一个 IM 工具 作为它的一部分 我必须开发一个BubbleChatWidget所有消息项都有一个bubble like背景图像 我以为我可以实现我的目标QTextEidt 但我不知道如何给出 QTextFrame 或QTextB
  • 在 Git hook 中获取提交消息

    我想在 Git 提交之前检查提交消息 我使用预提交挂钩来执行此操作 但我找不到在中获取提交消息的方法 git 预提交脚本 我怎样才能得到它 In the pre commit hook the commit message usually
  • Firebase 控制台:如何指定通知的 click_action

    我实现了 Firebase 并测试了 Firebase 通知 当应用程序位于前台时 我没有问题 我实现了一项扩展的服务Firebase消息服务并处理消息和数据收到消息时 当应用程序在后台运行时 我遇到问题 我想发送一条通知 打开特定活动并执
  • 如何在 PHP 中获取当前日期和时间?

    哪个 PHP 函数可以返回当前日期 时间 时间将以您的服务器时间为准 一个简单的解决方法是使用以下命令手动设置时区date default timezone set http php net manual en function date
  • 将 Arraylist 作为参数传递给函数[关闭]

    这个问题不太可能对任何未来的访客有帮助 它只与一个较小的地理区域 一个特定的时间点或一个非常狭窄的情况相关 通常不适用于全世界的互联网受众 为了帮助使这个问题更广泛地适用 访问帮助中心 help reopen questions 我有一个整
  • 错误:只有字符串可以转换为符号

    我不太精通 R 但最近安装了 ggpubr 包 因为想要制作配对箱线图 我尝试过使用 ggpaired question1 cond1 question1 q1 cond2 question1 q2 fill condition palet
  • Mysql DB 表行消失

    最近发生了一个非常奇怪的 对我来说 问题 在接受用户提交数据的应用程序中 以下情况随机发生 存储用户提交数据的数据库表中的行是disappearing 请注意除 INSERT 语句外 没有对数据库表发出 DELETE DROP TRUNCA
  • 逐列打印二维数组

    这个非常基本的代码逐行打印我的二维数组 public class scratchwork public static void main String args throws InterruptedException int test ne
  • VS2012 RC 中不识别外键

    经过昨天的大量帮助 我在 asp net4 beta 中遇到了一个已知错误 我升级到 VS2012 RC Express 4 5 现在 VS 在我的模型中报告了两个错误 这些错误以前是正常的 找不到类型或命名空间名称 ForeignKeyA
  • 带有多个可选搜索词的参数化查询

    我有一个包含大量数据的 Web 应用程序 以及一个包含多个字段 例如名称 状态 日期等 的搜索 过滤功能 我一直在对常规 非搜索 查询使用这样的参数化查询 id POST itemID db mysqli connect host user
  • 应用程序传输安全性已阻止明文 HTTP (http://) 资源加载,因为它不安全。

    据说临时异常可以通过应用程序的 Info plist 文件进行配置 根据其他答案 我将此条目添加到 info plist 中 但它没有帮助 更糟糕的是 在我更改 xml 文件后 当我尝试在 iPhone 上运行该应用程序而不是在模拟器上运行
  • 使用 Kendo Grid,如何更改工具栏中“创建”按钮上的措辞?

    我正在使用 Kendo 网格 我添加了 创建 来执行记录的内联添加 如何更改添加按钮上的措辞 目前它显示为 添加新记录 我想将其简化为仅读取 添加 并且我还想保留相同的图标 我的代码如下所示 reports kendoGrid dataSo
  • 如何根据另一个查找表/数据框自动插入一个数据框的值?

    我有一个数据框和一张查找表 我想要的是比较df dat value with df lookup threshold 如果value落入threshold范围 然后创建一个新列transfer in df dat使其值为 从线性插值tran
  • xcode 7 生成带有附加 CoreDataProperties 类别的核心数据实体

    我在 xcode 7 中有一个奇怪的新功能 当我生成新的 NSManagedObject 子类时 xcode 创建两个类 实体及其 CoreDataProperties 类别 其中包含完整的实现 下图是我的意思的例子 我找不到任何关于此的记
  • 如何在 Ruby 中使用 DateTime strptime 解析非英语日期?

    我正在尝试解析从 CMS 导出的日期 不幸的是 设置了瑞典语言环境 月份名称缩写为三个字符 这在 5 月和 10 月时有所不同 maj 与 May 以及 okt 与 Oct 我希望使用 DateTime strptime 并设置正确的区域设
  • 将 16 位灰度 PNG 转换为 HEVC/x265

    我想将 12 位图像信号转换为 HEVC 以进行有效压缩 因为我需要能够重建原始 12 位信号 所以压缩需要是无损可逆的 目前我的数据为 16 位 PNG 文件 我的第一次尝试是使用 ffmpeg ffmpeg y framerate 1
  • Javascript正则表达式:查找后面不跟空格字符的单词

    我需要 javascript 正则表达式来匹配后面不跟空格字符并且之前有 的单词 如下所示 bug 找到 bug 因为它后面没有空格 bug 和我 什么也没找到 因为 bug 后面有空格 bug 和 another 只查找 another
  • Android Studio 不同目录的路径

    今天我想清理我安装了 Windows 的 SSD 我发现在C 用户 SonneXo一个文件夹 1 6 GB 我想更改它 AndroidStudio预览我搜索了它 互联网建议我更改设置创意 属性 我做了 Uncomment this opti