Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/196.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 安卓设备中安装的已发布APK被Play Protect错误阻止_Android_Android Studio_Google Api - Fatal编程技术网

Android 安卓设备中安装的已发布APK被Play Protect错误阻止

Android 安卓设备中安装的已发布APK被Play Protect错误阻止,android,android-studio,google-api,Android,Android Studio,Google Api,我已经生成了签名的Apk,并在Android设备中安装了它的give对话框,以便在设备中成功安装调试应用程序时使用Play Protect.when 我使用了两个GoogleApi。映射和youtube之后,我将使用firebase-api 如何在Android Studio或谷歌Api中更改项目代码,发布Apk成功安装 依赖关系:- [dependencies { compile fileTree(include: \['*.jar'\], dir: 'libs') andr

我已经生成了签名的Apk,并在Android设备中安装了它的give对话框,以便在设备中成功安装调试应用程序时使用Play Protect.when

我使用了两个Google
Api
。映射和
youtube
之后,我将使用
firebase-api

如何在Android Studio或谷歌
Api
中更改项目代码,发布
Apk
成功安装

依赖关系:-

[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 files('libs/universal-image-loader-1.9.5.jar')
    compile files('libs/mpandroidchartlibrary-2-2-4.jar')
    compile files('libs/YouTubeAndroidPlayerApi.jar')
    compile 'com.android.support:appcompat-v7:25.0.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:design:25.0.1'
    compile 'com.squareup.okhttp:okhttp:2.0.0'
    compile 'com.android.support:support-v4:25.0.1'
    compile 'com.roomorama:caldroid:3.0.1'
    compile 'de.hdodenhof:circleimageview:2.1.0'
    compile 'com.github.bumptech.glide:glide:4.7.1'
    compile 'com.android.support:cardview-v7:25.0.1'
    compile 'com.android.support:recyclerview-v7:25.0.1'
    compile 'com.google.android.gms:play-services:11.0.4'
    compile 'com.google.firebase:firebase-core:11.0.4'
    testCompile 'junit:junit:4.12'
}



configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '25.0.1'
            }
        }
    }
}

当你与谷歌沟通时会发生什么,这将解决问题。他们为这种情况准备了一份表格。它们通常在3-5天内纠正


或者使用新的开发人员帐户登录将解决此问题。

生成一个新密钥,但请确保您已登录到Android Studio。这为我解决了这个问题。

可能重复的