Closed bot101 closed 7 years ago
@bot101, it seems your build is failing because your android development environment does not fully meet the requirement for the library. Perhaps you do not have the Android Support Repository
and Android Support Library
installed in your environment.
You just need to update your Android APIs to at least v24 via the Android SDK Manager
and you would be fine. Ensure you have the following config or above:
Android SDK Tools: 24+ Android SDK Platform-tools: 24+ Android SDK Build-tools: 24+ SDK Platform: 24+ Android Support Repository: 39+ Android Support Library: 23+
Run android
on your terminal to access the Android SDK Manager
Make changes where appropriate and run cordova build android
to recompile your app.
Resolved issue. Only had to install Android support repository
to get it to build successfully. Android support library
was not listed in my Android SDK Manager. Thanks for the prompt response.
Building an Ionic app fails with the above errors. I tried to follow some of the links that could not be found in my browser and some were returning 404s and
The requested path was not found.
Examples:
https://repo1.maven.org/maven2/com/android/
exists buthttps://repo1.maven.org/maven2/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom
returns a 404https://dl.bintray.com/paystack/maven/co
exists buthttps://dl.bintray.com/paystack/maven/com/android/support/appcompat-v7/24.2.0/appcompat-v7-24.2.0.pom
returnsThe requested path was not found.