Skip to main content

Posts

Showing posts from August, 2017

Failed to resolve: com.android.support:cardview-v7:26.0.0 android and similar

Recently I updated my android SDK tools and I started getting this error Failed to resolve: com.android.support:cardview-v7:26.0.0 android Solution to this or any other similar error is to add maven end point in your build.gradle file allprojects {     repositories {         jcenter()         maven {             url 'https://maven.google.com'         }     } } 

Ionic2 Error Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper

Recently I upgraded to latest version of ionic and started getting following error when building app for android Error: Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio To solve this issue you have to perform following steps Download Gradle from https://gradle.org/install/#manually Extract the downloaded zip file somewhere (e.g. D:\gradle) Add "D:\gradle\bin" to Path in your Environment variables After performing these steps everything started working fine for me. Hope you find this helpful :)