Playstore错误:App Bundle包含本机代码,并且您尚未上传调试符号 [英] Playstore error: App Bundle contains native code, and you've not uploaded debug symbols

查看:1289
本文介绍了Playstore错误:App Bundle包含本机代码,并且您尚未上传调试符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我想向Playstore发布新的flutter应用程序捆绑包时.我收到此错误: 此应用程序捆绑包包含本机代码,并且您尚未上传调试符号.我们建议您上传符号文件,以使崩溃和ANR更易于分析和调试." 我找不到解决此问题的任何方法.我是新手,要发布应用程序,所以有点绝望... 任何帮助都很棒.

When I want to release a new flutter app bundle to the Playstore. I get this error: "This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug." I can't find any way to fix this. I'm new with flutter and releasing app's and getting a bit desperate... Any help would be fantastic.

当我添加" android.defaultConfig.ndk.debugSymbolLevel ='FULL'" (第1行)到 https中建议的应用程序/build.gradle://developer.android.com/studio/preview/features#native-crash-symbolization .我在Android Studio终端中收到此错误.我使用此命令"flutter build appbundle".

When I add "android.defaultConfig.ndk.debugSymbolLevel = 'FULL'" (on line 1) to the app/build.gradle as suggested in https://developer.android.com/studio/preview/features#native-crash-symbolization. I get This error in the Android studio terminal. I use this command "flutter build appbundle".

终端错误: 失败:构建失败,并出现异常.

Error in Terminal: FAILURE: Build failed with an exception.

  • 其中: 构建文件'C:\ Users \ filip \ AndroidStudioProjects \ ehbo \ android \ app \ build.gradle'行:1

  • Where: Build file 'C:\Users\filip\AndroidStudioProjects\ehbo\android\app\build.gradle' line: 1

出了什么问题: 评估项目':app'时发生问题.

What went wrong: A problem occurred evaluating project ':app'.

无法获取类型为org.gradle.api.Project的项目':app'的未知属性'android'.

Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project.

  • 尝试: 使用--stacktrace选项运行以获取堆栈跟踪.使用--info或--debug选项运行,以获取更多日志输出.与--scan一起运行以获得完整的见解.

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

      https://help.gradle.org

      3秒内失败 正在执行Gradle任务"bundleRelease" ... 正在执行Gradle任务"bundleRelease" ...完成4,3秒 Gradle任务bundleRelease失败,退出代码为1

      BUILD FAILED in 3s Running Gradle task 'bundleRelease'... Running Gradle task 'bundleRelease'... Done 4,3s Gradle task bundleRelease failed with exit code 1

      推荐答案

      必须先使用Android Gradle插件版本4.1或更高版本,然后才能上传调试符号文件.

      Before you can upload debug symbols files, you must be using Android Gradle plugin version 4.1 or higher.

      看起来它只会随Android Studio 4.1一起提供,因为我现在只能自动获得Gradle 4.0.0.

      Looks like it will come only with Android Studio 4.1, because I can only get Gradle 4.0.0 automatically now.

      所以我建议您返回经典的Play控制台,它将让您通过:)

      So I suggest you to return classic Play console and it will let you through :)

      这篇关于Playstore错误:App Bundle包含本机代码,并且您尚未上传调试符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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