Fix "Module not specified" Error in Android Studio Last Updated : 06 Jun, 2021 Comments Improve Suggest changes Like Article Like Report Whenever we try to debug the application on Android Studio we may encounter the error “Module not specified” in the Android Studio. So, In this article, we will discuss 4 different methods for fixing the “Module not specified” error in Android Studio. Method 1 All you need to do is Resync your project Gradle files to add the app module through Gradle. Following are the steps: In the root folder of your project, open the settings.gradle file for editing.Delete the line include ':app' from your file.On Android Studio, click on the File Menu, and select Sync Project with Gradle files.After step 3, Add again, include ':app' to the settings.gradle file.Re-run Sync Project with Gradle files again. After this, your error "Module not specified" will be resolved. Method 2 Another best method to resolve this error is to try to delete the app.iml in your project directory and restart android studio. This will definitely work out and your error of "Module not specified" will be resolved. Method 3 If the above two methods did not work for you, you can follow the below steps to resolve your issue. Firstly, close all the android studio projects.then, remove the project from the recent projects in android studio wizard.Restart Android Studio.Instead of open an existing project Android Studio project, use the import option (Import project- Gradle, Eclipse ADT, etc).File -> Sync project with gradle files.Method 4 And at last, if all of the above methods did not work for you, you can also clean your project and do invalidate caches/restart from the menu bar. After that, your project might be fixed and the error will be resolved. Comment More infoAdvertise with us Next Article Fix "Module not specified" Error in Android Studio H hemantjain99 Follow Improve Article Tags : Android Android-Studio Similar Reads How to Fix The Module Not Found Error? In this article, we are going to cover topics related to ' Module Not Found Error' and what the error means. the reason for the occurrence of this error and how can we handle this error. What is "ModuleNotFoundError"? A "ModuleNotFoundError" is a common error message in programming, particularly in 5 min read Manifest Merger Fails with Multiple Errors in Android Studio An Android Studio project generally contains more than one Android Manifest.xml file. They are provided by the main sources set, imported libraries, and build variants. However, we know that the Android App Bundle file can contain only one AndroidManifest.xml file. So, the Gradle build merges all th 6 min read Fix âSDK tools directory is missingâ Error in Android Studio Sometimes it happens with developers that when he/she starts the "android studio" program, displayed a window of "downloading components" which says: "Android SDK was installed to C: / Users / user / AppData / Local / android / SDK2 SDK tools directory is missing ". So to fix "SDK tools directory mi 2 min read Fix "Android emulator gets killed" Error in Android Studio Sometimes, (maybe after updating Android Studio) you might encounter a strange error, which might cause you a nightmare, the error is thrown by the Studio itself and it says: Error while waiting for device: The emulator process for AVD was killed Uggh...Now, what's this error all about? Why did it h 3 min read How to Fix "SDK location not found" in Android Studio? Google developed Android SDK which is a Software Development Kit developed by Google for the Android platform. You can create Android apps using Android SDK, and you don't need to be an expert to use it. Android SDK and Android Studio come bundled together, with Google's official integrated developm 2 min read Like