Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Needs AndroidX when assembling debug build #1199

@itslnz

Description

@itslnz

What happened?

My app doesn't use any AndroidX libs but logsender forces me to turn on useAndroidX when assembling debug build.

What's the expected behavior?

Work as is without using AndroidX

What version of AndroidIDE you're using?

v2.5.2

Relevant log output

> Task :app:checkDebugAarMetadata FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > Configuration `:app:debugRuntimeClasspath` contains AndroidX dependencies, but the `android.useAndroidX` property is not enabled, which may cause runtime issues. Set `android.useAndroidX=true` in the `gradle.properties` file and retry. The following AndroidX dependencies are detected: :app:debugRuntimeClasspath -> com.itsaky.androidide:logsender:2.5.2-beta -> androidx.databinding:viewbinding:8.0.2 :app:debugRuntimeClasspath -> com.itsaky.androidide:logsender:2.5.2-beta -> androidx.databinding:viewbinding:8.0.2 -> androidx.annotation:annotation:1.0.0

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions