For giving build for a debug Android app from Android Studio 3.0, it’s not installing in Mobile having Marshmallow and up (in Lollipop not tested).
I have used many
First try to generate the debug apk by below steps:
Now run that configuration. you will have the debug apk ready in build/outputs/apk/app-debug.apk. Now install that apk in any device. It should work.