簡體   English   中英

在沒有android studio的情況下在android studio代碼上工作

[英]working on android studio code without android studio

我正在嘗試幫助開發使用android studio制作的一些代碼。 我有一台相當老的筆記本電腦,當我嘗試運行android studio時,它凍結了。

我認為由於android studio只是一個IDE,所以我應該能夠使用vim處理代碼。 但是,我已經達到需要在項目設置中更改SDK路徑的地步。 我不知道該怎么做(我對它的含義也有些迷惑)。

我的問題是:

  1. 使用vim處理此代碼可行嗎?
  2. 如果是這樣,如何更改SDK路徑?

非常感謝。

Android SDK路徑位於項目根目錄的local.properties文件中。

## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
# Date
sdk.dir=/path/to/your/sdk

是的,您可以使用vim並運行

./gradlew assembleDebug

生成調試版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM