Error While Building Ionic with Android

F:<Project_Name>\Ionic\Teller\src>ionic build android
Running command: “C:\Program Files\nodejs\node.exe” F:\Verifast\Ionic\Teller\src
\hooks\before_prepare\02_jshint.js F:\Verifast\Ionic\Teller\src
Running command: “C:\Program Files\nodejs\node.exe” F:\Verifast\Ionic\Teller\src
\hooks\after_prepare\010_add_platform_class.js F:\Verifast\Ionic\Teller\src
add to body class: platform-android
Running command: “C:\Program Files\nodejs\node.exe” F:\Verifast\Ionic\Teller\src
\hooks\after_prepare\020_remove_sass_from_platforms.js F:\Verifast\Ionic\Teller
src
Running command: “C:\Program Files\nodejs\node.exe” F:\Verifast\Ionic\Teller\src
\hooks\after_prepare\uglify.js F:\Verifast\Ionic\Teller\src
Running command: cmd "/s /c “F:\Verifast\Ionic\Teller\src\platforms\android\cord
ova\build.bat”"
Buildfile: F:\Verifast\Ionic\Teller\src\platforms\android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\Program Files\Android\Sdk

-setup:
[echo] Project Name: MainActivity
[gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.2
[echo] Resolving Build Target for MainActivity…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for MainActivity…
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with ‘debug’…

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\Program Files\Android\Sdk

-setup:
[echo] Project Name: MainActivity
[gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.2
[echo] Resolving Build Target for MainActivity…
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for MainActivity…
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found new input file
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
[echo] Creating library output jar file…

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode…

-crunch:
[crunch] Crunching PNG Files in source dir: F:\Verifast\Ionic\Teller\src\plat
forms\android\CordovaLib\res
[crunch] To destination dir: F:\Verifast\Ionic\Teller\src\platforms\android\C
ordovaLib\ant-build\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources…

-package:
[echo] Library project: do not package apk…

-post-package:

-do-debug:
[echo] Library project: do not create apk…
[propertyfile] Updating property file: F:\Verifast\Ionic\Teller\src\platforms\an
droid\CordovaLib\ant-build\build.prop
[propertyfile] Updating property file: F:\Verifast\Ionic\Teller\src\platforms\an
droid\CordovaLib\ant-build\build.prop
[propertyfile] Updating property file: F:\Verifast\Ionic\Teller\src\platforms\an
droid\CordovaLib\ant-build\build.prop
[propertyfile] Updating property file: F:\Verifast\Ionic\Teller\src\platforms\an
droid\CordovaLib\ant-build\build.prop

-post-build:

debug:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[aapt] warning: string ‘menu_settings’ has no default translation.
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:
[echo] Set jars path to: F:\Verifast\Ionic\Teller\src\platforms\android\Cor
dovaLib\ant-build\classes.jar;F:\Verifast\Ionic\Teller\src\platforms\android\lib
s\com.google.zxing.client.android.captureactivity.jar

-compile:
[javac] Compiling 4 source files to F:\Verifast\Ionic\Teller\src\platforms\a
ndroid\ant-build\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:42: error: no suitable method found for parse(C
ontext)
[javac] new CustomConfigXmlParser().parse(context);
[javac] ^
[javac] method ConfigXmlParser.parse(Activity) is not applicable
[javac] (argument mismatch; Context cannot be converted to Activity)
[javac] method ConfigXmlParser.parse(XmlResourceParser) is not applicabl
e
[javac] (argument mismatch; Context cannot be converted to XmlResource
Parser)
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:46: error: no suitable method found for parse(X
mlPullParser)
[javac] new CustomConfigXmlParser().parse(xmlParser);
[javac] ^
[javac] method ConfigXmlParser.parse(Activity) is not applicable
[javac] (argument mismatch; XmlPullParser cannot be converted to Activ
ity)
[javac] method ConfigXmlParser.parse(XmlResourceParser) is not applicabl
e
[javac] (argument mismatch; XmlPullParser cannot be converted to XmlRe
sourceParser)
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:64: error: no suitable method found for parse(C
ontext)
[javac] new CustomConfigXmlParser().parse(webView.getContext());

[javac]                                        ^
[javac]     method ConfigXmlParser.parse(Activity) is not applicable
[javac]       (argument mismatch; Context cannot be converted to Activity)
[javac]     method ConfigXmlParser.parse(XmlResourceParser) is not applicabl

e
[javac] (argument mismatch; Context cannot be converted to XmlResource
Parser)
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:69: error: method does not override or implemen
t a method from a supertype
[javac] @Override
[javac] ^
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:106: error: method does not override or impleme
nt a method from a supertype
[javac] @Override
[javac] ^
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:111: error: method does not override or impleme
nt a method from a supertype
[javac] @Override
[javac] ^
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:119: error: method does not override or impleme
nt a method from a supertype
[javac] @Override
[javac] ^
[javac] F:\Verifast\Ionic\Teller\src\platforms\android\src\org\apache\cordov
a\whitelist\WhitelistPlugin.java:130: error: method does not override or impleme
nt a method from a supertype
[javac] @Override
[javac] ^
[javac] 8 errors
[javac] 3 warnings

BUILD FAILED
C:\Program Files\Android\Sdk\tools\ant\build.xml:716: The following error occurr
ed while executing this line:
C:\Program Files\Android\Sdk\tools\ant\build.xml:730: Compile failed; see the co
mpiler error output for details.

Total time: 6 seconds

F:<Project_Name>\Ionic\Teller\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,F:\Verifast\Ionic\Te
ller\src\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-
gen
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1

You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1

Please suggest for solution

I have the same problem, did you find a Solution ?