+-

我想将我的apk上传到谷歌播放商店.但它显示我这样的错误.
**You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play**
而且我搜索了这个,我收到了更改在museast.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.是否足以将Apk上传到谷歌游戏商店?
2.如果我在我的项目文件夹(app>> build>>输出>> apk>> apk-debug.apk)之后从这个更改中获取了apk,那么它将能够在Google Play商店中上传?
我需要知道这件事
提前致谢.
最佳答案
不要使用调试变量输出!构建一个发布apk.您可以通过转到菜单Build – >在Android Studio中执行此操作.生成签名APK.或者,如果在构建文件中正确配置了签名,则执行./gradlew assembleRelease.
点击查看更多相关文章
转载注明原文:android – 你上传了一个可调试的APK.出于安全原因,您需要先禁用调试,然后才能将其发布到Google Play-Upload apk进行Google Play - 乐贴网