app android de,Android Deobfuscation

Android Deobfuscation

11/11/2019

本文内容

ProGuard、DexGuard 和 R8 是用于对 Android 应用程序的代码进行优化和模糊处理的工具。 它会删除未使用的代码、重命名具有语义模糊名称的类、字段和方法,使基本代码更小,更难反向工程。 若要在 Android 应用中使用 ProGuard 或 R8 启用混淆,请遵循 官方 Android 开发人员文档。

如果在 Android 应用中启用了 ProGuard、DexGuard 或 R8,则堆栈跟踪必须 deobfuscated。 当你上传 mapping.txt 每个生成上创建的文件时,App Center 会自动为 Java、Kotlin 和响应本机 Android 应用 deobfuscates 堆栈跟踪。 此文件将原始类、方法和字段名称映射到可读取堆栈跟踪的经过模糊处理的名称。

App Center 生成和分发服务可以自动生成映射文件并将其上载到诊断服务。 如果使用 App Center 生成应用并将其自动分发给最终用户,则无需手动获取和上传映射文件,如以下步骤中所述。

正在上载 mapping.txt 文件

App Center 门户

mapping.txt从应用模块的生成目录下载文件

登录到 App Center 并选择你的应用

在左侧菜单中,导航到 " 诊断 " 部分

选择 映射

单击右上角的 " 上传映射 " 按钮

填写版本名称和版本代码 (它们必须匹配该生成的 Gradle 配置,才能使映射适用于特定生成)

从 mapping.txt 应用模块的生成目录上传文件。

单击“保存”按钮。

App Center API

通过 API 上传映射文件的过程涉及一系列三个 API 调用:一次用于分配后端空间,一次用于上传文件,另一次用于更新上传状态。 第一个 API 调用的正文应分别设置为 、、分别对应于版本代码和版本名称的属性 symbol_type AndroidProguard 以及 build version file_name 。

触发 POST 对 symbol_uploads API的请求。

此调用在文件后端为文件分配空间,并返回 symbol_upload_id 和 upload_url 属性。

curl -X POST 'https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/symbol_uploads' \

-H 'accept: application/json' \

-H 'X-API-Token: {API TOKEN}' \

-H 'Content-Type: application/json' \

-d '{JSON BODY}'

使用 upload_url 第一步中返回的属性,发出 PUT 带有标头的请求: "x-ms-blob-type: BlockBlob" 并提供文件在磁盘上的位置。 此调用会将文件上传到后端存储帐户。 了解有关 放置 Blob 请求标头的详细信息。

curl -X PUT '{upload_url}' \

-H 'x-ms-blob-type: BlockBlob' \

--upload-file '{path to file}'

