You have put 3rd party library in library folder and reference them. Go to Properties/ Java Build Path/ Libraries/ Add External JARs.
Check the Jar files in the Properties/ Java Build Path/ Order and Export
12
down vote
|
Remove
xmlns:android="http://schemas.android.com/apk/res/android" from the <fragment> element, and consider moving xmlns:map="http://schemas.android.com/apk/res-auto" from the <fragment> element to the root element.For example, this is valid:
|
switch statement to an if-else statement using Eclipse's quick fix.switch keyword and press Ctrl + 1 then select Convert 'switch' to 'if-else'.http://spacetech.dk/android-case-expresssions-must-be-constant-expressions.html
PropertiesJava Build PathLibraries tab. There click the Add External JARs Button on the Right pane.android-support-v4.jar file, usually the path for the Jar file is :andorid-support-v4.jar Library, navigate to the Order and Export tab and put check mark on the android-support-v4 Library file.