{"id":27540,"date":"2015-10-02T11:00:37","date_gmt":"2015-10-02T08:00:37","guid":{"rendered":"http:\/\/examples.javacodegeeks.com\/?p=27540"},"modified":"2023-11-09T15:11:39","modified_gmt":"2023-11-09T13:11:39","slug":"android-project-migration-eclipse-android-studio","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/","title":{"rendered":"Android Project migration from Eclipse to Android Studio"},"content":{"rendered":"<p>Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps.<\/p>\n<p>This example describes the differences between Eclipse ADT and Android Studio, including project structure, build system, and application packaging, and will help you migrate your Android Eclipse project to Android Studio as your new development environment.<\/p>\n<p>For our example will use the following tools in a Windows 64-bit or an OS X platform:<\/p>\n<ul>\n<li>JDK 1.7<\/li>\n<li>Android Studio 1.3.2<\/li>\n<li>Eclipse 4.2 Juno<\/li>\n<li>Android SDK<\/li>\n<\/ul>\n<div class=\"tip\"><strong>Tip<\/strong><br \/>\nYou may skip the theoretical part and jump directly to the <a href=\"#code\"><strong>beginning of the example<\/strong><\/a> below.<\/div>\n<p>Let\u2019s start with a slice of Android Studio theory&#8230;<br \/>\n<span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:515,&quot;3&quot;:{&quot;1&quot;:0},&quot;4&quot;:{&quot;1&quot;:2,&quot;2&quot;:16777215},&quot;12&quot;:0}\">[ulp id=&#8217;Ja8Orb5oPKdShcXt&#8217;]<\/span><\/p>\n<h2>1. Why to use Android Studio over Eclipse ADT?<\/h2>\n<p>Android Studio offers:<\/p>\n<ul>\n<li>Flexible Gradle-based build system<\/li>\n<li>Build variants and multiple apk file generation<\/li>\n<li>Code templates to help you build common app features<\/li>\n<li>Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine<\/li>\n<li>Rich layout editor with support for drag and drop theme editing<\/li>\n<li>lint tools to catch performance, usability, version compatibility, and other problem<\/li>\n<li>Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine<\/li>\n<li>Official Google Support and usual updates that need no migration<\/li>\n<\/ul>\n<h2>2. Android Studio new project structure<\/h2>\n<p>Eclipse provides workspaces as a common area for grouping related projects, configurations, and settings. In Android Studio, each instance of Android Studio contains a top-level project with one or more app modules. Each app module folder contains the equivalent to an Eclipse project, the complete source sets for that module, including <code>src\/main<\/code> and <code>src\/androidTest<\/code> directories, resources, build file, and the Android manifest. In general, to update and build your app you modify the files under each module&#8217;s <code>src\/main<\/code> directory for source code updates, the <code>gradle.build<\/code> file for build specification, and the files under <code>src\/androidTest<\/code> directory for test case creation. Also due to the structural differences between Android Studio projects vs Eclipse ADT projects, they cannot co-exist. Here is a table of the main differences:<\/p>\n<table>\n<tbody>\n<tr>\n<th scope=\"col\">Eclipse ADT<\/th>\n<th scope=\"col\">Android Studio<\/th>\n<\/tr>\n<tr>\n<td>Workspace<\/td>\n<td>Project<\/td>\n<\/tr>\n<tr>\n<td>Project<\/td>\n<td>Module<\/td>\n<\/tr>\n<tr>\n<td>Project-specific JRE<\/td>\n<td>Module JDK<\/td>\n<\/tr>\n<tr>\n<td>Classpath variable<\/td>\n<td>Path variable<\/td>\n<\/tr>\n<tr>\n<td>Project dependency<\/td>\n<td>Module dependency<\/td>\n<\/tr>\n<tr>\n<td>Library Module<\/td>\n<td>Library<\/td>\n<\/tr>\n<tr>\n<td><code>AndroidManifest.xml<\/code><\/td>\n<td><code>app\/src\/main\/AndroidManifest.xml<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>assets\/<\/code><\/td>\n<td><code>app\/src\/main\/assets<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>res\/<\/code><\/td>\n<td><code>app\/src\/main\/res\/<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>src\/<\/code><\/td>\n<td><code>app\/src\/main\/java\/ <\/code><\/td>\n<\/tr>\n<tr>\n<td><code>tests\/src\/<\/code><\/td>\n<td><code>app\/src\/androidTest\/java\/<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>3. Gradle and build.gradle<\/h2>\n<p>Gradle is a build and automation tool, that can automate our building, testing, deploying tasks and many more. Gradle is the next generation build system for Java technologies that includes some advantages from older tools like Ant or Maven systems. Android Studio uses the power of Gradle, in order to provide all the above advantages, such as build variants and multiple apk file generation.<\/p>\n<p>Android Studio projects contain a top-level build file and a build file for each module. The build files are called <strong>build.gradle<\/strong>, and they are plain text files that use Groovy syntax to configure the build with the elements provided by the Android plugin for Gradle. In most cases, you only need to edit the build files at the module level.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>It looks like this:<\/p>\n<pre class=\"brush:xml; wrap-lines:false;\">apply plugin: 'com.android.application'\n\nandroid {\n    compileSdkVersion 19\n    buildToolsVersion \"19.0.0\"\n\n    defaultConfig {\n        minSdkVersion 8\n        targetSdkVersion 19\n        versionCode 1\n        versionName \"1.0\"\n    }\n    buildTypes {\n        release {\n            minifyEnabled true\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\n        }\n    }\n}\n\ndependencies {\n    compile project(\":lib\")\n    compile 'com.android.support:appcompat-v7:19.0.1'\n    compile fileTree(dir: 'libs', include: ['*.jar'])\n}\n<\/pre>\n<h2>4. Simple Eclipse ADT project migration to Android Studio<\/h2>\n<p>Here, we have an example of this Eclipse ADT project migration to Android Studio. In this example, we are going to migrate the eclipse project that we created in this example: <a href=\"http:\/\/examples.javacodegeeks.com\/android\/core\/google-maps\/android-google-maps-v2-tutorial\/\">Android Google Maps v2 Tutorial<\/a>. This is a wonderful example of how we are going to migrate a simple application project, that has a java class package and a Google Play Services library dependency. So, we are going to take this code, import it and compile it under Gradle system, and run it.<\/p>\n<p>Open Android Studio and choose &#8220;Start a new Android Studio Project&#8221; in the welcome screen.<\/p>\n<p><figure id=\"attachment_11779\" aria-describedby=\"caption-attachment-11779\" style=\"width: 797px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs1.png\"><img decoding=\"async\" class=\"size-full wp-image-27563\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs1.png\" alt=\"&quot;Welcome to Android Studio&quot; screen. Choose &quot;Start a new Android Studio Project&quot;.\" width=\"797\" height=\"601\" \/><\/a><figcaption id=\"caption-attachment-11779\" class=\"wp-caption-text\">&#8220;Welcome to Android Studio&#8221; screen. Choose &#8220;Start a new Android Studio Project&#8221;.<\/figcaption><\/figure><\/p>\n<p>Specify the name of the application, the project and the package.<\/p>\n<p><figure id=\"attachment_27564\" aria-describedby=\"caption-attachment-27564\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs2.png\"><img decoding=\"async\" class=\"size-full wp-image-27564\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs2.png\" alt=\"&quot;Configure your new project&quot; screen. Add your application name and the projects package name.\" width=\"800\" height=\"512\" \/><\/a><figcaption id=\"caption-attachment-27564\" class=\"wp-caption-text\">&#8220;Configure your new project&#8221; screen. Add your application name and the projects package name.<\/figcaption><\/figure><\/p>\n<p>In the next window, select the form factors your app will run on.<\/p>\n<p><figure id=\"attachment_27565\" aria-describedby=\"caption-attachment-27565\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs3.png\"><img decoding=\"async\" class=\"size-full wp-image-27565\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioexs3.png\" alt=\"&quot;Target Android Devices&quot; screen.\" width=\"800\" height=\"512\" \/><\/a><figcaption id=\"caption-attachment-27565\" class=\"wp-caption-text\">&#8220;Target Android Devices&#8221; screen.<\/figcaption><\/figure><\/p>\n<p>In the next window you should choose to &#8220;Add an activity to Mobile&#8221;. In our example, we will choose to create a project with no activity, because we will migrate our Activities for the eclipse formed project. So, choose: &#8220;Add no activity&#8221;.<\/p>\n<p><figure id=\"attachment_27650\" aria-describedby=\"caption-attachment-27650\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioex4.png\"><img decoding=\"async\" class=\"size-full wp-image-27650\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioex4.png\" alt=\"\u201cAdd an activity to Mobile\u201d. Choose: \u201cAdd no activity\u201d.\" width=\"800\" height=\"512\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioex4.png 800w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/10\/androidstudioex4-300x192.png 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><figcaption id=\"caption-attachment-27650\" class=\"wp-caption-text\">\u201cAdd an activity to Mobile\u201d. Choose: \u201cAdd no activity\u201d.<\/figcaption><\/figure><\/p>\n<p>Now, our project has just been created. This is how it looks like in the &#8220;Android&#8221; project view:<\/p>\n<p><figure id=\"attachment_27568\" aria-describedby=\"caption-attachment-27568\" style=\"width: 490px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex5.png\"><img decoding=\"async\" class=\"size-full wp-image-27568\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex5.png\" alt=\"A new Android Studio project has just been created. This is how it looks like.\" width=\"490\" height=\"654\" \/><\/a><figcaption id=\"caption-attachment-27568\" class=\"wp-caption-text\">A new Android Studio project has just been created. This is how it looks like.<\/figcaption><\/figure>[ulp id='Ja8Orb5oPKdShcXt']<\/p>\n<h2>5. Java code and resources migration<\/h2>\n<p>As we discussed above, there are some pretty significant changes between the project structures between Eclipse ADT and Android Projects. The biggest is that both Java classes and the Android resources folder, are under <code>app\/src\/main\/<\/code> directory. We are going to copy our Java classes alone, inside the <code>app\/java\/com.javacodegeeks.androidgooglemapsexample<\/code> folder, as we see it in Android package view.<\/p>\n<p>After this, we are going to copy also our eclipse resources folders under <code>app\/res\/<\/code> folder, as we see it in Android package view. If this suggest to overwrite some files and folders, we do it cautiously. We should now have something like this:<\/p>\n<p><figure id=\"attachment_27573\" aria-describedby=\"caption-attachment-27573\" style=\"width: 473px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex7.png\"><img decoding=\"async\" class=\"size-full wp-image-27573\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex7.png\" alt=\"This is how our projects looks like, after we have also moved inside our resources folders.\" width=\"473\" height=\"653\" \/><\/a><figcaption id=\"caption-attachment-27573\" class=\"wp-caption-text\">This is how our projects looks like, after we have also moved inside our Java and resource folders.<\/figcaption><\/figure><\/p>\n<h2>6. AndroidManifest.xml and build.gradle file<\/h2>\n<p>Then, we move on copying our AndroidManifest.xml file. In Android Studio project structure, we can find our manifest files inside the <code>app\/manifests<\/code> folder. We overwrite the Android Studio project AndroidManifest.xml with our eclipse project manifest xml.<\/p>\n<p>We should now have something like this:<\/p>\n<p><figure id=\"attachment_27574\" aria-describedby=\"caption-attachment-27574\" style=\"width: 755px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex8.png\"><img decoding=\"async\" class=\"size-full wp-image-27574\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex8.png\" alt=\"This is our AndroidManifest.xml. This is located in app\/manifests folder\" width=\"755\" height=\"757\" \/><\/a><figcaption id=\"caption-attachment-27574\" class=\"wp-caption-text\">This is our AndroidManifest.xml. This is located in app\/manifests folder.<\/figcaption><\/figure><\/p>\n<p>Finally, we have our build.gradle file, that we should be very careful in its configurations.<\/p>\n<p><figure id=\"attachment_27579\" aria-describedby=\"caption-attachment-27579\" style=\"width: 472px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex-gradle.png\"><img decoding=\"async\" class=\"size-full wp-image-27579\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex-gradle.png\" alt=\"Here is our build.gradle file.\" width=\"472\" height=\"484\" \/><\/a><figcaption id=\"caption-attachment-27579\" class=\"wp-caption-text\">Here is our build.gradle file.<\/figcaption><\/figure><\/p>\n<p>We write something like this:<\/p>\n<p><em><span style=\"text-decoration: underline;\">build.gradle<\/span><\/em><\/p>\n<pre class=\"brush:xml; wrap-lines:false;highlight:[8,23,25]\">apply plugin: 'com.android.application'\n\nandroid {\n    compileSdkVersion 22\n    buildToolsVersion \"23.0.1\"\n\n    defaultConfig {\n        applicationId \"com.javacodegeeks.androidgooglemapsexample\"\n        minSdkVersion 14\n        targetSdkVersion 22\n        versionCode 1\n        versionName \"1.0\"\n    }\n    buildTypes {\n        release {\n            minifyEnabled false\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\n        }\n    }\n}\n\ndependencies {\n    compile fileTree(dir: 'libs', include: ['*.jar'])\n    compile 'com.android.support:appcompat-v7:22.2.1'\n    compile 'com.google.android.gms:play-services:8.1.0'\n}\n<\/pre>\n<p>With <code>compile fileTree(dir: 'libs', include: ['*.jar'])<\/code> we add in our Gradle configuration, any external library we might have added in the <code>app\/libs<\/code> project folder. And with the next line <code>compile 'com.google.android.gms:play-services:8.1.0'<\/code> we add in our Gradle configuration the public repository in which Google supports Google Play Services library with Gradle. In this way we have added Google Play Services library in our project. This library is going to be compiled and packaged in our application project!<\/p>\n<p><figure id=\"attachment_27575\" aria-describedby=\"caption-attachment-27575\" style=\"width: 754px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex9.png\"><img decoding=\"async\" class=\"size-full wp-image-27575\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex9.png\" alt=\"This is our build.gradle configuration file.\" width=\"754\" height=\"432\" \/><\/a><figcaption id=\"caption-attachment-27575\" class=\"wp-caption-text\">This is our build.gradle configuration file.<\/figcaption><\/figure><\/p>\n<p>We, now, have to sync our project, and run this module, by pressing the &#8220;run&#8221; green button. If everything is the right place, and especially the application package names are the right ones, then we should see our project run.<\/p>\n<p><figure id=\"attachment_27610\" aria-describedby=\"caption-attachment-27610\" style=\"width: 474px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex10.png\"><img decoding=\"async\" class=\"size-full wp-image-27610\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex10.png\" alt=\"This is the \u201crunning\u201d confirmation screen.\" width=\"474\" height=\"431\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex10.png 474w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/androidstudioex10-300x273.png 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/a><figcaption id=\"caption-attachment-27610\" class=\"wp-caption-text\">This is the \u201crunning\u201d confirmation screen.<\/figcaption><\/figure><\/p>\n<p>This was the Android Project migration from Eclipse to Android Studio example. This example was a theoretical one. From now on we are going to present examples in Android Studio IDE, as Google has stopped support on Eclipse ADT. Additionally, Android Studio is now the official Android IDE!<\/p>\n<h2>7. Download the Android Studio Project<\/h2>\n<p>This was an example of Android Google Maps v2 Tutorial migrated to Android Studio.<\/p>\n<div class=\"download\"><strong>Download<br \/>\n<\/strong>You can download the full source code of this example here: <a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/AndroidGoogleMapsExample.zip\"><strong>AndroidGoogleMapsExampleAD<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This example describes the differences between Eclipse ADT and Android Studio, including project structure, build system, and application packaging, and will help you migrate your Android Eclipse project to Android Studio as &hellip;<\/p>\n","protected":false},"author":14,"featured_media":1202,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-27540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android Project migration from Eclipse to Android Studio - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Project migration from Eclipse to Android Studio - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-02T08:00:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-09T13:11:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Chryssa Aliferi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chryssa Aliferi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\"},\"author\":{\"name\":\"Chryssa Aliferi\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/863144453b9fc15d4184d71833dcf332\"},\"headline\":\"Android Project migration from Eclipse to Android Studio\",\"datePublished\":\"2015-10-02T08:00:37+00:00\",\"dateModified\":\"2023-11-09T13:11:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\"},\"wordCount\":1228,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg\",\"articleSection\":[\"Android\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\",\"name\":\"Android Project migration from Eclipse to Android Studio - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg\",\"datePublished\":\"2015-10-02T08:00:37+00:00\",\"dateModified\":\"2023-11-09T13:11:39+00:00\",\"description\":\"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/android\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Android Project migration from Eclipse to Android Studio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/863144453b9fc15d4184d71833dcf332\",\"name\":\"Chryssa Aliferi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/03\/Chryssa-Aliferi-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/03\/Chryssa-Aliferi-96x96.jpg\",\"caption\":\"Chryssa Aliferi\"},\"description\":\"Chryssa is a Computer Science graduate from Athens University of Economic and Business. During her studies, Chryssa carried out a great variety of projects ranging from networking to software engineering. She is very keen on front end development especially on mobile technologies and web applications. She has worked as a junior Software Engineer in the telecommunications area and currently works as an Android Developer.\",\"sameAs\":[\"http:\/\/www.javacodegeeks.com\/\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/chryssa-aliferi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Project migration from Eclipse to Android Studio - Java Code Geeks","description":"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/","og_locale":"en_US","og_type":"article","og_title":"Android Project migration from Eclipse to Android Studio - Java Code Geeks","og_description":"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This","og_url":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2015-10-02T08:00:37+00:00","article_modified_time":"2023-11-09T13:11:39+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg","type":"image\/jpeg"}],"author":"Chryssa Aliferi","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Chryssa Aliferi","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/"},"author":{"name":"Chryssa Aliferi","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/863144453b9fc15d4184d71833dcf332"},"headline":"Android Project migration from Eclipse to Android Studio","datePublished":"2015-10-02T08:00:37+00:00","dateModified":"2023-11-09T13:11:39+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/"},"wordCount":1228,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg","articleSection":["Android"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/","url":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/","name":"Android Project migration from Eclipse to Android Studio - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg","datePublished":"2015-10-02T08:00:37+00:00","dateModified":"2023-11-09T13:11:39+00:00","description":"Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/android-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/android\/android-project-migration-eclipse-android-studio\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Android","item":"https:\/\/examples.javacodegeeks.com\/category\/android\/"},{"@type":"ListItem","position":3,"name":"Android Project migration from Eclipse to Android Studio"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/863144453b9fc15d4184d71833dcf332","name":"Chryssa Aliferi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/03\/Chryssa-Aliferi-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/03\/Chryssa-Aliferi-96x96.jpg","caption":"Chryssa Aliferi"},"description":"Chryssa is a Computer Science graduate from Athens University of Economic and Business. During her studies, Chryssa carried out a great variety of projects ranging from networking to software engineering. She is very keen on front end development especially on mobile technologies and web applications. She has worked as a junior Software Engineer in the telecommunications area and currently works as an Android Developer.","sameAs":["http:\/\/www.javacodegeeks.com\/"],"url":"https:\/\/examples.javacodegeeks.com\/author\/chryssa-aliferi\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/27540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=27540"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/27540\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/1202"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=27540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=27540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=27540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}