使用cordova build android报错了。如下:
FAILURE: Build failed with an exception.
* 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:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metad ata.xml
https://repo1.maven.org/maven2/com/android/support/support-v4/
https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata .xml
https://jcenter.bintray.com/com/android/support/support-v4/
file:/C:/Users/sinno/Desktop/bookApp/bookApp/platforms/android/libs/
Required by:
:android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug op tion to get more log output.
BUILD FAILED
Total time: 58 mins 1.444 secs
Error: Error code 1 for command: cmd with args: /s,/c,"C:\Users\sinno\Desktop\book App\bookApp\platforms\android\gradlew cdvBuildDebug -b C:\Users\sinno\Desktop\book App\bookApp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useD eprecatedNdk=true"