美好的一天。我的状况很奇怪。该应用程序有时会崩溃,但通常不会崩溃。该应用程序返回到先前的活动或完全退出了该应用程序,而没有显示“ UNFORTUNATALLY APP CLOSED”对话框,而android studio则没有给出任何异常日志。我认为这种行为是崩溃...这发生在配备棒棒糖版本(默认kitkat)的huaweu p8 lite和棒棒糖版本(默认4.2.2)的sony xperia z设备上。该应用程序完全崩溃了...在其余设备上,该应用程序不会崩溃,不会重启或不会退出,所以我不知道它有什么问题...请您能帮我吗?
建立gradle文件,这可能是奇怪的“崩溃”的选项
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.19.2'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven {
url 'https://maven.fabric.io/public'
}
maven {
url 'https://github.com/suckgamony/RapidDecoder/raw/master/repository'
}
maven {
url 'https://dl.bintray.com/intercom/intercom-maven'
}
}
android {
compileSdkVersion 22
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.sparklingzoo.framkalla"
minSdkVersion 15
targetSdkVersion 22
versionCode 303
versionName "3.0.3"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'org.javatuples:javatuples:1.2'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.loopj.android:android-async-http:1.4.7'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'rapid.decoder:library:0.3.0'
compile 'rapid.decoder:jpeg-decoder:0.3.0'
compile 'rapid.decoder:png-decoder:0.3.0'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.github.siyamed:android-shape-imageview:0.9.+@aar'
compile 'com.facebook.android:facebook-android-sdk:4.1.1'
compile('com.wu-man:android-oauth-client:0.0.3') {
exclude module: 'support-v4'
}
compile project(':pk-library')
compile 'com.stripe:stripe-android:1.0.0'
compile('com.crashlytics.sdk.android:crashlytics:2.2.4@aar') {
transitive = true;
}
compile ('io.intercom.android:intercom-sdk:1.+@aar') {
transitive = true
}
compile 'com.mixpanel.android:mixpanel-android:4.6.0'
// compile 'com.google.android.gms:play-services:6.5.87'
compile 'com.parse.bolts:bolts-android:1.2.0'
compile files('libs/AF-Android-SDK-v3.3.0.jar')
}