javax.xml.transform.TransformerException: Extra illegal tokens: '$', 'c'"}

I am not able to find element using xpath
appium console gives following below error
info: [debug] [BOOTSTRAP] [debug] Finding //android.widget.HorizontalScrollView[@index=‘4’]/android.support.v7.app.a$c using XPATH with the contextId: multiple: true

info: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:32,“value”:“javax.xml.transform.TransformerException: Extra illegal tokens: ‘$’, ‘c’”}
info: [debug] Responding to client with error: {“status”:32,“value”:{“message”:“Argument was an invalid selector (e.g. XPath/CSS).”,“origValue”:“javax.xml.transform.TransformerException: Extra illegal tokens: ‘$’, ‘c’”},“sessionId”:“52d74cf7-c0ac-4f75-acbc-5b104516ff39”}