The constructor UniversalDetector() is undefined code example Example: the constructor is undefined Simply create field while hovering over.