[ 
https://issues.apache.org/jira/browse/CB-12281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexsey updated CB-12281:
-------------------------
    Description: 
Hello!


I created new cordova project and try using plugin cordova-plugin-camera
step by step
0) cordova -v   6.3.1
1) cordova create test05 com.test05.test test05c
2) cd test05
3) cordova platform add android
4) cordova build
Now there are no errors, but if i add plugin "cordova-plugin-camera"
5) cordova plugin add cordova-plugin-camera
i have error when build application
6)cordova build 
now error
>>>>>>>>>>>>>>>>
Error: cmd: 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 ':_debugCompile'.
   > Could not find any matches for com.android.support:support-v4:24.1.1+ as no
 versions of com.android.support:support-v4 are available.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/android/support/support-v4/maven-met
adata.xml
         https://repo1.maven.org/maven2/com/android/support/support-v4/
         https://jcenter.bintray.com/com/android/support/support-v4/maven-metada
ta.xml
         https://jcenter.bintray.com/com/android/support/support-v4/
     Required by:
         :android:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
>>>>>>>>>>>>>>>>

I have
7)cordova requirements android

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed
Android target: installed android-14,android-15,android-16,android-17,android-22
,android-23,Google Inc.:Google APIs:22,Google Inc.:Google APIs:23
Gradle: installed

and I have in  Android SDK
Android Support Library rev 23.1.1
Android Support Repository rev 41
Google Repository rev 41

  was:
Hello!


I created new cordova project and try using plugin cordova-plugin-camera
step by step
0) cordova -v   6.3.1
1) cordova create test05 com.test05.test test05c
2) cd test05
3) cordova platform add android
4) cordova build
Now there are no errors, but if i add plugin "cordova-plugin-camera"
5) cordova plugin add cordova-plugin-camera
i have error when build application
6)cordova build 
now error
>>>>>>>>>>>>>>>>
Error: cmd: 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 ':_debugCompile'.
   > Could not find any matches for com.android.support:support-v4:24.1.1+ as no
 versions of com.android.support:support-v4 are available.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/android/support/support-v4/maven-met
adata.xml
         https://repo1.maven.org/maven2/com/android/support/support-v4/
         https://jcenter.bintray.com/com/android/support/support-v4/maven-metada
ta.xml
         https://jcenter.bintray.com/com/android/support/support-v4/
     Required by:
         :android:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
>>>>>>>>>>>>>>>>

I have
7)cordova requirements android

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed
Android target: installed android-14,android-15,android-16,android-17,android-22
,android-23,Google Inc.:Google APIs:22,Google Inc.:Google APIs:23
Gradle: installed


> bug with plugin cordova-plugin-camera
> -------------------------------------
>
>                 Key: CB-12281
>                 URL: https://issues.apache.org/jira/browse/CB-12281
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: AllPlugins
>         Environment: windows 7
>            Reporter: Alexsey
>
> Hello!
> I created new cordova project and try using plugin cordova-plugin-camera
> step by step
> 0) cordova -v   6.3.1
> 1) cordova create test05 com.test05.test test05c
> 2) cd test05
> 3) cordova platform add android
> 4) cordova build
> Now there are no errors, but if i add plugin "cordova-plugin-camera"
> 5) cordova plugin add cordova-plugin-camera
> i have error when build application
> 6)cordova build 
> now error
> >>>>>>>>>>>>>>>>
> Error: cmd: 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 ':_debugCompile'.
>    > Could not find any matches for com.android.support:support-v4:24.1.1+ as 
> no
>  versions of com.android.support:support-v4 are available.
>      Searched in the following locations:
>          
> https://repo1.maven.org/maven2/com/android/support/support-v4/maven-met
> adata.xml
>          https://repo1.maven.org/maven2/com/android/support/support-v4/
>          
> https://jcenter.bintray.com/com/android/support/support-v4/maven-metada
> ta.xml
>          https://jcenter.bintray.com/com/android/support/support-v4/
>      Required by:
>          :android:unspecified
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug
> option to get more log output.
> >>>>>>>>>>>>>>>>
> I have
> 7)cordova requirements android
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed
> Android target: installed 
> android-14,android-15,android-16,android-17,android-22
> ,android-23,Google Inc.:Google APIs:22,Google Inc.:Google APIs:23
> Gradle: installed
> and I have in  Android SDK
> Android Support Library rev 23.1.1
> Android Support Repository rev 41
> Google Repository rev 41



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to