Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error launching Android Studio 2.2 Preview 1

I downloaded and extracted ZIP of Android Studio 2.2 Prev 1. I am using Ubuntu on my system and on opening studio.sh using terminal i received this message:

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

How to resolve this?

like image 497
Malwinder Singh Avatar asked May 18 '16 19:05

Malwinder Singh


1 Answers

It appears that if you edit the studio.sh and change the first line from:

!/bin/sh

to

!/bin/bash

Android Studio 2.2 should launch

like image 190
Jeff Campbell Avatar answered Oct 08 '22 04:10

Jeff Campbell