Fastboot Android-product-out Not Set

Example:

echo $ANDROID_PRODUCT_OUT

Verify your device is detected by running fastboot devices before attempting to flash. fastboot android-product-out not set

Are you working with a or are you trying to flash a factory image from a manufacturer? fastboot android-product-out not set