Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Requirement] AndroidX migration. #33

Closed
songyiYu opened this issue Nov 14, 2019 · 1 comment
Closed

[Requirement] AndroidX migration. #33

songyiYu opened this issue Nov 14, 2019 · 1 comment

Comments

@songyiYu
Copy link
Member

Hi~ Thank you for developing this plugin!

But I can't use your plugin because it is not migrated to AndroidX.

I got this error.

> Configure project :hardware_buttons
WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
         *********************************************************
WARNING: This version of device_info will break your Android build if it or its dependencies aren't compatible with AndroidX.
         See https://goo.gl/CP92wY for more information on the problem and how to fix it.
         This warning prints for all Android build failures. The real root cause of the error may be unrelated.
         *********************************************************
  Command: /Users/yusong-i/development/PassionIndicator/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.
giantsol added a commit to giantsol/flutter_hardware_buttons that referenced this issue Nov 25, 2019
@giantsol
Copy link
Member

Hello @songyiYu ,
We've migrated to AndroidX in version 1.0.0

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants