if you look into the source code - this class does nothing and indeed deprecated :) https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/ui/BubbleIconFactory.java
package com.google.maps.android.ui;
/**
* Use {@link IconGenerator} instead.
*/
@Deprecated
public class BubbleIconFactory {
}
I suppose you need to use equivalent to this class: IconGenerator