Android Studio: Module won't show up in "Edit Configuration"

android studio add module dependency
android studio no module
android module tutorial
android app multiple modules
android studio add module dependency nothing to show
remove module android studio
android studio create new module
android studio create module

I've imported a project to Android Studio with several subprojects.

I want to run a subproject.

I successfully made this subproject's build.gradle as a module.

In order to run it, I went to Run > edit configurations > + > Android Application.

Problem: When I try to select a module, none show up in the drop down list.

Why is this?

EDIT: it shows up as a module under Groovy but not showing under Android Application. How do I get it to show up under Android Application?

Make sure your build.gradle is

apply plugin: 'com.android.application'

not

apply plugin: 'com.android.library'

After you have changed, please sync your gradle again.

Configure the base module, The base module manifest; The base module build configuration; Re-enable or Most app projects won't require much effort to support Dynamic Delivery. which you get by default when you create a new app project in Android Studio. Add the module dependency in your app’s build.gradle file ‘compile project(‘:mylibrary’)’ Close and reopen Android Studio; Verify that Android Studio recognises the module as a library (should be bold) Rename module’s directory and module name by right clicking on the newly created module. Enjoy 🙂

I had similar issue when I selected parent directory of my project, I resolved by Close Project -> Delete Project from Android Studio -> Import Project by selecting right build.gradle file.

Make sure you select right build.gradle file while import.

Android Studio: Module won't show up in "Edit Configuration", Make sure your build.gradle is apply plugin: 'com.android.application'. not apply plugin: 'com.android.library'. After you have changed, please  After updating Android Studio, you need to restart Android Studio to apply any memory settings migrated from an earlier version of the IDE. We've discovered in testing that the first time you run Studio after updating, it will not yet be running with any custom configured memory settings, which for some users will result in significantly slower

I fixed this by adding facets in Module settings. They were missing. right click on project > open Module settings > Facets > Add facets ( "+" sign at the top ) > Android. After adding facets you will have modules. UPDATE: For latest version of gradle, Facets have been removed, you can directly add modules now. right click on project > open Module settings > Add module ( "+" sign at the top ) > Phone and Tablet Application (Now you can create a new module and configure it).

How to update an imported module in Android Studio?, If I change the library code in main external project, the code inside the project which is using the library won't get updated. How can I have a library and share it​  Most app projects won’t require much effort to support Dynamic Delivery. That’s because the module that includes code and resources for your app’s base APK is the standard app module, which you get by default when you create a new app project in Android Studio.

In Android Studio 3.1.2 I have faced the same issue. I resolved this issue by click on "File->Sync Project with Gradle Files".This works for me. :)

Integrate a Flutter module into your Android project, The Android Studio IDE is a convenient way of integrating your Flutter module Changes made in your module's .android/ directory won't appear in your  Another issue we found is that the launcher script uses an option that is unknown to Java on some system [b/55267] Open the installation folder of Android Studio (e.g. C:\Programs Files\Android\android-studio, or C:\Users\\AppData\Local\Android\android-studio) and find the "bin" directory in there.

resolved this issue by clicking on "File->Sync Project with Gradle Files"

Android Studio: Module won't show up in "Edit Configuration", I've imported a project to Android Studio with several subprojects. I want to run a subproject. I successfully made this subproject's build.gradle as a module. In  In Android Studio, Right-clicking on the folder to add as library Editing the dependencies in the build.gradle file, adding compile fileTree(dir: 'libs', include: '*.jar')} BUT more importantly and annoyingly, only hours after I get it working, Android Studio have just released 0.3.7, which claims to have solved a lot of gradle issues such as

how to fix : module not specified android studio, 3.1 Include module folder into project. Automatically is simple only in Android Studio, select File ▸ New ▸ Import Module and write path of library  Android Studio automatically creates module directories, such as source and resource directories, and a default build.gradle file appropriate for the device type. Also, Android Studio creates device modules with recommended build configurations, such as using the Leanback library for Android TV modules.

How to use android libraries locally and leaving your development , When we create a new project on Android Studio, it gives us one module, the app module. Cross module data relations won't be possible. Check that Android Studio can connect to the Android Emulator To check if the issue is being caused by a connection problem between Android Studio and the Android Emulator, follow these steps: Open the AVD Manager. Create a new AVD if you don't already have one.

Writing a modular project on Android - MindOrks, Adding modules Phone & Tablet module Android Library module Android Android Studio works on a module-based project structure, which means that it can  Hi!, This error occurs when you haven’t select the “module” from the drop down list at build configurations of Android Studio IDE. The module may not appear in drop down list for several reasons. If you get this error while running an imported project to Android Studio IDE most probably the reason are:

Comments
  • Hi Did you ever solve this issue i'm getting exactly the same issue.
  • Could this help, solved my problem like yours
  • That fixed my issue! Only synced with gradle again and AS recognized it.
  • I'm looking for this answer since 1h
  • For me just clicking the "Sync Project with Gradle Files" fixed it. I was really worried I had busted things beyond repair.
  • Before doing any changes to your gradle file, just close the project file-->close and then re-open the project. It may be Android Studio caching problem.
  • This fixed my problem! Thanks! Just had to close the project and import the gradle file again.
  • Thank you, it worked. Android Studio is as annoying as ever.
  • closing and importing worked for me also. But not sure what is the root cause, at the first place
  • closing project and then just restarting android studio did work for me. thank you guys.
  • I can't believe this is how a very big problem solved!