Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
145 views
in Technique[技术] by (71.8m points)

How to editing Android code in IntelliJ IDEA for Flutter

How I enable editing of Android code in IntelliJ IDEA, how to configure the location of the Android SDK?

question from:https://stackoverflow.com/questions/65845243/how-to-editing-android-code-in-intellij-idea-for-flutter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

To configure the location of the Android SDK:

  1. In Preferences > Plugins, enable Android Support if you haven’t already.
  2. Right-click the android folder in the Project view, and select Open Module Settings.
  3. In the Sources tab, locate the Language level field, and select level 8 or later.
  4. In the Dependencies tab, locate the Module SDK field, and select an Android SDK. If no SDK is listed, click New and specify the location of the Android SDK. Make sure to select an Android SDK matching the one used by Flutter (as reported by flutter doctor).
  5. Click OK.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...