# Unable to run production build command for android in ionic cordova application

**URL:** <https://forum.ionicframework.com/t/unable-to-run-production-build-command-for-android-in-ionic-cordova-application/131906>\
**Category:** ionic-v3\
**Created:** [June 1, 2018, 7:18am UTC](https://forum.ionicframework.com/t/unable-to-run-production-build-command-for-android-in-ionic-cordova-application/131906 "2018-06-01T07:18:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manoodev](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@manoodev](https://forum.ionicframework.com/u/manoodev)\
**Post date:** [June 1, 2018, 7:18am UTC](https://forum.ionicframework.com/t/unable-to-run-production-build-command-for-android-in-ionic-cordova-application/131906/1 "2018-06-01T07:18:50Z")

</div>

**When I run ionic cordova build android --prod --release command in cmd prompt, I’m getting the below error. I thought of checking because of “AOT” it might be failing and I also tried running ionic cordova build android --prod --release --aot=false same result failed.**

**Error encountered resolving symbol values statically. Calling function ‘NgxDynamicTemplateModule’,function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /src/app/app.module.ts, resolving symbol AppModule in /src/app/app.module.ts**

**using ionic 3.20.0 and cordova 8.0.0**

Thanks in advance

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:33pm UTC](https://forum.ionicframework.com/t/unable-to-run-production-build-command-for-android-in-ionic-cordova-application/131906/2 "2021-07-19T21:33:43Z")

</div>

Closed on July 19, 2021, 9:33pm UTC


