Android - Error:String types not allowed (at 'imageViewScramble' with value '')

后端 未结 3 789
Happy的楠姐
Happy的楠姐 2021-01-23 02:41

I\'m really having trouble with this one, I tried searching on the internet but didn\'t find anything similar.

When I try to build my app, it gives my this error

相关标签:
3条回答
  • 2021-01-23 02:49

    Ok, I fixed it by removing file at res/refs.xml which got name imageViewScramble in it. From what I've heard, this problems mostly occurs because of xml errors. Sometimes it may happen because of using old build tools. Sometimes clean/rebuild might just work.

    0 讨论(0)
  • 2021-01-23 02:51

    for fixing this error goto res/value then delete the dimens.xml . it worked for me

    0 讨论(0)
  • 2021-01-23 03:11

    I fix a similar issue: searching (CTRL + SHIFT + F) for the literal value that is mentioned in the message eg: 'imageViewScramble'.

    In the result I went to the dimens.xml file where was located the match and I found an inconsistency in the value.

    Eg: 5dp 5dp

    So replacing the line with the mentioned by 5dp

    Fix the issue.

    Thanks for read.

    0 讨论(0)
提交回复
热议问题