Home > Back-end >  How to debug/launch Android app in intelliJ (maven)
How to debug/launch Android app in intelliJ (maven)

Time:09-27

I have an multimodule application build by maven, one of the module is Android app. From "build side" everything seems to be ok, APK is built etc. I want to launch or debug this app in android emulator or device but here have some issues. In standard way (Gradle-aware Make) there is an Multidex error. I added multidex support dependecies, checked multidex option in IDE but with no result. After that I had read that better option is to use Maven so I changed launch profile to "Run Maven Goal" (with options "clean install"), as always everything seems to be OK but then there is a message "install failed, invalid APK"... but why ? Im abble to install that "generated APK" manually on the device but with IDE there is no such possibility. Have You ever met with such situation?

CodePudding user response:

For proper integration with emulators just use Android Studio - it's a flavor of intellij

https://developer.android.com/studio

CodePudding user response:

why you want to launch your app on intellij instead use android studio

  • Related