Skip to content

AndroidX.Compose no such namespace after installing Xamarin.AndroidX.Compose.UI package #705

@mak100un

Description

@mak100un

Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

Affected platform version

JetBrains Rider 2022.3.2, v12.0

Description

After installation of package Xamarin.AndroidX.Compose.UI version 1.1.1.1, namespace AndroidX.Compose doesnt exist, also cannot access to the class AndroidX.Compose.UI.Platform.ComposeView`

Create project using Xamarin.Android MonoAndroid12.0 (v12.0)

Also inspect nuget loaded to local cache - package doesn`t contains any classes only Reference and Metadata section (inspect dll with the help of dotPeek.

Steps to Reproduce

  1. Create Xamarin.Android project with target framework MonoAndroid12.0 (v12.0)
  2. Install package Xamarin.AndroidX.Compose.UI version 1.1.1.1
  3. Try to create instance of class AndroidX.Compose.UI.Platform.ComposeView

Expect result: Class accessible

Actual result: AndroidX.Compose namespace not found

3db937b4-43eb-485a-a624-76bc62bddde4

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions