@titikshadaga wrote:
I wanted to open the default maps app for any device. After installing the plugin i m getting the following error :
/home/power/Ionic_Projects/UrMuv/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.What went wrong: A problem occurred configuring root project 'android'. Could not resolve all dependencies for configuration ':_debugApkCopy'. Could not resolve com.squareup.okhttp3:okhttp:3+. Required by: project : > Could not resolve com.squareup.okhttp3:okhttp:3+. > Failed to list versions for com.squareup.okhttp3:okhttp. > Unable to load Maven meta-data from https://jcenter.bintray.com/com/squareup/okhttp3/okhttp/maven-metadata.xml. > Could not GET 'https://jcenter.bintray.com/com/squareup/okhttp3/okhttp/maven-metadata.xml'. > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/35.161.20.85, jcenter.bintray.com/52.34.155.241] failed: Connection refused (Connection refused) > Could not resolve com.squareup.okhttp3:okhttp:3+. > Failed to list versions for com.squareup.okhttp3:okhttp. > Unable to load Maven meta-data from https://maven.google.com/com/squareup/okhttp3/okhttp/maven-metadata.xml. > Could not GET 'https://maven.google.com/com/squareup/okhttp3/okhttp/maven-metadata.xml'. > Connect to maven.google.com:443 [maven.google.com/216.58.196.99] failed: Connection refused (Connection refused) Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[ERROR] An error occurred while running cordova run android --device (exit code
1).
Posts: 1
Participants: 1