[Request]: Connectivity_plus cannot be used in sdk 35 if you does not have de sdk 34
Plugin
connectivity_plus
Use case
In the app that I am working on, the only plugin that is not compiling in the sdk and build tools 35 is the connectivity_plus, so the image that I am using to build the app contains the 34 and 35. That`s making the image bigger.
Proposal
Would be nice if the plugin can work on the sdk and build tools 35 without the need of the 34
Yes it should work with 35. Any chance you can provide the compilation error?
Hey, yes.
In some tests I get the following 2 errors.
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':connectivity_plus:compileReleaseJavaWithJavac'.
Could not determine the dependencies of null. Failed to find target with hash string 'android-34' in: /opt/android-sdk
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org. BUILD FAILED in 5m 49s
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':connectivity_plus:compileReleaseJavaWithJavac'.
Could not determine the dependencies of null. Failed to find Build Tools revision 34.0.0
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org. BUILD FAILED in 5m 41s
Yes I have same problem issues, please fix issues
The error provided only showed that you had no SDK 34 build tools installed.
connectivity_plus 7.0.0 now uses compile SDK from the Flutter version that you use, so shouldn't be an issue anymore.