skip to Main Content

Keep getting – Can not extract resource from com.android.aaptcompiler.ParsedResource@231a2345.

Here’s a link to my code there is the Main Activity java and the Activity Main xml files

https://long-salsa-95c.notion.site/8caff50a45aa4807b6e1531106dc30ad?v=1ef0ec33f0544b1793f63bb19b8fdbf1

3

Answers


  1. Check your resource string files, maybe some of them has the ‘ without the backslah ‘

    Login or Signup to reply.
  2. Replace the with in String files, or make sure you add # before the color code like #001B3C

    Login or Signup to reply.
  3. You need to create correct resource type.
    For example, if you open raw resource type then put the file there in res/raw and access as below. In below, we have file named project_json.json (can be any file extension).

    val inputStream: InputStream = resources.openRawResource(R.raw.product_json)
    

    Plus remove ‘ with ‘

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search