{"id":7121,"date":"2015-08-05T14:00:00","date_gmt":"2015-08-05T14:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2015\/08\/05\/introducing-visual-studios-eclipse-android-project-importer\/"},"modified":"2021-10-11T13:36:35","modified_gmt":"2021-10-11T13:36:35","slug":"introducing-visual-studios-eclipse-android-project-importer","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/introducing-visual-studios-eclipse-android-project-importer\/","title":{"rendered":"Introducing Visual Studio\u2019s Eclipse Android Project Importer"},"content":{"rendered":"<p class=\"Publishwithline\">Hello everyone!<\/p>\n<p>I am Stephanie Su, a Program Manager Intern from the Georgia Institute of Technology.\u00a0 The project that I have been working on this summer with Brett Gutstein, a Software Engineer Intern from Rice University, is now available on VS Gallery!<\/p>\n<p>The <a title=\"Eclipse Android Project Import extension\" href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/53e6e65b-fa0f-411a-a98d-7911009537ac\">Eclipse Android Project Import extension<\/a> is available for download for Visual Studio 2015 users.\u00a0 The goal of this extension is to streamline the process of migrating your existing Android projects to Visual Studio.\u00a0 Check out the demo <a href=\"https:\/\/mix.office.com\/watch\/1ia3dwvaae09n\">video<\/a> to see it in action.\u00a0 This is a pre-release feature so we would love for you to try it out and leave us some feedback to help us improve!<\/p>\n<p><strong>Selecting Files to Import<\/strong><\/p>\n<p>There are two ways to select projects: specify an Eclipse workspace or specify an Android project.\u00a0 Specifying an Eclipse workspace through the \u201cAdd workspace\u2026\u201d button is the recommended way since the tool will be able to import your project more accurately by using the project information that exists in that workspace.\u00a0 After selecting the folder of your Eclipse workspace, all open projects that would appear in your Eclipse will be available for selection.<\/p>\n<p>If you have projects that do not belong to a workspace, you can use the \u201cAdd project\u2026\u201d button to bring in that specific Android project.<\/p>\n<p>The wizard will create one solution and each project selected for import will be added to that solution.\u00a0 Displayed in the wizard will be root folders which represent the Android projects and its children which represents the Visual Studio projects that will be added to the solution.<\/p>\n<p align=\"center\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-26300\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/8473.wizard2.png\" alt=\"Image 8473 wizard2\" width=\"1031\" height=\"574\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/8473.wizard2.png 1031w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/8473.wizard2-300x167.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/8473.wizard2-1024x570.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/8473.wizard2-768x428.png 768w\" sizes=\"(max-width: 1031px) 100vw, 1031px\" \/><\/p>\n<p><strong>Selecting the Destination Directory<\/strong><\/p>\n<p>Choose to edit your files in its original location or make a copy of them in another directory.<\/p>\n<p>If you keep the files in its original location, the solution created by the importer will be located in your Visual Studio Project directory that is specified in Tools -&gt; Projects and Solutions -&gt; Projects location.<\/p>\n<p>If you choose to copy your files to another directory and have relative paths in your project, these paths may become invalid and will need to be updated after import.<\/p>\n<p align=\"center\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-26301\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/0741.destination.png\" alt=\"Image 0741 destination\" width=\"838\" height=\"258\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/0741.destination.png 838w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/0741.destination-300x92.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/0741.destination-768x236.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/p>\n<p><strong>Modifying Files included in each Visual Studio Project<\/strong><\/p>\n<p>The default behavior of the wizard is to ignore the libs, bin, obj, and gen folders, put all files that are in the JNI folder into the Native project, and put all other files into the Packaging project.<\/p>\n<p>If you need to add or exclude files for a certain Visual Studio project, you can highlight that project and use \u201cCustomize&#8230;\u201d on it.<\/p>\n<p align=\"center\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-26303\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/5126.customize.png\" alt=\"Image 5126 customize\" width=\"726\" height=\"799\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/5126.customize.png 726w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2015\/08\/5126.customize-273x300.png 273w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/p>\n<p><strong>Conversion Report<\/strong><\/p>\n<p>A conversion report will be generated once the import successfully completes.\u00a0 In the conversion report, errors, warnings, and messages will be shown for each project along with general information about Android development in Visual Studio and troubleshooting.\u00a0 The conversion report will be displayed in the editor after the import process is completed and the file is located in your Visual Studio Project directory.<\/p>\n<p><strong>After Import<\/strong><\/p>\n<p>If the import completed successfully, you can immediately build, deploy, and debug your project and enjoy the C++ IntelliSense experience.<\/p>\n<p>In case you are experiencing any trouble with these features, consult the general information section in the conversion report for guidance.<\/p>\n<p><strong>How Did We Do?<\/strong><\/p>\n<p>We hope you will <a title=\"try out the extension\" href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/53e6e65b-fa0f-411a-a98d-7911009537ac\">try out the extension<\/a> and also leave your comments and suggestions!\u00a0 We would love to know about your thoughts and experience on the import tool and what we can do to make it better.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone! I am Stephanie Su, a Program Manager Intern from the Georgia Institute of Technology.\u00a0 The project that I have been working on this summer with Brett Gutstein, a Software Engineer Intern from Rice University, is now available on VS Gallery! The Eclipse Android Project Import extension is available for download for Visual Studio [&hellip;]<\/p>\n","protected":false},"author":308,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus"],"acf":[],"blog_post_summary":"<p>Hello everyone! I am Stephanie Su, a Program Manager Intern from the Georgia Institute of Technology.\u00a0 The project that I have been working on this summer with Brett Gutstein, a Software Engineer Intern from Rice University, is now available on VS Gallery! The Eclipse Android Project Import extension is available for download for Visual Studio [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/7121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/308"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=7121"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/7121\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=7121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=7121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=7121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}