error CS0117: `UnityEngine.RuntimePlatform' does not contain a definition for `BB10Player'

Error when try to compile android apk
error CS0117: UnityEngine.RuntimePlatform' does not contain a definition for BB10Player’

BB10 means Blackberry, which is not supported any longer. You probably got an older script from somewhere that still has code regarding that platform. You will have to find an updated version of that script or try to edit it yourself to fix that error.