Here's my Ionic Info
cli packages: (/Users/billb/dev/customer-mkt-app/node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.0.1
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.3.0
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
Node : v6.11.5
npm : 3.10.10
OS : macOS Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
Environment Variables:
ANDROID_HOME : /Users/billb/Library/Android/sdk
Misc:
backend : pro
I can successfully build the app. When I try to open it in Android Studio, I get a handful of errors, mostly around a gradle sync failure. Here's the 5 errors in the Messages console.
Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve project :CordovaLib.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project >:CordovaLib.
Unable to resolve dependency for ':@debugAndroidTest/compileClasspath': Could not resolve project :CordovaLib.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project >:CordovaLib.
Unable to resolve dependency for ':@debugUnitTest/compileClasspath': Could not resolve project :CordovaLib.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project >
:CordovaLib.
Unable to resolve dependency for ':@release/compileClasspath': Could not resolve project :CordovaLib.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration 'releaseCompile' to configuration 'release' which is not declared in the descriptor for project :CordovaLib.
Unable to resolve dependency for ':@releaseUnitTest/compileClasspath': Could not resolve project :CordovaLib.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration 'releaseCompile' to configuration 'release' which is not declared in the descriptor for project :CordovaLib.
I really don't know what this means and Google hasn't turned up anything of any real help. What do I need to do here?
Note: discovered this after posting this. Relaying it here in case it will help someone else.
Don't upgrade to Android Studio 3
See Question&Answers more detail:
os