简体   繁体   中英

Android Studio Canary versions (Arctic Fox and Bumblebee) are not allowing Imported Modules feature to work

When using Android Studio Arctic Fox or Bumblebee, when we try to do "File -> New -> Import Module" and try to add Gradle project. The "Finish or Next" buttons are greyed out.

If you repeat the exact same process on Stable version 4.1 for example, the Import Module feature works.

Is this a known issue or is there a workaround to import modules for canary versions?

Existing module can be imported manually:

  1. Move existing module folder to project folder

  2. In settings.gradle file add include part for your existing module:

    include ':app', ':your-module'

  3. Go to app's gradle file and add dependency to it:

    implementation project(":your-module")

  4. Sync gradle

Now your module should be successfully imported

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