PATCH使用第一步中返回的属性向symbol_uploads API发出请求 symbol_upload_id 。 在请求正文中,指定是要将上传的状态设置 (为 "已 committed 成功完成") 上载过程,还是 ("未 aborted 成功完成) "。

curl -X PATCH 'https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/symbol_uploads/{symbol_upload_id}' \

-H 'accept: application/json' \

-H 'X-API-Token: {API TOKEN}' \

-H 'Content-Type: application/json' \

-d '{ "status": "committed" }'

备注

符号上载 API 不适用于大小超过256MB 的文件。 使用 App Center CLI 上传这些文件。 可以按照我们的 APP CENTER cli存储库中的说明安装 App Center CLI。

App Center CLI

还可使用 CLI 上传映射文件:

appcenter crashes upload-mappings --mapping {mapping file} --version-name {version name} --version-code {version code}

备注

App Center无法检查是否上传了正确的 mapping.txt 文件。 建议在创建 .apk 文件后直接上传文件,或将其推送到代码存储库(如果要稍后上传)。

从生成中转发映射App Center

如果将生成 配置为生成文件 mapping.txt ,App Center生成文件作为可用下载。 自动分发生成或稍后手动分发它将文件转发到诊断,以对传入的崩溃 mapping.txt 报告进行模糊处理。 分发生成后,不需要手动 mapping.txt 上传文件。

删除映射文件

向 GET 应用程序 API symbols_list请求。 这会检索上传的映射文件的 ID。

使用 DELETE 映射文件 ID 向 symbols_upload API 进行请求。 这会删除指定的映射文件。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/440397.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【2019浙江省赛 - B】Element Swapping(思维,数学)

题干: DreamGrid has an integer sequence and he likes it very much. Unfortunately, his naughty roommate BaoBao swapped two elements and () in the sequence when DreamGrid wasnt at home. When DreamGrid comes back, he finds with dismay that his …

android 没有指令,android – 运行时没有命令输出:’am start -n

最近,当我试图在我的设备上运行我的Android应用程序时,我必须在实际启动之前从Eclipse运行它几次.我试图重新安装JRE,JDK和IDE,我试图切换工作区.我还让Eclipse为Java VM使用更多的RAM.我的IDE,JRE,JDK,ADT和ADT插件都是最新的.对此有任何建议非常感谢.No command output when …

【2019浙江省赛 - E】Sequence in the Pocket(思维)

题干: DreamGrid has just found an integer sequence in his right pocket. As DreamGrid is bored, he decides to play with the sequence. He can perform the following operation any number of times (including zero time): select an element and move i…

android和ios系统的内存,WP和Saipan系统的流畅程度相当于ios,占用的内存很少,但是为什么要用Android取代它...

当涉及到WP和Symbian系统时,许可能没有听说过它,但是对于大多数关注智能手机市场增长的消费者来说,它已经为人们所熟悉,并且许已经使用了它. 当时在功能性机器上使用了Saipan系统,但是您会发现该系统的流畅性与当时的i…

【CodeForces - 1042C】Array Product(思维,有坑细节)

题干: You are given an array aa consisting of nn integers. You can perform the following operations with it: Choose some positions ii and jj (1≤i,j≤n,i≠j1≤i,j≤n,i≠j), write the value of ai⋅ajai⋅aj into the jj-th cell and remove the num…

红米pro android o刷机,红米Pro如何刷机?你可以通过这两种方法获取root权限!

小米官网最近发布了关于红米pro的消息,相信很多米粉们已经上手了,那么新到手的机子怎么刷机呢?下面小编为大家带来一个完整的红米Pro官方卡刷机教程,希望可以帮助到大家。红米Pro卡刷升级教程:准备工作1.进入红米Pro刷…

【2019浙江省赛 - K 】Strings in the Pocket(马拉车,思维)

题干: BaoBao has just found two strings and in his left pocket, where indicates the -th character in string , and indicates the -th character in string . As BaoBao is bored, he decides to select a substring of and reverse it. Formally spe…

android+微信一键关注,一键关注微信公众平台JS代码有哪些?

一键关注微信公众平台JS代码有哪些?在网页设置一个按钮或者链接可以让用户一键关注微信公众平台,那么这种一键关注微信公众平台的功能如何实现呢?下面小编分享给大家一键关注微信公众平台的JS代码。在微信上,通过微信公众平台推送…

【2019浙江省赛 - A】Vertices in the Pocket(权值线段树下二分,图,思维)

题干: DreamGrid has just found an undirected simple graph with vertices and no edges (thats to say, its a graph with isolated vertices) in his right pocket, where the vertices are numbered from 1 to . Now he would like to perform operations …

html写原生曲线图,HTML5 平滑的正弦波曲线图

JavaScript语言:JaveScriptBabelCoffeeScript确定var waves new SineWaves({el: document.getElementById(waves),speed: 4,width: function() {return $(window).width();},height: function() {return $(window).height();},ease: SineInOut,wavesWidth: 80%,wav…

【CodeForces - 1150C】Prefix Sum Primes(思维)

题干: Were giving away nice huge bags containing number tiles! A bag we want to present to you contains nn tiles. Each of them has a single number written on it — either 11or 22. However, there is one condition you must fulfill in order to re…

asp.net 写入html代码,asp.net读取模版并写入文本文件

本文要介绍的是ASP.NET怎样读写文本文件,但更重要的是实现的过程。使用的工具是Visual Studio 2015 ,.NET版本是4.6.1 。一共建立的2个项目,HoverTreePanel和HoverTreeWeb,都是ASP.NET项目。文章末尾附源码下载。项目结果如下图&a…

【CodeForces - 1150A】Stock Arbitraging (贪心,水题)

题干: Welcome to Codeforces Stock Exchange! Were pretty limited now as we currently allow trading on one stock, Codeforces Ltd. We hope youll still be able to make profit from the market! In the morning, there are nn opportunities to buy share…

html以图像中心定位,在HTML图像上水平和垂直居中文本(绝对定位)

Michael Roach0htmlcssflexbox鉴于以下设计元素,我试图在html中包含图像,以便可以使用css过渡(悬停效果)操纵不透明度.这里的主要缺点是我使用手动垂直居中(绝对/顶部:4​​0%),这在缩小浏览器时变得明显.在使用绝对定位时,是否可以使用flexbox或table进行垂直居中?…

*【CodeForces - 1150D】Three Religions(dp,预处理,思维)

题干: During the archaeological research in the Middle East you found the traces of three ancient religions: First religion, Second religion and Third religion. You compiled the information on the evolution of each of these beliefs, and you now…

基于android公交车线路查询论文文献,本科毕业论文---基于android的手机公交线路查询系统.doc...

毕 业 设 计( 论 文 )题目手机公交线路查询系统作者学院专业学号指导教师摘 要关键词;AbstractWith the level of people’s life improving,going out by bus become a necessary part of daily life.And the traffic line to destination should be known everyti…

【POJ - 3159】Candies (差分约束,卡SPFA)

题干: 在幼儿园的时候,Flymouse是班上的班长。有时班主任会给班上的孩子们带来一大袋糖果,让他们分发。所有的孩子都非常喜欢糖果,经常比较他们和别人买的糖果的数量。一个孩子A可以有这样的想法,尽管可能是另一个孩子…

计算机英语第六单元,计算机专业英语第六版第十单元课后汉译英,We do use other forms....这个do...

同样的 ,多线程也存在许多缺点 ,在考虑多线程时需要进行充分的考虑。多线程的主要缺点包括:Similarly, multi thread also has many shortcomings, in the consideration of the need for the full consideration of multiple threads. The m…

1.Hello,Python

本文为Kaggle Learn的Python课程的中文翻译,原文链接为:https://www.kaggle.com/colinmorris/hello-python 欢迎来到Kaggle Learn的Python课程。本课程将介绍在开始使用Python进行数据科学之前需要的基本Python技能。这些课程针对那些具有一些编程经验的…

【POJ - 1273】Drainage Ditches(网络流,最大流,模板)

题干: 现在有m个池塘(从1到m开始编号,1为源点,m为汇点),及n条水渠,给出这n条水渠所连接的点和所能流过的最大流量,求从源点到汇点能流过的最大流量。 Input 输入包括几种情况。 对于每种情况,第一行包含两个空格分隔的整数,N&a…