S4beR
S4beR

Reputation: 1847

phonegap build android; not able to build

I am trying to build phonegap using command phonegap build android though it always fail with below error

D:\mydolder\myproject>phonegap build android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] compiling Android...
[TypeError: Cannot set property 'text' of null]
   [error] Cannot set property 'text' of null

I have downloaded android sdk and set it in Environment Variables as mentioned in this link http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html

Upvotes: 1

Views: 602

Answers (1)

S4beR
S4beR

Reputation: 1847

I got it working. It seems some resource file were not available. Once i corrected that it started to build properly. To be precise string.xml file under res/values folder had problems

Upvotes: 1

Related Questions