android - Invalid maximum heap size: The specified size exceeds the maximum representable size -


i error when build project in android studio preview beta 4.
error is:

error:error: not create java virtual machine. error:error: fatal exception has occurred. program exit. error:invalid maximum heap size: -xmx4g error:the specified size exceeds maximum representable size. error:execution failed task ':q-municate_app:transformclasseswithdexfordevdebug'. com.android.build.api.transform.transformexception: com.android.ide.common.process.processexception: java.util.concurrent.executionexception: java.lang.unsupportedoperationexception

i use : https://quickblox.com/developers/sample-webrtc-android#sources project build chat video app.

i use 32 bit java installation

32 bit applications can't use 4g of ram. hence size exceeds maximum representable size

you either need use smaller heap, or use 64 bit java


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -