Fail import android.widget.AppSecurityPermissions
<p>I can't import some libs from android sdk in eclipse (ubuntu) and i get a lot of errors, i've just imported PackageInstaller app from AOSP and i can't build it, i have android sdk installed, ndk installed and all set up, i can even build aosp and cm9 in terminal but in eclipse i can't build only Package installer.</p>

<pre><code>Description Resource    Path    Location    Type
ACTION_PACKAGE_FULLY_REMOVED cannot be resolved or is not a field   RemoveReceiver.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 29 Java Problem
AppSecurityPermissions cannot be resolved to a type PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 85 Java Problem
AppSecurityPermissions cannot be resolved to a type PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 85 Java Problem
com.android.internal.R cannot be resolved to a variable UninstallerActivity.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 69 Java Problem
com.android.internal.R cannot be resolved to a variable UninstallerActivity.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 86 Java Problem
DELETE_FAILED_DEVICE_POLICY_MANAGER cannot be resolved or is not a field    UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 78 Java Problem
DELETE_SUCCEEDED cannot be resolved or is not a field   UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 62 Java Problem
DELETE_SUCCEEDED cannot be resolved or is not a field   UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 75 Java Problem
error: Error: No resource found that matches the given name (at 'divider' with value '?android:attr/dividerHorizontal').    install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 73 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'divider' with value '?android:attr/dividerHorizontal').    op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 22 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'divider' with value '?android:attr/dividerHorizontal').    uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 67 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'divider' with value '?android:attr/dividerHorizontal').    uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 23 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 95 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 104    Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 45 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 54 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 89 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 98 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 46 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarStyle'). install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 81 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarStyle'). op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 31 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarStyle'). uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 75 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarStyle'). uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 32 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 24 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  install_start.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 24 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_height' with value 'match_parent').  uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 72 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   app_details.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 22 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   app_details.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 54 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   app_details.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 60 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 24 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 42 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 49 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 63 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 73 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 81 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_start.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   install_start.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 22 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 22 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 31 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 73 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 80 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 93 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 101    Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 24 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 30 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 67 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 75 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 17 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 23 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 32 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 65 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 72 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 80 Android AAPT Problem
error: Error: String types not allowed (at 'layout_width' with value 'match_parent').   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 91 Android AAPT Problem
error: No resource identifier found for attribute 'filterTouchesWhenObscured' in package 'android'  install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 104    Android AAPT Problem
error: No resource identifier found for attribute 'measureWithLargestChild' in package 'android'    install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 81 Android AAPT Problem
error: No resource identifier found for attribute 'measureWithLargestChild' in package 'android'    op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 31 Android AAPT Problem
error: No resource identifier found for attribute 'measureWithLargestChild' in package 'android'    uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 75 Android AAPT Problem
error: No resource identifier found for attribute 'measureWithLargestChild' in package 'android'    uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 32 Android AAPT Problem
error: No resource identifier found for attribute 'showDividers' in package 'android'   install_confirm.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 73 Android AAPT Problem
error: No resource identifier found for attribute 'showDividers' in package 'android'   op_progress.xml /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 22 Android AAPT Problem
error: No resource identifier found for attribute 'showDividers' in package 'android'   uninstall_confirm.xml   /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 67 Android AAPT Problem
error: No resource identifier found for attribute 'showDividers' in package 'android'   uninstall_progress.xml  /com.android.packageinstaller.PackageInstallerActivity/res/layout   line 23 Android AAPT Problem
EXTRA_ALLOW_REPLACE cannot be resolved or is not a field    PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 254    Java Problem
EXTRA_INSTALL_RESULT cannot be resolved or is not a field   InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 76 Java Problem
EXTRA_INSTALL_RESULT cannot be resolved or is not a field   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 265    Java Problem
EXTRA_INSTALL_RESULT cannot be resolved or is not a field   UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 61 Java Problem
EXTRA_INSTALLER_PACKAGE_NAME cannot be resolved or is not a field   InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 239    Java Problem
EXTRA_INSTALLER_PACKAGE_NAME cannot be resolved or is not a field   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 348    Java Problem
EXTRA_INSTALLER_PACKAGE_NAME cannot be resolved or is not a field   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 350    Java Problem
EXTRA_NOT_UNKNOWN_SOURCE cannot be resolved or is not a field   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 298    Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 74 Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 352    Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 353    Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 59 Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    UninstallerActivity.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 103    Java Problem
EXTRA_RETURN_RESULT cannot be resolved or is not a field    UninstallerActivity.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 104    Java Problem
FLAG_UPDATED_SYSTEM_APP cannot be resolved or is not a field    UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 125    Java Problem
FLAG_UPDATED_SYSTEM_APP cannot be resolved or is not a field    UninstallerActivity.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 150    Java Problem
INSTALL_FAILED_CPU_ABI_INCOMPATIBLE cannot be resolved or is not a field    InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 151    Java Problem
INSTALL_REPLACE_EXISTING cannot be resolved or is not a field   InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 216    Java Problem
INSTALL_REPLACE_EXISTING cannot be resolved or is not a field   InstallAppProgress.java /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 220    Java Problem
IPackageDeleteObserver cannot be resolved to a type UninstallAppProgress.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 110    Java Problem
mPkgInfo cannot be resolved PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 245    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 84 Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 85 Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 161    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 186    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 239    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 258    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 277    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 280    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 292    Java Problem
mPkgInfo cannot be resolved to a variable   PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 345    Java Problem
PackageParser cannot be resolved to a type  PackageInstallerActivity.java   /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 56 Java Problem
PackageParser cannot be resolved to a type  PackageUtil.java    /com.android.packageinstaller.PackageInstallerActivity/src/com/android/packageinstaller line 54 Java Problem
</code></pre>
