Error starting Android Studio 2.2 Preview 1

I downloaded and extracted ZIP from Android Studio 2.2. Prev 1. I use Ubuntu on my system and when I open studio.sh using the terminal I received this message:

Syntax error: "(" unexpected (expecting "fi") 

How to resolve this?

+5
source share
2 answers

It looks like if you edit studio.sh and change the first line:

! / Ben / w

to

! / Bin / bash

Android Studio 2.2 should run

+7
source

Along with the change ! / Ben / sh to

! / Bin / bash

also use $ bash studio.sh to launch Android Studio

0
source

All Articles