您上传了可调试的APK。出于安全原因,您需要先停用调试功能,然后才能将其发布到Google Play上传apk中以发挥作用 [英] You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play-Upload apk to google play

查看:1404
本文介绍了您上传了可调试的APK。出于安全原因,您需要先停用调试功能,然后才能将其发布到Google Play上传apk中以发挥作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  **你上传了我的apk一个可调试的APK。出于安全原因,您需要先停用调试功能,然后才能将其发布到Google Play中。** 

以及比i搜索了这一点,我收到了suggetion,以便更改manifast.xml中的 android:debuggable =false

我改变了这个样子



manifast.xml

 < application 
android:allowBackup =true
android:debuggable =false
android:icon =@ mipmap / ic_launcher
android:label =Concall
android:screenOrientation =portrait
android:theme =@ style / AppTheme>

以及在我的build.grable(模块)中

  android {
buildTypes {
debug {
debuggable false
}
}

1.is足够上传Apk到google play store吗?



2 。如果我从我的项目文件夹(app >>构建>>输出>> apk >> apk-debug.apk)获取apk,那么这个变化之后会比它能够在谷歌Play商店中上传?



我需要知道这件事
在此先感谢。

解决方案

Don不使用调试变体输出!构建一个发布 apk。您可以通过转至菜单生成 - >生成已签名的APK,在Android Studio中执行此操作。或者通过执行./gradlew assembleRelease,如果您已经正确配置了在构建文件中的签名。


I Want to upload my apk to google play store.but its Show me error like this.

**You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play**

and than i searched for this and i receive suggetion to change the android:debuggable="false" in manifast.xml.

I changed like this

manifast.xml

 <application
    android:allowBackup="true"
    android:debuggable="false"
    android:icon="@mipmap/ic_launcher"
    android:label="Concall"
    android:screenOrientation="portrait"
    android:theme="@style/AppTheme" >

and in my build.grable(Module)

android {
buildTypes {
    debug {
        debuggable false
    }
}

1.is the enough for upload Apk to google play store?

2.if i pick up apk from my project folder(app>>build>>output>>apk>>apk-debug.apk) after this change than after it will able to upload in google play store??

i need to know this thing Thanks in advance.

解决方案

Don't use the debug variant output! Build a release apk. You can do that in Android Studio by going to the menu Build -> Generate Signed APK. Or by executing ./gradlew assembleRelease if you have properly configured signing in the build file.

这篇关于您上传了可调试的APK。出于安全原因,您需要先停用调试功能,然后才能将其发布到Google Play上传apk中以发挥作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