m0_37707016 2017-03-08 08:28 采纳率: 0%
浏览 1251

Androidstudio编译的App5.几系统上能运行,4.4系统上不行,闪屏就退了求大神们指教

这是我 gradle

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
useLibrary 'org.apache.http.legacy'

sourceSets {
    main {
        jniLibs.srcDirs = ['libs']
    }
}

/* 。。。。。。。。。*/

//签名
signingConfigs {
    debug {

    }
    release {// 自己的签名文件
        storeFile file("E:\\Apk\\jklc.jks")
        storePassword "123456"
        keyAlias "jklc"
        keyPassword "123456"
    }
}
defaultConfig {
    applicationId "com.jklc.healthyarchives"
    minSdkVersion 16
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}


buildTypes {
    debug {
        // 显示Log
        buildConfigField "boolean", "LOG_DEBUG", "true"
        versionNameSuffix "-debug"
        minifyEnabled false
        zipAlignEnabled false
        shrinkResources false
        signingConfig signingConfigs.debug
    }







    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.alibaba:fastjson:1.2.10'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.facebook.fresco:fresco:0.12.0'
compile 'com.jakewharton:butterknife:5.1.1'
compile files('libs/httpmime-4.1.1.jar')
compile files('libs/Sunflower.jar')
}

  • 写回答

3条回答 默认 最新

  • AslanChen_TheOne 2017-03-08 08:28
    关注

    Androidstudio 可以看到错误日志的,看一下就知道什么问题了,一般都是使用了高版本的Api导致的

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?