应用没有在其他手机上运行

时间:2018-03-11 08:58:54

标签: android build android-emulator

  

安装失败并显示消息INSTALL_FAILED_NO_MATCHING_ABIS:   无法提取本机库,res = -113。有可能这样   通过卸载现有版本的apk来解决问题   存在,然后重新安装。

我检查了这个link但它对我不起作用,app在其他设备上也没有在模拟器上运行。
不知何故,它适用于oneplus 5T Oreo,但我实现的功能无效。

在这里帮助我

    buildscript {
    repositories {
        mavenCentral()
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
        classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
    }
}
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
    flatDir {
        dirs 'libs'
    }
}


android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.hero.duit"
        minSdkVersion 17
        targetSdkVersion 26
        versionCode 1
        versionName '1.0.0'
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

sourceSets {
    main {
        java.srcDirs = ['src/main/java', 'build/generated/source/greendao']
    }
}

greendao {
    targetGenDir 'src/main/java'
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.android.support:support-v4:26.1.0'
    implementation 'com.google.firebase:firebase-messaging:11.0.4'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.squareup.retrofit2:retrofit:2.3.0'
    compile 'com.squareup.retrofit2:converter-gson:2.3.0'
    compile 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    compile 'com.hbb20:ccp:2.1.1'
    compile('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
        transitive = true;
    }
    compile(name: 'sinch-android-rtc', version: '+', ext: 'aar')
    compile(name: 'sinch-android-verification', version: '+', ext: 'aar')
    compile 'org.greenrobot:greendao:3.2.0'
}

apply plugin: 'com.google.gms.google-services'

0 个答案:

没有答案