Android Java settings during building process of apk

Hi,
Where Can i change value for java -Xmx1024M
I tried with system variables , run parameters for java but without success :frowning:

That’s currently a hardcoded value. What do you need this for?

I added Realm gradle support and have out of memory message

Thanks, logged as bugs://77712

Carlo I upgraded sdk build tools to 25.0.3 and all works fine.

1 Like

That’s good to hear; I will however keep the issue open to make sure this can be configured later.

Thank You !

It works but is 2 times slower with new build tools :frowning: wrrrr :slight_smile: Google :wink:

Carlo I’m sorry but i made some mistake in gradle build (clear reference to Realm) and I could compile apk.
After adding reference I have error (what can i do to build apk ?)

hi,

we’re investigating this (and your other question).

OK thank you !

bugs://77712 got closed with status fixed.