Hi everyone.
I just started a new app after a while and that’s my environment:
*Ionic 6.2.0
*Angular/CLI: 14.1.0
*Capacitor 3.6.0
*Gradle 7.5
I just ran following commands:
ionic start 'app-name'
cd app-name
ionic capacitor add (and selected android from terminal)
ionic capacitor run android
App won’t run because of jcenter() dependencies declared in “android/capacitor-cordova-android-plugins/build.gradle”, and I wonder why those are still there.
Does that mean that we can’t start an android app from scratch?
I also noticed this line:
classpath 'com.android.tools.build:gradle:4.2.1'
and I don’t know why, considering global version of gradle (which, again, is 7.5)
What could the problem be?
What am I doing wrong?
P.S.
I know that I could run my app from Android Studio but I’m asking if it’s possible to run a brand new app just using the terminal and Capacitor commands (without manual edit on generated files).
Thank you all in advance for any help.