TypeError: Cannot read property 'manifest' of undefined

when i try to build using this command ionic cordova build android getting error

(node:12830) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘manifest’ of undefined.

Any help would be appreciated!

2 Likes

Use this If u use codova 7
ionic cordova add platform android@^6.2.3

4 Likes

@hasanbasri93 - thanks, your suggestion worked for me - +1!

Perfect is working for me. but i can´t to use native plugins such as camera or imagepicker. Do you have this kind of problems?

how can i use its not work for me

I am use cordova 8 what must to user pateform android to solve this problem??