Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

during build my app i got error: MSBUILD : cordova-build error : TypeError: Cannot read property 'attrib' of null

I am new in mobile developing and i use VS 2015 for build simple app with apache cordova and ionic. I made app with two views: first - login page, second - page with list of items getting from remote server as json.

Everything is ok in Ripple emulator, but when i try to build real apk file i got this error:

MSBUILD : cordova-build error : TypeError: Cannot read property 'attrib' of null
TypeError Cannot read property 'attrib' of null

I spent many hours googling the same error but did not found any with this part: property 'attrib'.

How can i solve my issue?

Thank you!

like image 915
MVG1984 Avatar asked Sep 05 '25 16:09

MVG1984


1 Answers

I had the same issue and discovered that this error rears its head if your AndroidManifest.xml has errors. Once my manifest file is fixed, this error went away. Hope this helps.

like image 112
Vyas Bharghava Avatar answered Sep 07 '25 14:09

Vyas Bharghava