Xamarin.Android 8.0 Gets Even Sweeter with Oreo

JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

September 11, 2017 - We just posted about Android O support for Xamarin.Android.

Posts

  • MarkAdamsonMarkAdamson USMember ✭✭

    It still shows as 'Android 7.99.0 - O Beta' in the Platforms area of the new SDK manager for me. The blog post has it as 'Android 8.0 - Oreo'. Might just be me though as I have previously had the betas installed

  • JonDouglasJonDouglas USXamarin Team, University, Developer Group Leader Xamurai

    @MarkAdamson This should be fixed in the next Preview release. Thanks for the report!

  • IshamMohamedIqbalIshamMohamedIqbal LKUniversity
    edited September 18

    Find the sample code for Notification Channel Badges here.

  • batmacibatmaci DEMember ✭✭✭✭
    edited October 12

    I am getting error message on VS 2017 Preview when I install latest Android SDK Tools. we cant use UI anymore?

  • JonDouglasJonDouglas USXamarin Team, University, Developer Group Leader Xamurai
    edited October 12

    @batmaci

    This is because Google changed their avdmanager tooling to be a CLI instead of a GUI program. They have deprecated that GUI program that came with the SDK in favor of the CLI (Command line interface). For more details see my bulletin on this topic:

    https://gist.github.com/JonDouglas/9eed5704d4601196435bf169620d3186

    We are currently working on a new interface to complement the CLI tooling inside Visual Studio.

  • batmacibatmaci DEMember ✭✭✭✭
    edited October 12

    @JonDouglas yes I saw in other post and as suggested trying to create a virtual device using api 26 using Android Studio AVD manager but it seems that doesnt work. although I installed everything according to your article

    in my logs, it says

    2017-10-12 19:48:51,067 [1070889] WARN - s.RepoProgressIndicatorAdapter - cvc-type.3.1.3: The value 'default' of element 'abi' is not valid.
    org.xml.sax.SAXParseException; lineNumber: 145; columnNumber: 399; cvc-type.3.1.3: The value 'default' of element 'abi' is not valid.

    Can you advise what I am doing wrong or missing please?

    Steps I did on Android Studio

    1)

    2)

    3)

  • JonDouglasJonDouglas USXamarin Team, University, Developer Group Leader Xamurai

    I saw a bug(can't recall where) in the Android's SDK Manager in which the default value should actually be an ABI value such as x86. Can you try to edit that AVD directly or give it an explicit ABI?

  • JonDouglasJonDouglas USXamarin Team, University, Developer Group Leader Xamurai

    Ah I found it now. See the following comment:

    https://forums.xamarin.com/discussion/comment/301298#Comment_301298

  • batmacibatmaci DEMember ✭✭✭✭

    @JonDouglas said:
    Ah I found it now. See the following comment:

    https://forums.xamarin.com/discussion/comment/301298#Comment_301298

    This worked for me. thank you

Sign In or Register to comment.