udacity / Sunshine-Version-2

The official repository for Developing Android Apps
Apache License 2.0
2.87k stars 4.41k forks source link

gradle version causes AS to fail build #312

Open MNDaveC opened 7 years ago

MNDaveC commented 7 years ago

build.gradle still using gradle 1.0.0 causes Android studio 2.2.2 to fail build... PLEASE UPDATE throughout all course projects. classpath 'com.android.tools.build:gradle:1.0.0'

SachitNayak commented 6 years ago

hey there even I'm facing a similar issue... how do I resolve this:

Error:Unsupported method: BaseConfig.getApplicationIdSuffix(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.

MNDaveC commented 6 years ago

@SachitNayak I resolved this by just updating the gradle version, it is unfortunate that the course author is not maintaining the project to keep it working. I'm currently using the following in my production projects: com.android.tools.build:gradle:3.0.1