gapps install script for raspberry pi 3 android tv
Just clone then edit the ip address in the script then run it your rpi will reboot few times
This script is original from rtandroid github and I edited it for leanback (android tv)
https://github.com/RTAndroid/android_device_brcm_rpi3/blob/aosp-n/scripts/gapps.sh