mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 918 forks source link

Build Error: Could not find com.android.volley:volley:1.1.1. #2921

Open kenfouo opened 1 year ago

kenfouo commented 1 year ago

Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.android.volley:volley:1.1.1. Searched in the following locations:

System : Windows Server 2019 Platform: Android SDK 33 Cordova Version : 12.0.0

MiguelCarrera8 commented 1 month ago

ERROR :

com.android.volley:volley

Dir cordova-plugin-googlemaps/src/android/frameworks

Files .gradle

In dependencies add :

implementation 'com.android.volley:volley:1.2.0'

kenfouo commented 1 month ago

Solution: 1- download the plugin 2-in the path "cordova-plugin-googlemaps\src\android\frameworks\tbxml-android.gradle", replace implementation(name:'tbxml-android', ext:'aar') by `implementation(name:'tbxml-android', ext:'aar'){ exclude group: 'com.android.volley' }

implementation 'com.android.volley:volley:1.2.0'`

GitToTheHub commented 4 weeks ago

Thank you, I made a PR for it: #2940