You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/03/14 23:43:36 UTC

[GitHub] infil00p closed pull request #266: solution error: Build failed with an exception

infil00p closed pull request #266: solution error: Build failed with an exception
URL: https://github.com/apache/cordova-plugin-camera/pull/266
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/README.md b/README.md
index 436eefd6..7f1ced1b 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,28 @@ It is also possible to install via repo url directly ( unstable )
 
     cordova plugin add https://github.com/apache/cordova-plugin-camera.git
 
+## FAILURE: Build failed with an exception.
+
+If it shows the error:
+
+```
+* What went wrong:
+A problem occurred configuring root project 'android'.
+> Could not resolve all dependencies for configuration ':_debugCompile'.
+   > Could not find any version that matches com.android.support:support-v4:24.1.1+.
+     Searched in the following locations:
+         https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
+
+         https://repo1.maven.org/maven2/com/android/support/support-v4/
+     Required by:
+         :android:unspecified
+
+```
+
+Run the command on the console.
+
+`android.bat update sdk --no-ui --all --filter "extra-android-m2repository"`
+
 
 ## How to Contribute
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org