Skocz do zawartości
PL
Szukaj na Pecetowiczu
  • Utwórz konto

Cordova problem przy dodawaniu platformy android


Rekomendowane odpowiedzi
(edytowane)

Witajcie

Otóż próbuje stworzyć apkę za pomocą Cordova oraz PhoneGap. Przy próbie dodania do wymagań pojawia się błąd:
 

Spoiler

E:\PGap\projects\camcom>cordova requirements android
Android Studio project detected

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
cmd: Command failed with exit code 1
Gradle: installed E:\AndroidSDK\gradle\gradle-4.4\bin\gradle
(node:2020) UnhandledPromiseRejectionWarning: CordovaError: Some of requirements check failed
    at C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\src\cli.js:414:27
    at _fulfilled (C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54)
    at C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30
    at Promise.promise.promiseDispatch (C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:749:13)
    at C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:557:44
    at flush (C:\Users\Mativve\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:108:17)
    at process._tickCallback (internal/process/next_tick.js:61:11)
(node:2020) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2020) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

E:\PGap\projects\camcom>

 

Robiłem już research na google lecz nic co znalazłem mi nie pomogło.

Może ktoś miał podobny problem?

Z góry dzieki za pomoc

Edytowane przez Mativve
Odnośnik do komentarza
Udostępnij na innych stronach

Kontynuuj dyskusję

Dołącz do Pecetowicza, aby kontynuować dyskusję w tym wątku.

  • Dodaj nową pozycję...
  • Dodaj nową pozycję...