首页 文章

无法在Nougat手机以外的任何手机中安装已签名的apk文件

提问于
浏览
-1
  • 我生成了一个已签名的apk文件并尝试在移动设备上安装 .
    但该应用程序没有安装 . 它的显示应用程序没有安装弹出窗口 .

  • 我可以使用Nougat在移动设备上安装apk,该应用程序在调试模式下功能齐全 .

  • 任何人都可以给我这个问题的可能原因和解决方案 .

apply plugin: 'com.android.application'
apply plugin: 'realm-android'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.3"
    defaultConfig {
        applicationId "prasenjit.com.pickcel"
        minSdkVersion 20
        targetSdkVersion 25
        versionCode 5
        versionName "1.5"
        multiDexEnabled = true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
    }
    sourceSets {
        main {
            assets.srcDirs = ['assets']
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

repositories {
    maven { url "https://jitpack.io" }
        maven { // this is for realm-db
        url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-
    core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile project(path: ':material-login')
    compile project(':MPChartLib')
    compile project(':materiallettericon')
    compile 'com.github.PhilJay:MPAndroidChart-Realm:v2.0.2@aar'
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support:design:25.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:support-vector-drawable:25.3.1'
    compile 'com.android.support:support-v4:25.3.1'
    compile 'com.android.support:recyclerview-v7:25.3.1'
    compile 'com.felipecsl:gifimageview:2.1.0'
    compile 'com.firebaseui:firebase-ui-database:3.0.0'
    compile 'commons-io:commons-io:2.4'
    compile 'com.google.firebase:firebase-auth:11.4.2'
    compile 'com.google.firebase:firebase-database:11.4.2'
    compile 'com.google.firebase:firebase-firestore:11.4.2'
    compile 'com.google.firebase:firebase-messaging:11.4.2'
    compile 'com.google.firebase:firebase-storage:11.4`enter code here`.2'
    compile 'com.google.android.gms:play-services-location:11.4.2'
    compile 'com.google.android.gms:play-services-places:11.4.2'
    compile 'com.google.android.gms:play-services-maps:11.4.2'
    testCompile 'junit:junit:4.12'
}

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

2 回答

  • 0

    得到了我的问题的解决方案 . 它在移动操作系统中称为环境变化,当我们尝试安装已签名的apk和unsigned apk多种类型时会发生这种情况 . 从Play商店安装后,我尝试重新安装上面签名的apk及其工作 .

  • 2

    转到您的手机设置,在已安装的应用列表中找到您的应用,并为所有用户执行卸载

相关问题