I have an essential plugin that hasn't been updated in a year. I made the mistake of updating flutter, and now, when I try to build, it is telling me about a whole list of plugins that require android 31. Unfortunately, android 31 breaks the one plugin that I must use. Caret notation in the pubspec.yaml is funny because the documentation says it's supposed to choose a version of the package that works with the dependencies, but it's just not doing that.
Run flutter downgrade in command line or reinstall your old version.
Related
the google play console advised me to use the debugSymbolLevel option, but it seems that requires a higher gradle plugin version(4.1). Currently my Android Gradle Plugin Version is 3.5.4 and my Gradle Version 5.6.4
I know very little about gradle. Is there any reason i shouldn't just select the highest versions for both? If yes which ones should i use?
Android Gradle Plugin Version offers options up to 7.3.1
Gradle Version upt to '8.0-milestone2'
Since the two versions span a lot, there might be a lot of breaking changes for your project. I suggest you doing some backup, trying to choose a stable version of it (7.x) and running the project. Good luck.
So let's say I have an application on android studios using Gradle version 4.1 with Gradle plugin version of 3.0. I have added implementation 'com.facebook.android:facebook-login:8.2.1' to my build.gradle file. However com.facebook.android:facebook-login:8.2.1 is using Gradle version 4.4.
So the only way for me to use this library (and that version) is if my project is on Gradle version 4.4 or greater?
Or is there a way for me to use that library (and that version) without changing my Gradle version?
Thanks.
Update: More Info
So specifically I am talking about using the stripe API. I was on version 6.1.2 but because of some new EU law, I need to update the version I am using to at least 9.1.1.
I noticed the only time I get this error 'apptransformClasseswithdesugarfordebug' when trying to run my app, is after they update there Gradle to use version 3.4.1 from 3.4.0 (not the Gradle plugin). On version of Stripe 9.0.0, my app is able to run, however, after switching to version 9.1.1, I get that error.
Note, my project is on Gradle version 3.1.4 and when it's on Stripe version of Gradle 3.4.0, my app is able to run.
So to wrap it up, I need to know if I need to be on the same version, although I doubt it because my app works with 9.0.0 of Stripe, which is using a different version of Gradle.
Are the gradle versions incompatible one to the other?
I am asking because I want to use the Offline Work setting in Adnroid Studio requiring a directory where to find the gradle files. But if I want to open an old project using another version of gradle, it does not work. Now I guess, I have to download all the versions I need and every time I switch the project, I need to also switch the gradle directory in the settings, right?
Or is it maybe possible to use just one version of gradle which also supports older versions?
About gradle versions, you can cross check here: What is real Android Studio Gradle Version?
Each new gradle plugin version is not always designed to be compatible with the older once, see: https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
When you update Android Studio, you may receive a prompt to also update Gradle to the latest available version. You can choose to accept the update or manually specify a version based on your project's build requirements.
in windows 10 in Android Studio 3.2.1
the application is worked correctly after first time of installing but after installing Google Sceneform Tools (Beta) from :
File > Settings > Plugins > Browse Repositories
after installing the plugin android studio should restart and then it's can't launch anymore
anyone can help please ?
One cannot just use any version of Google Sceneform Tools (Beta) with any version of Android Studio. As this one comment suggests, even if it's about other versions (also see the other comments there):
A temporary solution: install Android Studio 3.5.1 + Sceneform 1.5, make sfb file, place in project in Android Studio 3.6.
So in your case, you might probably have to update to Android Studio version 3.5.3 or any other version, which works with the current version 1.16.0, as the Android Studio which you are using appears rather outdated.
If you just want to be able to start Android Studio again, then manually delete the plugin directory from %USERPROFILE%/.AndroidStudio3.2/config/plugins, in order to perform a manual uninstall, as it might be required in order to update Android Studio.
Besides "it's not working" is not an error description. You'd have to start Android Studio from the command line, in order to get some meaningful error message, by which you then could search in the issues on GitHub (if the reason why it doesn't start up anymore might have another cause).
I have had issue #377 filed for this plugin since Oct 16, 2018, and unfortunately it is still open now.
I will update this answer if it is solved or a solution is found.
Update 1 :
the github [repository]2 for this plugin has been archived and it seems no longer supported after reading the documentation here
I'm trying to integrate react-native into an existing Android application, but keep running into the following error:
> Could not find com.android.support:appcompat-v7:23.0.1.
It seems like react-native needs sdkBuildTools version 23.0.1 and appcompat-v7 version 23.0.1.
However, the application I'm working on depends on sdkBuildTools version 24 and also appcompat-v7 version 23.2. Downgrading these dependencies is not an option.
Does this mean I can't integrate react-native into the app without rebuilding react-native from source with bumped up dependencies?
Go to android SDK manager and install build tool version 23.2 and change sdkBuildTools of every gradle in your project to 24 and also it will ask you after install that you have new version of SDK tools installed would you like to change the configuration, you can click on it .. If not then reach out to your app's gradle and change the appcompact version
One last step you need to do is change classpath version of your project and that will be notified by the android studio or i think 2.3.0 would be merely fine.
Cheers :)