Closed AndroidDeveloperLB closed 5 years ago
the gradle file for the application module exists. You're probably getting the error because you don't have the same Build tools version. Have you tried updating those as per the suggestions you're getting at the end of the error message? It worked on mine when I sync'ed it properly.
@std829 Look :
But for some reason, now I can run it:
How come?
You will notice that there are two gradle files in the project. As I mentioned before, the gradle for the applications module is not empty and is responsible for setting up teh project. Maybe you have updated the gradle tools since you last tried to run it and that is why the build was successful this time around.
I don't know. It's weird. Why the other gradle file is empty? And how come the project can work with it being empty?
It has an empty gradle file:
https://github.com/googlesamples/android-DirectorySelection/blob/master/build.gradle
So I get this: