Skip to content

Update build.gradle to prevent building application errors#22

Open
esmaeel77 wants to merge 1 commit intoyonahforst:masterfrom
esmaeel77:master
Open

Update build.gradle to prevent building application errors#22
esmaeel77 wants to merge 1 commit intoyonahforst:masterfrom
esmaeel77:master

Conversation

@esmaeel77
Copy link

As mentioned in https://developer.android.com/studio/releases/gradle-plugin,
"Caution: You should not use dynamic dependencies in version numbers, such as 'com.android.tools.build:gradle:2.+'. Using this feature can cause unexpected version updates and difficulty resolving version differences."
So "com.android.tools.build:gradle:1.2.+" would cause errors when trying to building application with higher versions of gradle ( currently im using 4.2 ).
So changing "com.android.tools.build:gradle:1.2.+" to "com.android.tools.build:gradle:1.2.0" would fix the problem with no breaking issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant