Hi,
When I tried to “ionic build android”, I got this error:
[16:34:07] ngc error: Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 168:19 in the original .ts file), resolving symbol AppModule…
ngc error: Compilation failed
[16:34:07] NGC encountered an error
[12:20:22] Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider
replacing the function or lambda with a reference to an exported function (position 27:19 in the original
.ts file), resolving symbol AppModule in /client/.tmp/app/app.module.ts
[12:20:22] ngc failed
[12:20:22] ionic-app-script task: "build"
[12:20:22] Error: Error
It was something wrong in my app.module.ts on line 27 (my translate module). In Browser I had no error, but on build It failed.