I'm trying to use a switch
statement in a Android Application. This switch
statement is testing the value of a String
, and then based of that changing the value of another String.
String s1 = "a" then String s2 = "1"
I keep getting an error that says I need to change the compliance to 1.7. After I do that, I then get an error that says I need to change the compliance to 1.6.
Is there a way to fix this? or can anyone think of a work around for this?