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

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

Closed
2 tasks done
itslnz opened this issue Aug 10, 2023 · 0 comments
Closed
2 tasks done

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

itslnz opened this issue Aug 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@itslnz
Copy link

itslnz commented Aug 10, 2023

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
@itslnz itslnz added the bug Something isn't working label Aug 10, 2023
@itsaky itsaky closed this as completed in 9ef5eaa Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant