Android object id present in xml but not visible on UIAutomator - What would need to update?

Android object id present in xml but not visible on UIAutomator -
What would need to update, so I can see those ids in UIAutomator?

Can any one please help in?

What version /API LEVEL of android are you using?

Well, there is an update.
Got to know that UIAutomatorViewer does not show up id for API 17 but 18 and onwards.
References:
http://stackoverflow.com/questions/21399503/real-device-vs-emulator-uiautomator-does-not-show-resource-id-for-the-apphttps://code.google.com/p/android/issues/detail?id=61897