[Android Q&A, Help & Troubleshooting] n4nn31355:
Aloha!

Help me please!

I install android sdk + eclipse from the official site, install the package for 3.0 and 4.1.2 rev.

Download the CM Trebuchet Launcher source code from Github, import them into eclipse.

And when building get this:

View attachment 1758654

Description	Resource	Path	Location	Type
The method getRealMetrics(DisplayMetrics) is undefined for the type Display	Workspace.java	/Launcher/src/com/cyanogenmod/trebuchet	line 943	Java Problem
The method setChildrenLayersEnabled(boolean) is undefined for the type ViewGroup	Workspace.java	/Launcher/src/com/cyanogenmod/trebuchet	line 1530	Java Problem
The method requestAccessibilityFocus() is undefined for the type Cling	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 3722	Java Problem
The import android.graphics.TableMaskFilter cannot be resolved	AppsCustomizePagedView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 46	Java Problem
TableMaskFilter cannot be resolved	AppsCustomizePagedView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 892	Java Problem
mContext cannot be resolved	AppsCustomizePagedView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 2115	Java Problem
SystemProperties cannot be resolved	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 1836	Java Problem
mContext cannot be resolved	AppsCustomizePagedView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 2125	Java Problem
SystemProperties cannot be resolved	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 3681	Java Problem
com.android.internal.R cannot be resolved to a variable	NumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 57	Java Problem
TableMaskFilter cannot be resolved	Utilities.java	/Launcher/src/com/cyanogenmod/trebuchet	line 246	Java Problem
com.android.internal.R cannot be resolved to a variable	NumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 47	Java Problem
TableMaskFilter cannot be resolved	Utilities.java	/Launcher/src/com/cyanogenmod/trebuchet	line 248	Java Problem
The method finish() is undefined for the type RocketLauncher	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 414	Java Problem
The import android.graphics.Insets cannot be resolved	AppsCustomizePagedView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 38	Java Problem
The method onUserInteraction() of type RocketLauncher must override or implement a supertype method	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 412	Java Problem
Insets cannot be resolved to a type	PagedViewWidgetImageView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 43	Java Problem
The import android.graphics.TableMaskFilter cannot be resolved	HolographicOutlineHelper.java	/Launcher/src/com/cyanogenmod/trebuchet	line 26	Java Problem
The import android.graphics.Insets cannot be resolved	PagedViewWidgetImageView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 21	Java Problem
The method getLayoutInsets() is undefined for the type Drawable	PagedViewWidgetImageView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 45	Java Problem
TableMaskFilter cannot be resolved	HolographicOutlineHelper.java	/Launcher/src/com/cyanogenmod/trebuchet	line 74	Java Problem
The import android.graphics.TableMaskFilter cannot be resolved	Utilities.java	/Launcher/src/com/cyanogenmod/trebuchet	line 32	Java Problem
Insets cannot be resolved to a variable	PagedViewWidgetImageView.java	/Launcher/src/com/cyanogenmod/trebuchet	line 43	Java Problem
com.android.internal.R cannot be resolved to a variable	NumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 89	Java Problem
com.android.internal.R cannot be resolved to a variable	DoubleNumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 53	Java Problem
com.android.internal.R cannot be resolved to a variable	DoubleNumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 130	Java Problem
com.android.internal.R cannot be resolved to a variable	DoubleNumberPickerPreference.java	/Launcher/src/com/cyanogenmod/trebuchet/preference	line 129	Java Problem
The method getCompatibilityInfo() is undefined for the type Resources	SearchDropTargetBar.java	/Launcher/src/com/cyanogenmod/trebuchet	line 241	Java Problem
The import android.support cannot be resolved	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 33	Java Problem
BasicDream cannot be resolved to a type	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 47	Java Problem
The method onStart() of type RocketLauncher must override or implement a supertype method	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 397	Java Problem
The method includeForAccessibility() is undefined for the type View	Cling.java	/Launcher/src/com/cyanogenmod/trebuchet	line 160	Java Problem
BasicDream cannot be resolved to a type	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 398	Java Problem
The method getWindowManager() is undefined for the type RocketLauncher	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 401	Java Problem
The method findViewToTakeAccessibilityFocusFromHover(View, View) of type Cling must override or implement a supertype method	Cling.java	/Launcher/src/com/cyanogenmod/trebuchet	line 159	Java Problem
The constructor RocketLauncher.Board(RocketLauncher, null) is undefined	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 405	Java Problem
The method setContentView(RocketLauncher.Board, ViewGroup.LayoutParams) is undefined for the type RocketLauncher	RocketLauncher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 406	Java Problem
The method clearAllAnimations() is undefined for the type ValueAnimator	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 1530	Java Problem
The import com.android.common cannot be resolved	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 97	Java Problem
The method startSearch(String, boolean, ComponentName, Bundle, boolean) in the type SearchManager is not applicable for the arguments (String, boolean, ComponentName, Bundle, boolean, Rect)	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 1565	Java Problem
Search cannot be resolved to a variable	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 1559	Java Problem
The import android.os.SystemProperties cannot be resolved	Launcher.java	/Launcher/src/com/cyanogenmod/trebuchet	line 65	Java Problem
mPaddingTop cannot be resolved to a variable	CellLayout.java	/Launcher/src/com/cyanogenmod/trebuchet	line 942	Java Problem
mPaddingBottom cannot be resolved to a variable	CellLayout.java	/Launcher/src/com/cyanogenmod/trebuchet	line 942	Java Problem
mPaddingLeft cannot be resolved to a variable	CellLayout.java	/Launcher/src/com/cyanogenmod/trebuchet	line 941	Java Problem
mPaddingRight cannot be resolved to a variable	CellLayout.java	/Launcher/src/com/cyanogenmod/trebuchet	line 941	Java Problem

What am I doing wrong?

Thanks!