admin管理员组

文章数量:1327287

When I try to use cordova prepare on my project, I got this following error :

(node:11384) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'text' of null at updateProjectAccordingTo (C:\Users\Utilisateur\Desktop\SELL-SIGN-Android-master\platforms\android\cordova\lib\prepare.js:174:51)

I have no clue how to solve it, and where this problem e from... If you have any idea, let me know. Thanks !

When I try to use cordova prepare on my project, I got this following error :

(node:11384) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'text' of null at updateProjectAccordingTo (C:\Users\Utilisateur\Desktop\SELL-SIGN-Android-master\platforms\android\cordova\lib\prepare.js:174:51)

I have no clue how to solve it, and where this problem e from... If you have any idea, let me know. Thanks !

Share Improve this question asked Jun 11, 2018 at 8:53 clstclst 1212 silver badges11 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 9

Fixed it by adding to \platforms\android\res\values\strings.xml this line : <string name="app_name">MyAppName</string> !

本文标签: javascriptAndroid CordovaCannot set property 39text39 of nullStack Overflow