I am trying to call a static variable in android but I am receiving an error.
URL class
public class URL{
public static String url ="xxxxxxxx";
}
Second Class{
private static String newUrl = MyURL.url;
}
but I am getting errors
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/example/system2/tranxav/url/URL;