Skip to content Skip to sidebar Skip to footer

Failure: Build Failed With An Exception A Problem Occured Configuring Root Project 'android'

I'm building a hybrid app using ionic framework. I did installed npm,cordova, ionic and android sdk. also I have set the environment variables. I was able to run following commands

Solution 1:

I have faced the same issue and Solved... What you need to do is

  • first Solution

    • ionic platform rm android ,

    • ionic platform add android ,

If that does not work then

  • Second

    • Remove your all plugins and add again ,

Solved my problem

Solution 2:

Solution 3:

Just remove the node_modules folder from your project using:

rm -rf node_modules

and then install all dependencies again:

npm i

Post a Comment for "Failure: Build Failed With An Exception A Problem Occured Configuring Root Project 'android'"