[GH-ISSUE #373] minor build issue #268

Closed
opened 2026-02-28 01:23:57 +03:00 by kerem · 2 comments
Owner

Originally created by @mandric on GitHub (Apr 1, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/373

I'm not very familiar with the latest Java build systems but even after following the instructions in BUILDING.md I was stuck on this error for a bit:

$ ./gradlew  --stacktrace clean assemble
Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "ca015297591386fc28993e8c2f7535f752c91ae4"

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/mandric/dev/SMSSync/smssync/build.gradle' line: 22

* What went wrong:
A problem occurred evaluating project ':smssync'.
> Failed to apply plugin [id 'com.android.application']
   > Could not create plugin of type 'AppPlugin'.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':smssync'.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$1.run(DefaultScriptPluginFactory.java:144)
    at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPlugin

Then I tweaked build.gradle and that seemed to fix it:

-        classpath 'com.android.tools.build:gradle:2.0.0-beta4'
+        classpath 'com.android.tools.build:gradle:2.0.0-beta7'
Originally created by @mandric on GitHub (Apr 1, 2016). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/373 I'm not very familiar with the latest Java build systems but even after following the instructions in BUILDING.md I was stuck on this error for a bit: ``` $ ./gradlew --stacktrace clean assemble Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "ca015297591386fc28993e8c2f7535f752c91ae4" FAILURE: Build failed with an exception. * Where: Build file '/Users/mandric/dev/SMSSync/smssync/build.gradle' line: 22 * What went wrong: A problem occurred evaluating project ':smssync'. > Failed to apply plugin [id 'com.android.application'] > Could not create plugin of type 'AppPlugin'. * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':smssync'. at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93) at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$1.run(DefaultScriptPluginFactory.java:144) at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72) at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPlugin ``` Then I tweaked build.gradle and that seemed to fix it: ``` - classpath 'com.android.tools.build:gradle:2.0.0-beta4' + classpath 'com.android.tools.build:gradle:2.0.0-beta7' ```
kerem closed this issue 2026-02-28 01:23:57 +03:00
Author
Owner

@alxndrsn commented on GitHub (Apr 7, 2016):

👍 I needed this change to build via build.sh

<!-- gh-comment-id:206808091 --> @alxndrsn commented on GitHub (Apr 7, 2016): :+1: I needed this change to build via `build.sh`
Author
Owner

@alxndrsn commented on GitHub (Apr 8, 2016):

Please merge this change - without it, all PR builds are breaking, e.g. https://travis-ci.org/ushahidi/SMSSync/builds/121709653.

<!-- gh-comment-id:207449285 --> @alxndrsn commented on GitHub (Apr 8, 2016): Please merge this change - without it, all PR builds are breaking, e.g. https://travis-ci.org/ushahidi/SMSSync/builds/121709653.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#268
No description provided.