0

My Android App is good working on android 5 but when test app on other device(android 4) is crashing. I did not use the special code. Unfortunately my android studio is not have virtual device for api16 to see error log. please help me.thanks

my gradle code:

     apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"
    defaultConfig {
        applicationId "com.blogsky.delete.azbook"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.1.1'
}
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

We can not know what make ur app crash without error log. Please install sdk 16 and setup virtual device, and post your error message here

  • thanks for your answer.i am install sdk 16 but not any virtual device (api 16) in avd.i do not know is add virtual devise for api 16. :( – moslem fathi Jun 02 '17 at 11:34
  • Press AVD icon on your Android studio toolbar -> new virtual device -> and here you will have a list of api level here. Just keep going on those steps – Nguyễn Gia Lễ Jun 02 '17 at 11:38
  • thank you.but all device have api 23 and not any device (api 16) on list. – moslem fathi Jun 02 '17 at 11:58
  • oh you missing image of a divce with api 16. on screen to select api, please go to x86 images tab or other image, please download images from here which is api 16, and go create again – Nguyễn Gia Lễ Jun 02 '17 at 12:07