CadisRaziel / plugin_wifi_connect

BSD 3-Clause "New" or "Revised" License
9 stars 24 forks source link

Build issue after upgrading from 1.0.2 to 1.0.3 #134

Open ajambrovic opened 1 month ago

ajambrovic commented 1 month ago

With the 1.0.2. version, everything is working as expected.

After upgrading to 1.0.3 I'm getting:

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/~/.pub-cache/hosted/pub.dev/plugin_wifi_connect-1.0.3/android/build.gradle' line: 28

* What went wrong:
A problem occurred evaluating project ':plugin_wifi_connect'.
> Could not get unknown property 'flutter' for extension 'android' of type com.android.build.gradle.LibraryExtension.

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':plugin_wifi_connect'.
> Failed to notify project evaluation listener.
   > Cannot invoke method substring() on null object
   > com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle

I'm using the following plugins:

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.2.0" apply false
    id "org.jetbrains.kotlin.android" version "1.8.10" apply false
}
DonnyDevIT commented 1 month ago

Im using this fork that fixes https://github.com/tadodotcom/plugin_wifi_connect

B-l-u-e-f-i-r-e commented 3 weeks ago

can we merge it?

Im using this fork that fixes https://github.com/tadodotcom/plugin_wifi_connect

federico-b-visia commented 4 days ago

Im using this fork that fixes https://github.com/tadodotcom/plugin_wifi_connect

This fork fix for me, is possible to merge?