When you are trying to access any of the native android platform using TypeScript, TS will complain about the root name -- TS2304: Cannot find name 'zzzz' at line yyyy TypeScript is unaware that those variables exist and are actually global in scope; so to make TypeScript happy; in your code you will want to… Continue reading NativeScript, TypeScript and accessing native Android runtimes