-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
jvm target incompatibility #43
Comments
Thank you for your report. Can you provide a minimal reproduction sample? |
Open the default flutter project and add the lines mentioned previously. Also in the gradle-wrapper.properties file change the distributionURL to:
The above changes gave us the error. |
What version of Flutter are you using? Did it used to work in previous versions? |
Yes it did used to work previously. It seems the flutter version is not the culprit but the gradle versions are. As we tried to run on latest flutter default project and there it ran perfectly but with old gradle versions. Flutter doctor:
|
any update on how long this is going to take? We need to use it before 29 Aug. |
Hello, @SpirikleOfficial. Could you open a PR with a fix? I'm not sure I'll be able to do it myself before tomorrow, as I'm a little busy this week, but I could definitely review your PR. |
Signed-off-by: Mateus Felipe C. C. Pinto <[email protected]>
@SpirikleOfficial Can you test against In my personal tests, it should now emit a warning but compile nonetheless. |
Will check and let you know |
@SpirikleOfficial I don't want to bother you, but could you test it? I want to release a new version after this has been solved. |
Used this in our pubspec.yaml:
Compiled with success. However, our debug app had old version and Google play store shows update available but we are getting UnknownAvailability() everytime. The same code worked previously when your package was able to compile but not now. The code is:
Are we doing something wrong in our code or there is a problem in the package? |
That's interesting (and weird). Does anything appear in the Java logs? |
These are the logs after the getUpdateAvailablity() is called:
|
It's weird that it didn't happen before and is happening now. The log doesn't show anything relevant. |
Please, update your code to the latest master. I exposed the Please, test your code again and check whether the |
after running pub get:
Not able to compile:
|
Right, I forgot about |
I just released |
pub get:
no compilation as before:
|
Your packages are wrong for some reason.
Are you sure you removed all overrides? |
Please tell the code to write in pubspec.yaml |
dependencies:
update_available: 3.2.0-dev.1 You shouldn't have anything related to |
Got it. Below is the console output:
|
Can you see if any error is returned in the Notice that now it has two fields, |
used this code:
Output:
|
Hi guys, |
@pro100svitlo I can't reproduce with the example. If you can reproduce the problem with the example or provide a PR, I would gladly review it. |
Getting this error:
Execution failed for task ':update_available_android:compileDebugKotlin'.
if we have in android/settings.gradle the following config then it works:
but if the above are changed to:
then the error is recieved.
update_available version: 3.1.0+1
The text was updated successfully, but these errors were encountered: