Problems in making android build in Cordova

Asked

Viewed 164 times

-1

Failed to restore plugin "cordova-plugin-file-transfer" from config.xml. You might need to try adding it again. Error: Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.

It also says that the SDK was not found, but it is in the environment variables. Moreover it does not find the JDK.

I’ve never used Cordova, and I need to build a build for version 5.1 of android

inserir a descrição da imagem aqui

Ele dá o seguinte erro.

  • But, vc have the Android SDK installed on the machine?

  • Yes, I think so, just set the system variables, correct? (I started with android a little while ago) I have JDK and it also can’t find

  • No, you have to download the SDK, I advise you to download Android Studio that already presets almost everything. Cordova is a lot more complicated than you think.

  • So, I have Android Studio and even I’ve made a mini application in it, I’m really not sure what happens.

1 answer

0


Problem solved, I had to downgrade the JDK and SDK to work. However, another problem persists:

PS C: Users felsilva Desktop backup Cordova gps> Cordova build android Cannot read Property '1' of null

Browser other questions tagged

You are not signed in. Login or sign up in order to post.