How to speed up Android Studio on a Mac

I did the following to resolve the Android Studio slowness. Go to Android -> Preferences -> Build, Execution, Deployment -> Compiler Check the Option – Compile independent modules in parallel (may require larger heap size) Set VM Options to : -Xmx2048m -XX:MaxPermSize=512 Restart Android Studio.

Selenium gives “selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary” on Mac

The issue is that chromedriver also needs to know where chrome is. In your case it is at a non-default path. So you need to specify the complete path to the Google Chrome binary. options = webdriver.ChromeOptions() options.binary_location = “/Applications/Google Chrome” chrome_driver_binary = “/usr/local/bin/chromedriver” driver = webdriver.Chrome(chrome_driver_binary, chrome_options=options) Above code is what you should … Read more

How to run a .jar in mac?

You don’t need JDK to run Java based programs. JDK is for development which stands for Java Development Kit. You need JRE which should be there in Mac. Try: java -jar Myjar_file.jar EDIT: According to this article, for Mac OS 10 The Java runtime is no longer installed automatically as part of the OS installation. … Read more