osascript wants to make changes while Android Studio Installation on Mac OS X


While installing Android Studio IDE on your Mac OS X Operating system if you were asked to enter password (admin/privileged access) to make changes to postscript and wondered what to do? Is it a malware or something, should i go ahead or not! Well, I had the same questions and here is what i found,

What is osascript?

Its an Apple Script Runtime. It executes AppleScripts and other OSA language scripts.

Osascript executes the given script. It was designed for use with AppleScript but work with any Open Scripting Architecture (OSA) language. Reference Link :

http://developer.apple.com/library...osascript.1.html

This appears when the log console says Running Intel® HAXM installer,

Further reading on Android Open Source Project - Issue tracking website it seems that it is expected and you should allow the changes

Link to the Issue Page: https://code.google.com/p/android/issues/detail?id=81761

After providing the password the installation continued and Android Studio was installed successfully!!

Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources

Installing Archives:
Preparing to install archives
Installing Android SDK Tools, revision 24.0.2
Installed Android SDK Tools, revision 24.0.2
Installing Android SDK Build-tools, revision 21.1.2
Installed Android SDK Build-tools, revision 21.1.2
Installing SDK Platform Android 5.0.1, API 21, revision 2
Installed SDK Platform Android 5.0.1, API 21, revision 2
Installing Google APIs Intel x86 Atom System Image, Google Inc. API 21, revision 3
Installed Google APIs Intel x86 Atom System Image, Google Inc. API 21, revision 3
Installing Sources for Android SDK, API 21, revision 1
Installed Sources for Android SDK, API 21, revision 1
Installing Android Support Repository, revision 11
Installed Android Support Repository, revision 11
Installing Google Repository, revision 15
Installed Google Repository, revision 15
Done. 7 packages installed.
Android SDK is up to date.
Running Intel® HAXM installer
Silent installation Pass!
Creating an Android virtual device
Android virtual device Nexus_5_API_21_x86 was successfully created