{"id":14365,"date":"2017-04-14T17:56:44","date_gmt":"2017-04-15T01:56:44","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=14365"},"modified":"2019-02-18T17:48:35","modified_gmt":"2019-02-18T17:48:35","slug":"bring-your-existing-android-eclipse-projects-to-visual-studio","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/bring-your-existing-android-eclipse-projects-to-visual-studio\/","title":{"rendered":"Bring your existing Android Eclipse projects to Visual Studio"},"content":{"rendered":"<p>You can use Visual Studio to develop your C++ projects targeting Android. To learn more about this support read the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/cross-platform\/visual-cpp-for-cross-platform-mobile-development\">Visual C++ for Cross-Platform Mobile development section<\/a> on MSDN.<\/p>\n<p>If you\u2019re currently using Eclipse and considering moving to Visual Studio, you can do that via our Eclipse Android Project Import Wizard. <span>You can read about other C++ project types in the guide for <\/span><a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2017\/04\/14\/bring-your-cpp-code-to-visual-studio\/\">Bringing your C++ code to Visual Studio<\/a><span>.<\/span><\/p>\n<p><strong>Step 1. Install Android Support:<\/strong> Make sure that during VS installation, you select the \u201c<strong>Mobile development with C++<\/strong>\u201d workload. By default, it already includes all the prerequisites needed to build C++ Android projects.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/bringcode-md-install.png\" alt=\"bringcode-md-install\" width=\"450\" height=\"92\" class=\"alignnone size-full wp-image-14445\" \/><\/p>\n<p><strong>Step 2. Install the Eclipse Import Wizard extension:<\/strong> From the Marketplace, install the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=VisualCPPTeam.JavaLanguageServiceforAndroidandEclipseAndroidProj\">Java Language Service for Android and Eclipse Android Project Import<\/a> extension.<\/p>\n<p><strong>Step 3. Run the import wizard:<\/strong> Launch the wizard from <strong>File<\/strong> &gt; <strong>New<\/strong> &gt; <strong>Android Projects from Eclipse<\/strong> and follow the instructions<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/bringcode-md-eclipse-wizard-500x278.png\" alt=\"bringcode-md-eclipse-wizard\" width=\"500\" height=\"278\" class=\"alignnone size-mediumlarge wp-image-14435\" \/><\/p>\n<p>When the wizard completes, you will have projects for both the C++ parts and the Java parts of your Android Eclipse project. You can develop your Android project by editing, building and debugging both C++ and Java code.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/bringcode-md-slnexplorer.png\" alt=\"bringcode-md-slnexplorer\" width=\"303\" height=\"277\" class=\"alignnone size-full wp-image-14455\" \/><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/bringcode-md-debug-500x236.png\" alt=\"bringcode-md-debug\" width=\"500\" height=\"236\" class=\"alignnone size-mediumlarge wp-image-14425\" \/><\/p>\n<h3>What\u2019s next<\/h3>\n<p><span>If you\u2019re new to Visual Studio, learn more by reading the <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2017\/04\/21\/getting-started-with-visual-studio-for-c-and-cpp-development\/\">Getting Started with Visual Studio for C and C++ Developers<\/a> topic and the rest of the posts in this <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/category\/new-user\/\">Getting Started series aimed at C++ users that are new to Visual Studio<\/a><span>. <\/span><a href=\"https:\/\/aka.ms\/vs2017cpp\">Download Visual Studio 2017<\/a><span> today, try it out and <\/span><a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">share your feedback<\/a><span>.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use Visual Studio to develop your C++ projects targeting Android. To learn more about this support read the Visual C++ for Cross-Platform Mobile development section on MSDN. If you\u2019re currently using Eclipse and considering moving to Visual Studio, you can do that via our Eclipse Android Project Import Wizard. You can read about [&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":[280],"tags":[],"class_list":["post-14365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-new-user"],"acf":[],"blog_post_summary":"<p>You can use Visual Studio to develop your C++ projects targeting Android. To learn more about this support read the Visual C++ for Cross-Platform Mobile development section on MSDN. If you\u2019re currently using Eclipse and considering moving to Visual Studio, you can do that via our Eclipse Android Project Import Wizard. You can read about [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/14365","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=14365"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/14365\/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=14365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=14365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=14365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}