简体   繁体   中英

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM