在我的Whatsapp贴纸应用程序中添加多个贴纸包会导致“ Resources $ NotFoundException:多个资源ID”

时间:2019-09-09 12:06:46

标签: java android whatsapp

我添加了我的第一个贴纸包没有任何问题,但是如果我尝试添加第二个贴纸包,则会出现此错误。

我尝试在GitHub上查找代码示例,但我的工作方式与其他人相同,显然他们并没有遇到与我相同的问题。

(这些是我来自 content.json 的文件包)

    {
      "identifier": "1",
      "name": "Twitch Stickers for Whatsapp Part 1",
      "publisher": "Marco Federici",
      "tray_image_file": "trayPepe.png",
      "publisher_email": "federicimarco99@gmail.com",
      "publisher_website": "https://steamcommunity.com/id/marcoreckless",
      "privacy_policy_website": "",
      "license_agreement_website": "",
      "stickers": [
        {
          "image_file": "aD.webp"
        },
        {
          "image_file": "4Head.webp"
        },
        {
          "image_file": "5Head.webp"
        },
        {
          "image_file": "AYAYA.webp"
        },
        {
          "image_file": "FeelsBadMan.webp"
        },
        {
          "image_file": "FeelsDankMan.webp"
        },
        {
          "image_file": "FeelsGoodMan.webp"
        },
        {
          "image_file": "FeelsOkayMan.webp"
        },
        {
          "image_file": "FeelsWeirdMan.webp"
        },
        {
          "image_file": "forsenCD.webp"
        },
        {
          "image_file": "GachiBASS.webp"
        },
        {
          "image_file": "GachiHYPER.webp"
        },
        {
          "image_file": "Jebaited.webp"
        },
        {
          "image_file": "Kappa.webp"
        },
        {
          "image_file": "KKomrade.webp"
        },
        {
          "image_file": "KKonaW.webp"
        },
        {
          "image_file": "LUL.webp"
        },
        {
          "image_file": "monkaW.webp"
        },
        {
          "image_file": "OhMyDog.webp"
        },
        {
          "image_file": "OMEGALUL.webp"
        },
        {
          "image_file": "peepoHappy.webp"
        },
        {
          "image_file": "Pepega.webp"
        },
        {
          "image_file": "PepeHands.webp"
        },
        {
          "image_file": "PepeLaugh.webp"
        },
        {
          "image_file": "PogU.webp"
        },
        {
          "image_file": "TriHard.webp"
        },
        {
          "image_file": "WeirdChamp.webp"
        },
        {
          "image_file": "KEKW.webp"
        },
        {
          "image_file": "ZULUL.webp"
        }
      ]
    },
    {
      "identifier": "2",
      "name": "Twitch Stickers for Whatsapp Part 2",
      "publisher": "Marco Federici",
      "tray_image_file": "trayPepe.png",
      "publisher_email": "federicimarco99@gmail.com",
      "publisher_website": "https://steamcommunity.com/id/marcoreckless",
      "privacy_policy_website": "",
      "license_agreement_website": "",
      "stickers": [
        {
          "image_file": "KKonaW2.webp"
        },
        {
          "image_file": "LUL2.webp"
        },
        {
          "image_file": "monkaW2.webp"
        }
      ]
    }

  ]

I uploaded the error code here.

0 个答案:

没有答案