Skip to content

error CS7069: Reference to type 'ILifecycleOwner' claims it is defined in 'Xamarin.AndroidX.Lifecycle.Common', but it could not be found #909

@tuyen-vuduc

Description

@tuyen-vuduc

Android application type

Android for .NET (net6.0-android, etc.)

Affected platform version

VS 2022 17.10.2

Description

I am trying to update my binding library for SceneView. However, there is an issue with Xamarin.AndroidX.Lifecycle.Common v2.8.2.

error CS7069: Reference to type 'ILifecycleOwner' claims it is defined in 'Xamarin.AndroidX.Lifecycle.Common', but it could not be found

Steps to Reproduce

Prerequites: .NET8, Java 17

  1. Clone repo at branch feat/scence-view-2.2.1
  2. Run sh bind.sh --artifact io.github.sceneview:sceneview:2.2.1
  3. Wait and see the error

Did you find any workaround?

Nope

Relevant log output

error CS7069: Reference to type 'ILifecycleOwner' claims it is defined in 'Xamarin.AndroidX.Lifecycle.Common', but it could not be found

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