小编ytR*_*ino的帖子

Proguard:删除列表

我想检查删除了哪些类和方法.有没有办法实现这个目标?

我知道mapping.txt显示哪些符号被混淆了什么.但据我所知,被删除的内容并未列在那里. Proguard网站没有描述这一点.

android proguard

7
推荐指数
2
解决办法
1325
查看次数

Moshi:如何在配置 Moshi.Builder 时为 PolymorphicJsonAdapterFactory.withFallbackJsonAdapter 提供适配器

我正在尝试使用PolymorphicJsonAdapterFactoryJSON,它根据type字段提供不同的结构,如下所示。

{
  "notifications": [
    {
      "type": "achievement",
      "title": "New Achievement!",
      "content": "You got new achievement Level 100! (100pt)"
      "metadata": {
        "category": "level",
        "id": "level100",
        "points": 100,
      }
    },
    {
      "type": "message",
      "name": "message",
      "content": "Cloud: hello, ~"
      "metadata": {
        "from": "Cloud",
        "content": "hello, ~ "
      }
    },
    {
      "type": "new", <--- e.g. this is unknown type for app
      "name": "something new",
      "content": "You are informed something about. Please check app://~",
      "deeplink": "app://~"
    }
  ]
}
Run Code Online (Sandbox Code Playgroud)

假设我们的应用程序已经为一些已知的 …

android json moshi

7
推荐指数
0
解决办法
968
查看次数

标签 统计

android ×2

json ×1

moshi ×1

proguard ×1