When i run this game, it's work, but i build this game to apk i get message eror on my console

Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonEditor.cs(17,7): error CS0246: The type or namespace name `UnityEditor’ could not be found. Are you missing an assembly reference?

i know it’s late to answer to this one but the UnityEditor namespace is not supposed to be built with.
You can add a precompiler statement around the file to solve this:

add #if !UNITY_EDITOR at the top of the file and #endif at the end of the file.