I'm using IntelliJ IDEA for Android Development, and when I try to edit the run configuration for the Android emulator, it says there is an error and it looks like this.
The emulator still runs but it doesn't launch the activity automatically and I'm just wondering what's causing this error and what are possible solutions. Thanks.
That happened to me too after following the Android Studio recommendations to switch "android" to "com.android.library in build.gradle.
So for the app module of my project, I just reverted this:
apply plugin: 'com.android.library'
Into this:
apply plugin: 'com.android.application'
GO to "Project structure" icon (it is enlisting where your new,save project icons are showing) then click Module and select Android option and Uncheck Library Module or
PROJECT STRUCTURE->MODULE->ANDROID->UNCHECK LIBRARY
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