com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException

C++
You probably need to allocate more internal memory to your emulator.
Source

Also in C++: