After attending Google IO 2016 extended, I downloaded studio from https://dl.google.com/dl/android/studio/ide-zips/2.2.0.0/android-studio-ide-145.2878421-linux.zip
I extracted it. But after that, I am not able to execute studio.sh..
It shows following error:
To-be-filled-by-O-E-M:~/Applications/android-studio/bin$ ./studio.sh
./studio.sh: 137: ./studio.sh: declare: not found
./studio.sh: 141: ./studio.sh: Syntax error: "(" unexpected (expecting "fi")
Am I missing something ?
Note: I have posted the issue on Google Plus Community Android Studio. Hers's the Link to my post
If you are ubuntu user then you can edit studio.sh and change fist line from
#!/bin/sh
to
#!/bin/bash
It works for me in Ubuntu 14.04.
Original Issue
Just use the previous studio.sh file and it works like a charm!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With