I receive error
Exception (VBoxManage): java.io.IOException: Cannot run program "C:\Program Files\Genymobile/reg": CreateProcess error=2, The system cannot find the file specified
when I try to run genymotion eclipse plugin. What is wrong? I am using x64 windows 8.1
You will need to set the correct path to Genymotion installation directory on eclipse.
The default path on windows is C:\Program Files\Genymobile\Genymotion
Have a look at Genymotion eclipse plugin guide:
https://cloud.genymotion.com/page/doc/#collapse8
Change the folder name, run again the launcher in eclipse and select the real folder, in my case "C:\Program Files\Genymobile\Genymotion"
The problem is space in "C:\Program Files\Genymobile". I would try to use "C:\Progra~1\Genymobile/reg" path if it can be configured. Another option is to move to location w/o space in path.
I was getting same error.
I was getting the wrong folder, its not only .../Genymobile . Its is ...Genymobile/Genymotion
I had this problem because I didn't first download and install Genymotion. I just installed the plugin from the Eclipse installation window and expected it to work. Dumb me.
I was get the same error. The directory of genymotion is
C:\Program Files\Genymobile\Genymotion/reg
not C:\Program Files\Genymobile/reg.
You can copy all files from C:\Program Files\Genymobile\Genymotion\ to C:\Program Files\Genymobile
Then it works well.
It seems like this error is caused by invalid path to Genymotion, but actually it is caused by a bug that does not let Genymotion plugin work with VirtualBox later than 4.2
To fix this error all you need to do is go here:
https://www.virtualbox.org/wiki/Download_Old_Builds_4_2
and download the 4.2 version of VirtualBox for your OS. Once you reinstall it - the error is gone and Genymotion plugin opens device list properly
Related
I installed PyCharm before to learn Python, after that I installed Eclipse to learn JAVA too. By the way, now I have no problem lauching Eclipse, but when I launch PyCharm, I see the error message as below:
Failed to load JVM DLL C:\Program Files\Java\jdk-9.0.1\bin\server\jvm.dll
If you already have a 32-bit JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.
How can I launch PyCharm?
For Windows 10, try running as an administrator.
Try to delete the following file:
C:\Users\'your user'\AppData\Roaming\JetBrains\
and then you can launch PyCharm as the first time you start.
While am debug my solution in Visual Studio 2015 Cordova this issue occured The command "platforms\android\cordova\clean.bat" exited with code 2.
In Visual Studio 2015, Menu: Tools => Options => Tools for Apache Cordova => Environment Variable Overrides set the correct ADT_HOME and JAVA_HOME.
Also Clean Cordova cache from the Cordova Tools. Then open and debug your project.
I ended in a similar issue when I installed the VS.Net2015 and tried to create a blank Cordova project and compile. I did try a lot of different things including reinstalling Android Studio and VS but none helped.
Finally what it boiled down to was that I had a 64Bit OS an installed a 32bit JDK which somehow didn't work well together. Downloaded the 64Bit JDK and corrected the Path in visual studio and now its working.
Regards
Kiran
I got the solution to it and fixed my issue.
Problem is you got set the Enviromnent path in your system properly
1 . Make sure you install JAVA and ANT
2 . Make sure you set the JAVA_HOME AND ANT_HOME along with the updated PATH in the System variable.
Restart your studio. this issue would be gone. njoy. :)
I got the same issue and resolved it today as follows:
Check cmd > java -d64 -version - JVM had error
Installed Java from java.com/en/download
Restarted PC
Check cmd > java -d64 -version - no error
Delete ..\bin\platforms\android folder {android was the platform for which I had the issue}
Clean Solution & Build Solution
Successfully deployed to Device now!
That error message unfortunately isn't very helpful. When I ran into this error, I was able to get more information by simply running that clean.bat file in a command prompt so I could see the actual error message. The path to the bat file is in the error message: "platforms\android\cordova\clean.bat".
For me it was simply that the path to my keystore file was incorrect in my build.json file. After I fixed that the clean worked fine.
I have installed eclipse plugin for genymotion.
OS:ubuntu 14.04LTS
Ram:4Gb
processor:i5 3rd gen intel
When I try to launch Genymotion, it doesn't start:
Run Genymotion wizard: failed: java.io.IOException: Cannot run program
"/home/vishal/adt-bundle-linux-x86-20131030/sdk//genymotion": error=2,
No such file or directory
Can any one tell me how to find this directory?
this is the issue of plugin and old virtual box at that time after then i just uninstall old virtual box.
and download new virtual box in Ubuntu by terminal.
its work.
I'm using a BAT file to execute the following command to install my INF file to another computer:
devcon dp_add "linux-cdc-acm.inf"
It works fine with Win7 x64 but it fails in Win8 x64. The error message is:
Adding the specified driver package to machine failed. devcon failed.
I assume the INF file is correct as I can install it manually via the DeviceManager and there is no new entry on [%windir%\inf\setupapi.dev.log]. Is there another way to install INF files to the driver store for Win8?
And another thing, is using devcon really the normal and correct way in installing INF files to client computers?
EDIT:
I got the devcon source from WDK, debugged it and found that I am getting a [ERROR_ACCESS_DENIED]. Is this failing because of the settings in Win8? What are ways to overcome this?
It seems the batch file or devcon just needed to be "run as administrator" in win8.
and test signing the catalog file for the INF file was also needed.
Alternatively for future reference, I was able to use WiX and DIFxApp to create a .msi installer that installs linux-cdc-acm.inf and linux.inf (RNDIS) gadget drivers. https://github.com/ambrice/linux-gadget
Haven't been able to figure out how to create a 32 bit version from my 64 bit dev box yet, even though there's no binaries..
I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde