java.lang.NoClassDefFoundError: android.support.v7.mediarouter.R$string

Iam building an Application which is using the support libraries.

There is no compilation errors on my project but when I run I see this message in the logcat :

java.lang.NoClassDefFoundError: android.support.v7.mediarouter.R$string

Apparently a solution to that was to run an update on the libraries project which i did using the android update command tool, but it did not help.

please click HERE for the full logcat log

Answers


Rather than referencing the JAR file for the library , you should reference the library's source code directly.


Need Your Help

augment the factory pattern in java

java design-patterns factory-pattern

I am trying to use a factory pattern to create a QuestionTypeFactory where the instantiated classes will be like MultipleChoice, TrueFalseQuestion etc.

Method returns wrong value - Android

android android-edittext

Why does this method always return true, even when the editTexts have nothing in them?