ionic-cli
ionic-cli copied to clipboard
"ionic cap run android -l --external" - An error occurred while running subprocess capacitor
Description:
I went though the Angular part in docs and tried to run the live reload functionality with the command ionic cap run android -l --external
and get an error. My device is Pixel 3.
Output:
[capacitor] ✖ Running Gradle build - failed!
[capacitor] [error]
[capacitor] > Configure project :app
[capacitor] WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
[capacitor]
[capacitor] > Configure project :capacitor-cordova-android-plugins
[capacitor] WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
[capacitor]
[capacitor] > Task :app:preBuild UP-TO-DATE
[capacitor] > Task :app:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-android:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-android:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-android:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-app:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-app:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-app:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-camera:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-camera:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-camera:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-filesystem:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-haptics:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-haptics:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-haptics:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-keyboard:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-status-bar:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-storage:preBuild UP-TO-DATE
[capacitor] > Task :capacitor-storage:preDebugBuild UP-TO-DATE
[capacitor] > Task :capacitor-storage:compileDebugAidl NO-SOURCE
[capacitor] > Task :app:compileDebugAidl NO-SOURCE
[capacitor] > Task :capacitor-android:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-app:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-camera:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-filesystem:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-haptics:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-keyboard:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-status-bar:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-storage:packageDebugRenderscript NO-SOURCE
[capacitor] > Task :app:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :app:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :app:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-android:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-app:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-camera:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-haptics:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:writeDebugAarMetadata
[capacitor] > Task :capacitor-status-bar:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-storage:writeDebugAarMetadata UP-TO-DATE
[capacitor] > Task :app:generateDebugResValues UP-TO-DATE
[capacitor] > Task :app:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-android:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-android:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-android:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-android:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-app:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-app:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-app:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-app:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-camera:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-camera:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-camera:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-camera:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:generateDebugResValues
[capacitor] > Task :capacitor-cordova-android-plugins:generateDebugResources
[capacitor] > Task :capacitor-cordova-android-plugins:packageDebugResources
[capacitor] > Task :capacitor-filesystem:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-filesystem:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-haptics:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-haptics:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-haptics:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-haptics:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-keyboard:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-status-bar:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:packageDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-storage:compileDebugRenderscript NO-SOURCE
[capacitor] > Task :capacitor-storage:generateDebugResValues UP-TO-DATE
[capacitor] > Task :capacitor-storage:generateDebugResources UP-TO-DATE
[capacitor] > Task :capacitor-storage:packageDebugResources UP-TO-DATE
[capacitor] > Task :app:mergeDebugResources UP-TO-DATE
[capacitor] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[capacitor] > Task :app:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-android:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-android:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-app:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-app:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-camera:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-camera:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:extractDeepLinksDebug
[capacitor] > Task :capacitor-filesystem:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-haptics:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-haptics:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-storage:extractDeepLinksDebug UP-TO-DATE
[capacitor] > Task :capacitor-storage:processDebugManifest UP-TO-DATE
[capacitor] > Task :capacitor-android:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:processDebugManifest
[capacitor] > Task :capacitor-android:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-android:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-app:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-app:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-app:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-camera:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-camera:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-camera:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:compileDebugLibraryResources
[capacitor] > Task :app:checkDebugAarMetadata UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:parseDebugLocalResources
[capacitor] > Task :capacitor-filesystem:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-haptics:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-haptics:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-haptics:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-storage:compileDebugLibraryResources UP-TO-DATE
[capacitor] > Task :capacitor-storage:parseDebugLocalResources UP-TO-DATE
[capacitor] > Task :capacitor-storage:generateDebugRFile UP-TO-DATE
[capacitor] > Task :capacitor-android:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-android:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-android:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-android:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-app:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-app:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-app:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-app:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-camera:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-camera:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-camera:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-camera:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:generateDebugBuildConfig
[capacitor] > Task :capacitor-filesystem:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:javaPreCompileDebug
[capacitor] > Task :capacitor-filesystem:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-haptics:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-haptics:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-haptics:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-haptics:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-storage:generateDebugBuildConfig UP-TO-DATE
[capacitor] > Task :capacitor-storage:javaPreCompileDebug UP-TO-DATE
[capacitor] > Task :capacitor-storage:compileDebugJavaWithJavac UP-TO-DATE
[capacitor] > Task :capacitor-storage:bundleLibCompileToJarDebug UP-TO-DATE
[capacitor] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[capacitor] > Task :app:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :app:compileDebugShaders NO-SOURCE
[capacitor] > Task :app:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-android:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-android:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-android:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-android:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-app:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-app:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-app:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-app:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-camera:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-camera:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-camera:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-camera:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:mergeDebugShaders
[capacitor] > Task :capacitor-cordova-android-plugins:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:packageDebugAssets
[capacitor] > Task :capacitor-filesystem:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-filesystem:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-haptics:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-haptics:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-haptics:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-haptics:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-keyboard:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-status-bar:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:packageDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-storage:mergeDebugShaders UP-TO-DATE
[capacitor] > Task :capacitor-storage:compileDebugShaders NO-SOURCE
[capacitor] > Task :capacitor-storage:generateDebugAssets UP-TO-DATE
[capacitor] > Task :capacitor-storage:packageDebugAssets UP-TO-DATE
[capacitor] > Task :app:mergeDebugAssets
[capacitor] > Task :app:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-android:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-android:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-app:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-app:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-camera:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-camera:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-filesystem:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-filesystem:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-haptics:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-haptics:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-keyboard:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-keyboard:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-status-bar:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-status-bar:bundleLibResDebug NO-SOURCE
[capacitor] > Task :capacitor-storage:processDebugJavaRes NO-SOURCE
[capacitor] > Task :capacitor-storage:bundleLibResDebug NO-SOURCE
[capacitor] > Task :app:mergeDebugJavaResource UP-TO-DATE
[capacitor] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[capacitor] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[capacitor] > Task :app:compressDebugAssets
[capacitor] > Task :app:mergeExtDexDebug UP-TO-DATE
[capacitor] > Task :capacitor-android:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-app:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-camera:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-haptics:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :capacitor-storage:bundleLibRuntimeToJarDebug UP-TO-DATE
[capacitor] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-android:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-android:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-android:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-android:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-app:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-app:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-app:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-app:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-camera:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-camera:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-camera:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-camera:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-cordova-android-plugins:mergeDebugJniLibFolders
[capacitor] > Task :capacitor-cordova-android-plugins:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-cordova-android-plugins:copyDebugJniLibsProjectOnly
[capacitor] > Task :capacitor-filesystem:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-filesystem:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-filesystem:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-filesystem:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-haptics:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-haptics:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-haptics:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-haptics:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-keyboard:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-keyboard:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-keyboard:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-status-bar:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-status-bar:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-status-bar:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :capacitor-storage:mergeDebugJniLibFolders UP-TO-DATE
[capacitor] > Task :capacitor-storage:mergeDebugNativeLibs NO-SOURCE
[capacitor] > Task :capacitor-storage:stripDebugDebugSymbols NO-SOURCE
[capacitor] > Task :capacitor-storage:copyDebugJniLibsProjectOnly UP-TO-DATE
[capacitor] > Task :app:validateSigningDebug UP-TO-DATE
[capacitor] > Task :app:writeDebugAppMetadata UP-TO-DATE
[capacitor] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[capacitor] > Task :capacitor-android:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[capacitor] > Task :capacitor-android:extractDebugAnnotations FAILED
[capacitor]
[capacitor] FAILURE: Build failed with an exception.
[capacitor]
[capacitor] * What went wrong:
[capacitor] Execution failed for task ':capacitor-android:extractDebugAnnotations'.
[capacitor] > Could not resolve all dependencies for configuration ':capacitor-android:lintClassPath'.
[capacitor] > Could not determine artifacts for org.codehaus.groovy:groovy-all:3.0.7: Skipped due to earlier error
[capacitor]
[capacitor] * Try:
[capacitor] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[capacitor]
[capacitor] * Get more help at https://help.gradle.org
[capacitor]
[capacitor] BUILD FAILED in 5s
[capacitor]
[capacitor] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[capacitor] Use '--warning-mode all' to show the individual deprecation warnings.
[capacitor] See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings
[capacitor] 169 actionable tasks: 16 executed, 153 up-to-date
[capacitor]
[ERROR] An error occurred while running subprocess capacitor.
My ionic info
:
Ionic:
Ionic CLI : 6.18.1 (/Users/denis/.nvm/versions/node/v14.17.5/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.0.2
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3
Capacitor:
Capacitor CLI : 3.3.4
@capacitor/android : 3.3.4
@capacitor/core : 3.3.4
@capacitor/ios : 3.3.4
Utility:
cordova-res : 0.15.4
native-run : 1.5.0
System:
NodeJS : v14.17.5 (/Users/denis/.nvm/versions/node/v14.17.5/bin/node)
npm : 6.14.15
OS : macOS Big Sur
Other Information: Java version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment Homebrew (build 16.0.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 16.0.1+0, mixed mode, sharing)
I solved the issue. I uploaded a package in Android Studio "Android SDK Command-line Tools"
Also, the Gradle should be updated though the Upgrade Assistant in Android Studio