Ionic error: android.content.res.XmlResourceParser

Hello everyone. I get an error where use “cordova-plugin-x-socialsharing” plugin. I want to share local file. File is exist. I check it.

alert(dir + r.resim)
this.socialSharing.share("mesaj", "konu", dir + r.resim)
        .then((a) =>
        {
            alert("basari: " + a);
        })
        .catch((e) =>
        {
            alert("Paylaşımda hata: " + e);
        });