Open grimaldodev opened 7 years ago
have you solved this @ivangrimaldo ?
Noup, I stopped the training, I'm learning Swft 3 instead :P
Failed to find 'android' command in your 'PATH'.
The issue is that Android SDK's tools directory is not in the path. That is what it is complaining about.
@BryanH Why do you believe that the first error is related to or caused by the second?
Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try adding it again. Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
I get the first error all by itself.
This happens to me when I clone from the repo:
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try
adding it again. Error: Failed to fetch plugin cordova-plugin-whitelist@^1.3.4 via registry.
This fixed it:
$ cordova plugin add cordova-plugin-whitelist
$ cordova prepare
Note it doesn't work without running cordova prepare
This happens to me when I clone from the repo:
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-whitelist@^1.3.4 via registry.
This fixed it:
$ cordova plugin add cordova-plugin-whitelist $ cordova prepare
Note it doesn't work without running
cordova prepare
@BrennaEpp Thanks, In my case cordova prepare
did the job.
Reopening - problem still exists
Hi, I'm very new using cordova and ember so I try to follow step by step the "Getting started" guide from you but at the step to generate the cordova-init everything crash. I research for the same scenarios in internet but all of them are related with ios, I want to use as android platform let me show my code:
ember generate cordova-init com.nobs.mobile --platform=android
and then:
Can you help me please?