Android error No, minSdk(API 19) > deviceSdk(API 1)
There are a few things to check.
if you go to the terminal window in Android Studio and cd to the path where your sdk platform tools are installed (something like C:\Android\SDK\platform-tools ) and run the following command
adb devices
Do you have a device listed? If not then you don't have the device setup properly, or the correct drivers.
On the phone make sure that you have developer options enabled (go to settings->about phone and click on the Build Number 7 times or so)
Once you have enabled that go into the develop options under settings and make sure USB debugging is enabled.
If adb devices
said "no permission" for the device you are connecting, make sure to connect it as MTP device first. This will implicitly prompt you to import the computer's fingerprint and allow future connections for USB debugging as well.
In build.gradle file, change the minSdkVersion to 7
ADB Secure device authorizations are stored in a white-list located in the adb directory. if you want to connect to the ADB daemon running on the android device from a process running on the device via tcp as localhost then the connection is successful but the Authorisation prompt is not displayed and the device is shown as Offline.
You need to have root access in order to remove RSA keys from the white-list. When the pop up "Allow USB Debugging" comes on the phone screen, press "Ok" to enable it. if not unplug and re-plug to see the prompt.