Question Detail

Can't see app preview in android studio. Gradle build issue.

6 years ago Views 1384 Visit Post Reply

Gradle build finished with 2 error(s) in 3s 717ms 

this error is showing in android studio and I can't view the preview of my app(build is not finised), I had tried to clean project and run the app, its saying to Select Deployment Target but don't have any device there to select, so I have select the option to Create New Virtual Device it starts a downloading....... it also happens before, do I need to do it everytime.... there is any solution to avoid this unwanted downloading on every start.

Thread Reply


- 6 years ago

Rebuild your Android Studio Project and there should be downloaded lib File which is you import in your gradle file