Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.michael.bilibili_droid.fileprovider" 
    android:grantUriPermissions="true" android:exported="false">
          <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/update_files" />
    calling VFileProvider.GetUriForFile(context, "com.michael.bilibili_droid.fileprovider", jarFile)
    throw a excption
    android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)
    Rakesh R Nair

    After updating few packages I am getting this Error. Is there any way I can find which library is referencing the assembly?

    Error XA0121: Assembly 'Xamarin.Android.Support.CustomTabs' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. Use a newer version of this NuGet package or notify the library author. (XA0121)

    Jonathan Pryor
    sounds like our error message needs to be better :-
    grep would likely work
    Rakesh R Nair
    Screenshot 2020-07-29 at 21.03.41.png
    how i can use grep in Visual Studio for MAC. I am sorry I never tried this
    Jonathan Pryor
    i think you can grep -r Xamarin.Android.Support.CustomTabs .
    open thee Terminal.app, learn thee they Unix commands, and, uh… yeah.
    Rakesh R Nair
    okay let me try
    Jonathan Peppers
    @rkshnair I would try just installing a newer version of this package:
    If a @(PackageReference) like this not listed in your project, this should force it to use a newer one
    If there is a problem, NuGet will probably tell you which library it was -- or it will "just work" because you have a newer one
    Jonathan Pryor
    IceTheProm: hello!
    Please note that this channel is migrating to Discord: https://aka.ms/dotnet-discord on the <#C03CEGRUW|android> channel
    Jonathan Peppers
    Are there any other links to gitter like the one on the README?
    Jonathan Peppers
    I sent this in for now: xamarin/xamarin-android#4974
    Jonathan Pryor
    @grendello: call is over. have a good week!
    Marek Habersack
    @jonpryor thanks, you too!
    hello friend
    how can i call the activity function from the class
    CreateAccountActivity.MyMethod(); Its not working
    anyone help me
    @jonathanpeppers , @jonpryor - are we still going to continue on Gitter or on Discord ?
    I posted one error there. Your help will be appreciated. Thanks.
    Jonathan Pryor
    @IoTFier: Please migrate to Discord.

    @IoTFier: Please migrate to Discord.

    :) @jonpryor - I am already on Discord. That's what I stated earlier. Thank you for your help.

    hi everybody
    good mournigs
    i have a trouble
    cant use a demo made in xamarine for android
    i personally never used xamarne but that trying
    its about rfid
    anybody know about rfid in xamarine?
    is .NET 5 for Xamarin available with Visual Studio 2019 preview?
    great.... another group moved to discord :(
    hi bros
    could I develop an app based on Xamarin that can run on android, ios and chromeOS as cross-platform terms?
    used Xamarin for android is OK, but ChromeOS and iOS unexperienced with Xamarin
    Hi Everyone.
    public async Task UploadImageAsync(Stream image, string fileName)
    string url = "http://localhost/api/ImagesUpload";
    HttpContent fileStreamContent = new StreamContent(image);
    fileStreamContent.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("form-data") { Name = "file", FileName = fileName };
    fileStreamContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/octet-stream");
    using (var client = new HttpClient())
    using (var formData = new MultipartFormDataContent())
    var response = await client.PostAsync(url, formData);
    var HtmlResult = await response.Content.ReadAsStringAsync();
    var result = JsonConvert.DeserializeObject<string>(HtmlResult);
    API is working fine but when upload from xamarin app then its not uploaded.
    From postman its working fine.
    Anyone help me out.
    Hi all
    I got by some reason on Android Mobile Phone PairingVariantConsent that is available only for Android.Things library
    Does anybody faced with the same issue ?