Android won't build all of a suddent

Not really sure what is causing this. I try to build a dev android version

ionic cordova build android

I’m getting this error.

Build failed with an exception.

  • What went wrong:

A problem occurred configuring root project ‘android’.

Could not find common.jar (android.arch.lifecycle:common:1.1.0).

Searched in the following locations:

The only thing I have tried it remove android and add android back (Android 6.3.0).

I try to go to that website and the path doesn’t work.

Newer versions of Cordova Android have fixes that these files can still be downloaded. They are not available at their old locations any more, which causes these problems.

Try to update with your latest android SDK and reinstall the platform

1 Like