I want to migrate an Eclipse project to Android Studio. I used to create a project with minSdkVersion = 8, but I want to add new features that require minSdkVersion 10.
I am running Android Studio 1.1.0. After importing the Eclipse project (“Import Project” on the AS main screen), I go to the “Project Structure” window, select the “Flavors” tab and specify API 10 (gingerbread) for min sdk and target sdk. When I rebuild the project, I get more than 100 errors in the console that look like this:
Information: Gradle tasks [clean ,: jellyWatch: compileDebugSources]: JellyWatch: clean: jellyWatch: preBuild UP-TO-DATE: jellyWatch: preDebugBuild UP-TO-DATE: JellyWatch: checkDebugManifest: jellyWatch: preReleaseBuild UP-TO-DATE: prepareComAndroidSupportAppcompatV72200Library: JellyWatch: prepareComAndroidSupportMediarouterV72200Library: JellyWatch: prepareComAndroidSupportSupportV42200Library: JellyWatch: prepareComGoogleAndroidGmsPlayServices750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesAds750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesAnalytics750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesAppindexing750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesAppinvite750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesAppstate750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesBase750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesCast750Library: JellyWatch: prepareCom GoogleAndroidGmsPlayServicesDrive750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesFitness750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesGames750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesGcm750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesIdentity750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesLocation750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesMaps750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesNearby750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesPanorama750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesPlus750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesSafetynet750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesWallet750Library: JellyWatch: prepareComGoogleAndroidGmsPlayServicesWearable750Library: jellyWatch: prepareDebugDependencies: JellyWatch: compileDebugAidl: JellyWatch: compileDebugRenderscript: JellyWatch: generateDebugBuil dConfig: jellyWatch: generateDebugAssets UP-TO-DATE: jellyWatch: mergeDebugAssets: jellyWatch: generateDebugResValues UP-TO-DATE: jellyWatch: generateDebugResources: jellyWatch: mergeDebugResources / Users / oreilly / Documents / workspace 1space /res/drawable/creative_commons.png: warning about libpng: iCCP: does not recognize a known sRGB profile that has been edited / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / src / main / res / drawable / mapmarker.png: libpng warning: iCCP: does not recognize the known sRGB profile that has been edited / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / src / main / res / drawable / other_29.png: libpng warning: iCCP: does not recognize the known sRGB profile that has been edited / Users / oreill y / Documents / workspace / JellyWatch 1 / jellyWatch / src / main / res / drawable / license_label.png: warning about libpng: iCCP: does not recognize the known sRGB profile that has been edited / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / build / intermediates / exploded-aar / com.android.support / appcompat-v7 / 22.0.0 / res / drawable-hdpi-v4 / abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: the known sRGB profile is not recognized, which / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / src / main / res / drawable / mapmarker_large.png has been edited: libpng warning: iCCP: does not recognize the known sRGB profile that has been edited: JellyWatch: processDebugManifest: jellyWatch: processDebugResources / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / build / intermediates / exploded -aar / com.android.support / appcompat-v7 / 22.0.0 / res / values-v11 / values.xml Error: (47, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (47, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (47, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (47, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / build / intermediates / exploded-aar / com.android.support / appcompat-v7 / 22.0.0 / res / values-v14 / values.xml Error: (17, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (17, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (17, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. Error: (17, 21) A resource was not found that matches the specified name: attr 'android: actionModeShareDrawable'. / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / build / intermediates / exploded-aar / com.android.support / appcompat-v7 / 22.0.0 / res / values-v17 / values.xml Error: (7, 21) A resource was not found that matches the specified name: attr 'android: paddingEnd'. Error: (11, 21) A resource was not found that matches the specified name: attr 'android: layout_marginEnd'. Error: (10, 21) A resource was not found that matches the specified name: attr 'android: paddingStart'. Error: (7, 21) A resource was not found that matches the specified name: attr 'android: paddingEnd'. Error: (10, 21) A resource was not found that matches the specified name: attr 'android: paddingStart'. Error: (7, 21) A resource was not found that matches the specified name: attr 'android: paddingEnd'. Error: (21, 21) A resource was not found that matches the specified name: attr 'android: layout_marginStart'. Error: (24, 21) A resource was not found that matches the specified name: attr 'android: layout_alignParentStart'. Error: (25, 21) A resource was not found that matches the specified name: attr 'android: textAlignment'. Error: (7, 21) A resource was not found that matches the specified name: attr 'android: paddingEnd'. Error: (10, 21) A resource was not found that matches the specified name: attr 'android: paddingStart'. Error: (24, 21) A resource was not found that matches the specified name: attr 'android: layout_alignParentStart'. Error: (35, 21) A resource was not found that matches the specified name: attr 'android: layout_toStartOf'. Error: (38, 21) A resource was not found that matches the specified name: attr 'android: layout_alignParentEnd'. Error: (42, 21) A resource was not found that matches the specified name: attr 'android: layout_toEndOf'. Error: (35, 21) A resource was not found that matches the specified name: attr 'android: layout_toStartOf'. Error: (21, 21) A resource was not found that matches the specified name: attr 'android: layout_marginStart'. / Users / oreilly / Documents / workspace / JellyWatch 1 / jellyWatch / build / intermediates / exploded-aar / com.android.support / appcompat-v7 / 22.0.0 / res / values-v21 / values.xml Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Body1". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Body2". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Button". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Caption". Error: (1) Error getting the parent element for the object: the resource was not found that matches the specified name "android: TextAppearance.Material.Display1". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Display2". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Display3". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Display4". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Headline". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Large". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Large.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.PopupMenu.Large". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.PopupMenu.Small". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Medium". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Medium.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name is "android: TextAppearance.Material.Menu". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.SearchResult.Subtitle". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.SearchResult.Title". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Small". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Small.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Subhead". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Title". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Menu". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Subtitle". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Title". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Title.Inverse". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionMode.Subtitle". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionMode.Title". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.PopupMenu.Large". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.PopupMenu.Small". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Button". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.TextView.SpinnerItem". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Subtitle". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: TextAppearance.Material.Widget.ActionBar.Title". Error: (1) Error getting the parent for the element: the resource was not found that matches the specified name "android: ThemeOverlay.Material". Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (1) Error retrieving the parent: the resource was not found that matches the specified name "android: ThemeOverlay.Material.ActionBar". Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: ThemeOverlay.Material.Dark". Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: ThemeOverlay.Material.Dark.ActionBar". Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: ThemeOverlay.Material.Light". Error: (79, 21) The resource was not found that matches the specified name: attr 'android: colorControlHighlight '. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (1) Error retrieving the parent: a resource was not found that matches the specified name "android: Widget.Material.ActionBar.TabText". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ActionBar.TabView". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ActionButton". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ActionButton.CloseMode". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ActionButton.Overflow". Error: (1) Error retrieving the parent: a resource was not found that matches the specified name "android: Widget.Material.AutoCompleteTextView". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Button". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Button.Small". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.DropDownItem.Spinner". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Light.ActionBar.TabText". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Light.ActionBar.TabText". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Light.ActionBar.TabView". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Light.PopupMenu". Error: (285, 21) A resource was not found that matches the specified name: attr 'android: overlapAnchor'. Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ListPopupWindow". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ListView.DropDown". Error: (1) Error getting the parent element for the object: the resource was not found that matches the specified name "android: Widget.Material.ListView". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.PopupMenu". Error: (285, 21) A resource was not found that matches the specified name: attr 'android: overlapAnchor'. Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ProgressBar". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.ProgressBar.Horizontal". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.RatingBar". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Spinner". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Spinner". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Spinner.Underlined". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.TextView.SpinnerItem". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Widget.Material.Toolbar.Button.Navigation". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Theme.Material". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Theme.Material.Dialog". Error: (1) Error getting the parent element for the object: the resource was not found that matches the specified name "android: Theme.Material.Light". Error: (1) Error getting the parent element for the element: the resource was not found that matches the specified name "android: Theme.Material.Light.Dialog". Error: (146, 21) A resource was not found that matches the specified name: attr 'android: colorAccent'. Error: (148, 21) A resource was not found that matches the specified name: attr 'android: colorControlActivated'. Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (144, 21) A resource was not found that matches the specified name: attr 'android: colorPrimary'.Error: (145, 21) A resource was not found that matches the specified name: attr 'android: colorPrimaryDark'. Error: (146, 21) A resource was not found that matches the specified name: attr 'android: colorAccent'. Error: (148, 21) A resource was not found that matches the specified name: attr 'android: colorControlActivated'. Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (144, 21) A resource was not found that matches the specified name: attr 'android: colorPrimary'. Error: (145, 21) A resource was not found that matches the specified name: attr 'android: colorPrimaryDark'. Error: (146,21) A resource was not found that matches the specified name: attr 'android: colorAccent'. Error: (148, 21) A resource was not found that matches the specified name: attr 'android: colorControlActivated'. Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (144, 21) A resource was not found that matches the specified name: attr 'android: colorPrimary'. Error: (145, 21) A resource was not found that matches the specified name: attr 'android: colorPrimaryDark'. Error: (146, 21) A resource was not found that matches the specified name: attr 'android: colorAccent'. Error: (148, 21) Resource not found,which matches the specified name: attr 'android: colorControlActivated'. Error: (79, 21) A resource was not found that matches the specified name: attr 'android: colorControlHighlight'. Error: (78, 21) A resource was not found that matches the specified name: attr 'android: colorControlNormal'. Error: (144, 21) A resource was not found that matches the specified name: attr 'android: colorPrimary'. Error: (145, 21) A resource was not found that matches the specified name: attr 'android: colorPrimaryDark'. Error: execution completed for task ': jellyWatch: processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: process "command" / Users / oreilly / android -sdk-macosx / build-tools / 21.1.2 / aapt ''terminated using a non-zero output value of Blockquote 1