-1

I am completely new to app development in fact i just downloaded the software Android Studio 2.2.2. I dont know if something went wrong but there is no preview button on the right side or anywhere else. Keep in mind the i have not started writing any code yet. Any help will be appreciated. Thank you so much for your time and help

studio image

1 Answers1

0

To Solve. Java finished with non-zero exit value 2 - Android Gradle follow this answer Java finished with non-zero exit value 2 - Android Gradle

And then for preview button try this: View -> Tool Windows -> Preview

enter image description here

Follow the link provided in comments by IntelliJ Amiya.

Community
  • 1
  • 1
Priya Jagtap
  • 1,023
  • 13
  • 19
  • I am sorry but i dont have that option either under **Tool Windows**. The list goes- a faded 'Palette', faded Properties, Terminal, then faded theme preview. Also initially the app was talking a lot of time to install to i cancelled it a couple of times before finally having it install properly, so maybe because of that something happened with the libraries. I deleted it once and installed it again but it just started without the long installation process-@priya jagtab – user3744516 Nov 24 '16 at 05:52
  • is your problem solved? @user3744516 – Priya Jagtap Nov 24 '16 at 06:10
  • Yes, my previous problem got solved. Thank you so much, but now as you expected(i guess) i am facing "Java finished with non-zero exit value 2 - Android Gradle" I cant fix this. That is my simple hello world project is not getting printed out in the preview – user3744516 Nov 24 '16 at 06:51
  • ok. I will try to find solution. best of luck @user3744516 – Priya Jagtap Nov 24 '16 at 07:15