title: "ionic build android" on windows 8.1 64-bit: Error: Hook failed with error code ENOENT
body: <p>I am following <a href="http://learn.ionicframework.com/videos/windows-android/" rel="nofollow">http://learn.ionicframework.com/videos/windows-android/</a>
  When I run </p>
  
  <pre><code>ionic build android 
  </code></pre>
  
  <p>I have following error:</p>
  
  <pre><code>Updated the hooks directory to have execute permissions
  running cordova build android
  Running command: C:\Windows\system32\node C:\_Learn\ionic\firstIonicApp\hooks\after_prepare\010_add_platform_class.js C:\_Learn\ionic\firstIonicApp
  Error: Hook failed with error code ENOENT: C:\_Learn\ionic\firstIonicApp\hooks\after_prepare\010_add_platform_class.js
      at C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:195:23
      at _rejected (C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:797:24)
      at C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:823:30
      at Promise.when (C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1035:31)
      at Promise.promise.promiseDispatch (C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:741:41)
      at C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:557:44
      at flush (C:\Users\Username\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
      at process._tickCallback (node.js:355:11)
      at Function.Module.runMain (module.js:503:11)
      at startup (node.js:129:16)
  </code></pre>
  
  <p>My Android Home:</p>
  
  <p>C:\>echo %ANDROID_HOME%</p>
  
  <p>C:\Program Files (x86)\Android\android-sdk</p>