{"id":34883,"date":"2018-01-11T14:55:09","date_gmt":"2018-01-11T19:55:09","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=34883"},"modified":"2018-01-11T14:55:09","modified_gmt":"2018-01-11T19:55:09","slug":"xamarin-android-now-double-stuffed-with-oreo-8-1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/xamarin-android-now-double-stuffed-with-oreo-8-1\/","title":{"rendered":"Xamarin.Android Now Double Stuffed with Oreo 8.1"},"content":{"rendered":"<p>\t\t\t\tAndroid Oreo 8.1 introduces new features, including Android Go, Neural Networks API, Autofill framework enhancements, SharedMemory API, and many more.<\/p>\n<p>We&#8217;re excited to announce Xamarin.Android support for Android Oreo 8.1 in our latest release of Xamarin.Android for both <strong>Visual Studio and Visual Studio for Mac<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-34884 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/AndroidOreo.jpg\" alt=\"\" width=\"680\" height=\"374\" \/><\/p>\n<h2>Installing Xamarin.Android for Android Oreo 8.1<\/h2>\n<p>You can get Android Oreo support in Xamarin.Android 8.2.0.1 and above, which is available today in the Visual Studio Preview channel and Visual Studio for Mac Beta channel.<\/p>\n<h3>Visual Studio<\/h3>\n<ul>\n<li>Open the Visual Studio Installer, and download the latest Preview (15.6 Preview 2).<\/li>\n<\/ul>\n<h3>Visual Studio for Mac<\/h3>\n<ul>\n<li>Switch the Visual Studio for Mac Update Channel to the Beta channel.<\/li>\n<li>Ensure Xamarin.Android 8.2.0.1 is available for download and install the updates.<\/li>\n<\/ul>\n<h3>Both Visual Studio and Visual Studio for Mac<\/h3>\n<p>Android 8.1 development requires JDK 1.8 for compilation of applications; JDK 1.8 is available from <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">Oracle<\/a>. See the <a href=\"https:\/\/developer.xamarin.com\/guides\/android\/platform_features\/introduction-to-oreo\/#Requirements\">requirements documentation<\/a> for more information.<\/p>\n<h3>Install the Android Oreo 8.1 SDK<\/h3>\n<p>Start the Android SDK Manager:<\/p>\n<ul>\n<li>Visual Studio, use <strong>Tools &gt; Android &gt; Android SDK Manager<\/strong><\/li>\n<li>Visual Studio for Mac, use <strong>Tools &gt; SDK Manager<\/strong><\/li>\n<\/ul>\n<p>Install Android 8.1(API 27) SDKs and Device Images:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-34885 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Android-Oreo-SDK.png\" alt=\"\" width=\"702\" height=\"362\" \/>Install the latest Android SDK tools, listed under the <strong>Tools<\/strong> tab, and include Android SDK Tools revision 26.1.1 or later, SDK platform-tools 27.0.1 or later, and SDK build-tools 27.0.0 or later:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-34887 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Android-Oreo-Tools.png\" alt=\"\" width=\"702\" height=\"362\" \/>For more information about using the Android SDK Manager to install the Android SDK, see <a href=\"https:\/\/developer.xamarin.com\/guides\/android\/application_fundamentals\/using-the-sdk-manager\/\">Using the SDK Manager<\/a>.<\/p>\n<p>After restarting Visual Studio, you&#8217;ll be able to set your <strong>&lt;TargetFrameworkVersion&gt;<\/strong> to <em>Android 8.1 (Oreo)<\/em> in your project and take advantage of the new APIs:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-34886 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Android-Oreo-Target-Framework.png\" alt=\"\" width=\"697\" height=\"62\" \/><\/p>\n<h3>Learn More<\/h3>\n<p>For more detailed information on how to get started with Android Oreo, please see our <a href=\"https:\/\/developer.xamarin.com\/guides\/android\/platform_features\/introduction-to-oreo\/\">documentation<\/a>.<\/p>\n<p>We encourage your feedback on any issues to be reported via the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">Report a Problem<\/a> option found in your favorite IDE via <strong>Help &gt; Report a Problem<\/strong>. If you have any questions regarding Android Oreo APIs, please post them on the <a href=\"https:\/\/forums.xamarin.com\/post\/question\/android\">Xamarin Forums<\/a> or <a href=\"https:\/\/stackoverflow.com\/questions\/ask?tags=xamarin+xamarin.android+android\">Stack Overflow<\/a>.<\/p>\n<p><a href=\"https:\/\/forums.xamarin.com\/117124\/xamarin-android-now-double-stuffed-with-oreo-8-1\"><em>Discuss this post in the Xamarin Forums \u00bb<\/em><\/a>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android Oreo 8.1 introduces new features, including Android Go, Neural Networks API, Autofill framework enhancements, SharedMemory API, and many more. We&#8217;re excited to announce Xamarin.Android support for Android Oreo 8.1 in our latest release of Xamarin.Android for both Visual Studio and Visual Studio for Mac. Installing Xamarin.Android for Android Oreo 8.1 You can get Android [&hellip;]<\/p>\n","protected":false},"author":551,"featured_media":34506,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[5,4],"class_list":["post-34883","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","tag-android","tag-xamarin-platform"],"acf":[],"blog_post_summary":"<p>Android Oreo 8.1 introduces new features, including Android Go, Neural Networks API, Autofill framework enhancements, SharedMemory API, and many more. We&#8217;re excited to announce Xamarin.Android support for Android Oreo 8.1 in our latest release of Xamarin.Android for both Visual Studio and Visual Studio for Mac. Installing Xamarin.Android for Android Oreo 8.1 You can get Android [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/34883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/551"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=34883"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/34883\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=34883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=34883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=34883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}