Closed PocketCoder closed 2 years ago
did you ever find a solution to this?
MacBook:PieMessage-Android tanaysood$ grade installDebug
Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "ce1c366ca16d7c58c98fcda8cec0729ed040149d"
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/tanaysood/PieMessage/PieMessage-Android/app/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Could not create plugin of type 'AppPlugin'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I am getting a very similar message as well. Not sure which Plugin it is talking about which is outdated.
same here
Installing Android SDK/Studio (+ getting the right SDK & tools) and clicking the "fix" suggestion at the bottom solved this issue for me. I think setting the environment variable might also work: export ANDROID_DAILY_OVERRIDE=ce1c366ca16d7c58c98fcda8cec0729ed040149d
For anyone still running into this issue today, open PieMessage-Android as a project in Android Studio. It will have hyperlinks in the errors to download the necessary plug-ins. You can then build in Android Studio and save APK to disk, or plug in your device and build via command line.
When I run the command
grade installDebug
I get the following error:
I've tried updating grade and have changed the distrubutionURL but the error still appears.