Skip to content

Ambiguous name when compiling for Android  #2

@timskillman

Description

@timskillman

I tried compiling for Android and got this issue in OpenGLCube.cs ...

CS0104 'Bitmap' is an ambiguous reference between 'System.Drawing.Bitmap' and 'Android.Graphics.Bitmap'

Issue can be fixed on Line 290 with

Android.Graphics.Bitmap b = BitmapFactory.DecodeByteArray (imageData, 0, imageData.Length);

Nice, simple example ;-)
Thanks
Tim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions