![](/img/trans.png)
[英]Where is the graphical editor for the Android Manifest file located in Android Studio 1.5.1?
[英]Where are the file templates in Android Studio 4.1 located?
我無法將自定義文件模板導入Android Studio 4.1 Canary 5 。 在以前版本的 Android Studio(最高 4.0)中,我曾經將模板復制到
<Android Studio Installation>/Contents/plugins/android/lib/templates
(我使用的是 Mac)
但是在 4.1 中,那里沒有模板,當我在那里復制我的模板時,它們似乎被忽略了。
有沒有人遇到過同樣的問題?
謝謝!
對於 android studio 4.1
,我在以下路徑中找到了實時模板 XML:
~/Library/Application Support/Google/AndroidStudio4.1/settingsRepository/repository/templates
這適用於 Mac 操作系統
IDE 配置目錄變更 用戶配置目錄位置變更如下:
Windows 語法:%APPDATA%\Google<product>
示例:C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudio4.1
macOS 語法:~/Library/Application Support/Google/
示例:~/Library/Application Support/Google/AndroidStudio4.1
Linux 語法:~/.config/Google/
示例:~/.config/Google/AndroidStudio4.1
C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudio4.1\templates
文件>設置>文件和代碼模板>按+圖標添加新模板
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.