android를 실기기와 연결할 때 다음과 같은 build error가 발생했다.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-community_datetimepicker:bundleLibRuntimeDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> C:\Users\HOME\Documents\react-native\wellwork\front\node_modules\@react-native-community\datetimepickry_classes\debug\classes.jar: �ٸ� ���μ����� ������ ��� ���̱� ������ ���μ����� ���� �� �� �����ϴ�
A failure occurred while executing com.android.build.gradle.internal.tasks
에 나와있는 것처럼 gradle.properties에 org.gradle.jvmargs=-Xmx4608m 넣어주니 에러가 해결되었다.