构建完成但应用程序未运行 - android

Ana*_*dze 5 android build.gradle

应用程序既不在模拟器上运行,也不在真实设备上运行。我不明白原因。这是我的 build.gradle

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "ge.mobility.anako.parser"
        minSdkVersion 10
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.1.1'
}
Run Code Online (Sandbox Code Playgroud)

Bar*_*uda 2

有时它是由于非常大的图像而发生的。如果您有此类图像,请尝试缩小它们,您的应用程序应该可以运行。

我正在使用这个在线工具来缩小 PNG。它会缩小您的图像,同时保持其质量。

祝你好运!