I’ve hit a brick wall in trying to build an Android version of our app. I thought at first my old versions of Android Studio were conflicting so I have completely removed all traces of it and the SDK’s and started with a fresh version of 3.1.2. I am getting a build fail message that I can’t seem to find with almost a day spent on Google. Hopefully someone on here has seen it though. This is what I get:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all files for configuration ':classpath'. > Could not find compilerCommon.jar (com.android.databinding:compilerCommon:3.0.0). Searched in the following locations: https://jcenter.bintray.com/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.jar > Could not find builder-model.jar (com.android.tools.build:builder-model:3.0.0). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.jar > Could not find apksig.jar (com.android.tools.build:apksig:3.0.0). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.jar
This is what my ionic info gives me:
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.6 Cordova Platforms : android 7.0.0 ios 4.3.1 Ionic Framework : ionic-angular 3.8.0 System: Android SDK Tools : 26.1.1 ios-deploy : 1.9.2 ios-sim : 6.1.2 Node : v8.9.1 npm : 5.5.1 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b Environment Variables: ANDROID_HOME : /Users/michael/Library/Android/sdk
Has anyone seen this before or can see something simple?! I’ve been looking at this for a looooong time so I’m not ruling out something simple staring me right in the face!
Thanks in advance all!