i am trying to add the android platform to my ionic 1 application but it keeps giving me this please any help
Well, there is not enough space for whatever reason for the gradle daemon, as the upper error message block tells you.
Try searching google for “gradle could not reserve enough space for object heap”. Lots of hits with lots of possible solutions pointing to either reserving a specified amount of space in android studio for the daemon or to delete the preference completely in order to let android decide about required space. This thread for example
thanks man already figured it out