Error Cordova / Phonegap - Unable to start the daemon process

2

I created a new cordova project and I added the android platform normally as I had done before, but when I run the command cordova build or cordova run it can not find the solution.

Does anyone know what I should do?

    
asked by anonymous 02.10.2015 / 19:48

3 answers

1

I was able to solve the problem by simply updating the SDK and it worked again, thanks for the help guys.

    
02.10.2015 / 20:47
0

If you are trying to run on the android platform, you should have the following environment variables configured on your computer: ANDROID_SDK ANDROID_NDK ANDROID_HOME ANDROID_PLATFORM_TOOLS and also put in PATH

If the variables are configured and still have an error, you can execute the following commands: cordova platform remove android cordova platform add android

    
02.10.2015 / 19:59
0

Well, I do not use Phonegap / Cordova this way, I always try on my emulator myself

  

link

But come on, you can try to exclude your .gradle from

  

C: \ Users \ directory

and try again.

Or:

In Eclipse, go to Windows - > Preferences - > gradle- > arguments. Find JVM Arguments choose "USE:" option and write these arguments -Xms128m -Xmx512m and click Apply.

And finally, this is just a tip, it has nothing to do with the bug, update your Java.

    
02.10.2015 / 20:07