I have a multi-module Java project, which I opened in Android Studio. Now, the project works otherwise fine, but when I click "Run", it won't build the project. Instead, it runs the old executable. I always have to first manually build the project so that it will run the most recent version.
What could cause this? My launch configuration seems correct (an "Application" config, with the correct main class and module). In my module's build.gradle, I have this:
apply plugin: "application"
apply plugin: "idea"
mainClassName = "me.manabreak.manray.EditorLauncher"
sourceCompatibility = 1.8
As per this Gradle documentation, this should be correct. I'm not sure why Android Studio / IDEA won't build before running.
The tool windows give you access to specific tasks like project management, search, version control, and more. You can expand them and collapse them. The status bar displays the status of your project and the IDE itself, as well as any warnings or messages.
The build process involves many tools and processes that convert your project into an Android Application Package (APK) or Android App Bundle (AAB). The build process is very flexible, so it's useful to understand some of what is happening under the hood.
The following worked for me:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With