I updated Android Studio to 2.1.3 and faced some problems which I got tired trying to solve them, I did researches on the internet and found solutions but they did not work .
1- When I open one of the previous projects which I made with the previous version it shows this message :
Could not find method android() for arguments [build_271i3j5ikj90u04cm3b2z7cj$_run_closure2@769ff8fb] on root project 'MyApp' of type org.gradle.api.Project
2- and under gradle root I did not find "build.gradle(Module:app)" file .
On other hand when I create a new project I have no problem and "build.gradle(Module:app)" file is exist and everything is OK . [enter image description here][2] any one help and thanks very much in advance .Could not find method android() for arguments in Android Studio 2.1.3