我想让 Launcher2 (AOSP Launcher) 成为我的 Android 4.1.1 设备(分支 jb-release;API 级别 16)的独立数据应用程序(不是系统)。
我找不到任何关于修改什么以使其独立的资源,所以我自己尝试了一下。希望有人可以帮助我这样做(有关错误列表,请参见下面的列表)。
AppsCustomizedPagedView.java:
The import android.graphics.Insets cannot be resolved
The import android.graphics.TableMaskFilter cannot be resolved
我猜两者都是由于@Hide
. 这里有任何解决方法或好的解决方案吗?
Cling.java:
The method findViewToTakeAccessibilityFocusFromHover(View, View) of type Cling must override or implement a supertype method (Class Cling extends android.widget.FrameLayout)
The method includeForAccessibility() is undefined for the type View
HolographicOutlineHelper.java:
The import android.graphics.TableMaskFilter cannot be resolved
与 AppsCustomizedPagedView.java ( @Hide
)中的相同
启动器.java:
The import android.os.SystemProperties cannot be resolved
The import com.android.common cannot be resolved
The method clearAllAnimations() is undefined for the type ValueAnimator
The method startSearch(String, boolean, ComponentName, Bundle, boolean) in the type SearchManager is not applicable for the arguments (String, boolean, ComponentName, Bundle, boolean, Rect)
SystemProperties cannot be resolved
The method requestAccessibilityFocus() is undefined for the type Cling
PagedViewWidgetImageView.java:
The import android.graphics.Insets cannot be resolved
The method getLayoutInsets() is undefined for the type Drawable
RocketLauncher.java:
The import android.support cannot be resolved
The constructor RocketLauncher.Board(RocketLauncher, null) is undefined
SearchDropTargetBar.java:
The method getCompatibilityInfo() is undefined for the type Resources
实用程序.java:
The import android.graphics.TableMaskFilter cannot be resolved
工作区.java:
The method getRealMetrics(DisplayMetrics) is undefined for the type Display
The method setChildrenLayersEnabled(boolean) is undefined for the type ViewGroup