Skip to content Skip to sidebar Skip to footer

Unable To Start Activity Component Error :binary Xml File Line #2: Error Inflating Class

I am trying to open an activity (CryptoVars) when the user select a menu Item from the Main Activity but I get the Error of the title. Here is my code: java class: package com

Solution 1:

The problem is, that the referenced dimension resource can't be found.

The reason for that is, that you have dimensions specified in the following directory: values-w820dp That means, you provide dimensions for specific screensize only.


To solve this, just simply copy the file dimens.xml from folder values-w820dp into values.

Here is some further reading on this topic: Providing Alternative Resources

Post a Comment for "Unable To Start Activity Component Error :binary Xml File Line #2: Error Inflating Class "