Q: A bunch of errors while creating new project in android studio I am using android studio version 2.2.3 and got these errors after creating a project. The android version is default as android 4.03 icream .

Here is the gradle image:


A: I've experience this just yesterday when starting a new project with a fresh Android Studio Installation.
You need to be connected to Internet first before starting the project. Android Studio need to downloads all the dependencies that are missing for your project.
The problem is happened either because you're not connected to Internet or Android Studio is blocked by firewall.

A: removing or commenting the following line solved the problem but i have to do it every time i create a new project
1)go to gradle scripts, open build.gradle (module:app)
2)comment or remove the following lines 
*testinstrumentationrunner "....."
*comment the whole body of dependencies except the one with androidtestcompile "...support:Appcompat" and comment the other lines
