Fix of running connectAndroidTest

Added gradle options for fix:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.