1

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
  • same issue with a library import. . . I add the library and it gives me error, without the import works fine Commented Sep 1, 2022 at 19:23
  • did you find any solution for the resource merging error? Commented Sep 1, 2022 at 19:23
  • Same error, I just modified the string xml resource file Commented Sep 14, 2022 at 16:49

4 Answers 4

5

Check your resource string files, maybe some of them has the ' without the backslah \'

Sign up to request clarification or add additional context in comments.

Comments

4

Replace the ' with \' in String files, or make sure you add # before the color code like #001B3C

Comments

0

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 '

Comments

0

In my case, I put another style inside one inner style in themes

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.