Giter VIP home page Giter VIP logo

Comments (4)

rdelrosario avatar rdelrosario commented on September 16, 2024

Must compile against 21 as plugin is using API 21 specific things. Here is a great breakdown: http://redth.codes/such-android-api-levels-much-confuse-wow/

Set the target framework to API 21 on Android project

You can have the minimum SDK set to 16.

Let me know if this works for you

from xamarin-plugins.

JohnMcAvinue avatar JohnMcAvinue commented on September 16, 2024

Can you elaborate on what is specific to API 21 please?

from xamarin-plugins.

rdelrosario avatar rdelrosario commented on September 16, 2024

Uses: http://developer.android.com/reference/android/os/BaseBundle.html

On Wed, Jan 6, 2016 at 9:57 AM, John [email protected] wrote:

Can you elaborate on what is specific to API 21 please?


Reply to this email directly or view it on GitHub
#21 (comment)
.

from xamarin-plugins.

JohnMcAvinue avatar JohnMcAvinue commented on September 16, 2024

Thank you. I need to support Jellybean and later so I'm trying to see what I would need to change to make it work. I set the project target API to 19, which is KitKat and it compiles file.

The issue I'm getting is when the message is received I'm getting the following error:

W/dalvikvm﹕ VFY: unable to resolve virtual method 184: Landroid/app/Notification$Builder;.setColor (I)Landroid/app/Notification$Builder;

I can't see any reference to setColor in your code though, and it's using NotificationCompat.Builder so I would have thought it would be ok.

Any suggestions you might have would be great

from xamarin-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.