Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

I can't compile my project #19

Closed
acaliaro opened this issue Oct 20, 2016 · 1 comment
Closed

I can't compile my project #19

acaliaro opened this issue Oct 20, 2016 · 1 comment

Comments

@acaliaro
Copy link

Please fill out either the bug or feature request section and remove whatever section you are not using.

Bug

Version Number of Plugin: latest
Device Tested On: none
Simulator Tested On: none

Expected Behavior

Can compile my project

Actual Behavior

I have add

    //Per permission plugin
    public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
    {
        PermissionsImplementation.Current.OnRequestPermissionsResult(requestCode, permissions, grantResults);
    }

to my MainActivity.cs and add

using Plugin.Permissions;

but I have

Error CS0115: `IWapp.Droid.MainActivity.OnRequestPermissionsResult(int, string[], Android.Content.PM.Permission[])' is marked as an override but no suitable method found to override (CS0115) (IWapp.Droid)

Steps to reproduce the Behavior

follow your github readme

@jamesmontemagno
Copy link
Owner

You need to make sure app is set to Compile against API 23+

This in the Android project settings. In Xamarin Studio Under general and under the app settings in VS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants