-3

In android studio, i have create new project that run on 2.2(that shows 100% compatibility). The project is about calculation. I have installed on my phone(lollipop), and the app is working properly. But, I tried to install in my friends kitkat phone, the app is installed but, When i open the app, that shows Unfortunately the app has stopped. So, I need a help. What I have to do?

Thank You.

2 Answers2

2

May be you set Minimum SDK at Lollipop check it out in build.gradle file.

android {
compileSdkVersion 24
buildToolsVersion "23.0.3"

defaultConfig {
    applicationId "com.communitynow.communitynow"
    minSdkVersion 15
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}

and add compile 'com.android.support:multidex:1.0.0' in gradle file

Here in defaultConig{} minSdkVersion should be 15 or according to your minimum android run requirement.

Akshay
  • 1,702
  • 1
  • 9
  • 16
-1

You need to create a kit kat emulator to run the app on then check the log cat to see what the error is.

Ben
  • 1,285
  • 1
  • 9
  • 15