Open DNS opened 6 years ago
Ok, I found the solution.
org.eclipse.jgit need Git dependency. So I install Git and make "git.exe" available from %PATH%.
It's obviously a bug for windows users, because they don't have Git pre-installed and Defold don't ship with Git binary.
Hi @dns! Thanks for researching on your own! Do I understand correctly if this happens because JGit does not find a git
, but finds a bash
executable on your system, and that bash
is misbehaving?
We will discuss how to handle this, but it's great you found a workaround!
JGit only need git.exe available from system environment path. It doesn't need a bash.
From command prompt, type:
D:>echo %PATH%
Output:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\BIN\Perl64\site\bin;D:\BIN\Perl64\bin;D:\BIN\Python27\;D:\BIN\Python27\Scripts;D:\BIN\Python36\Scripts\;D:\BIN\Python36\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\CMake\bin;D:\BIN;D:\BIN\wget;D:\BIN\dex2jar-0.0.9.9;D:\SOFTWARE\Tools\SysinternalsSuite-05-16-2017;D:\BIN\android-sdk\platform-tools;D:\BIN\android-ndk-r12;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;d:\Program Files\Git\cmd;D:\Program Files\TortoiseGit\bin;D:\Program Files\TortoiseHg\;D:\BIN\Ruby25\bin;C:\Users\dns\AppData\Local\Microsoft\WindowsApps;d:\Program Files (x86)\Nmap
If git.exe is not available on one of these directory, Defold will stuck forever after "Loading resource" / Creating a new project. And only showing White screen.
Loading resource stuck forever (after I create new empty project). It only show white screen with window title “Defold Editor 2.0 (Not Responding)”.
Specification: Latest Defold 64-bit Windows 10 (64-bit), 1703 AMD Phenom X6 1090T, 8GB RAM AMD Radeon RX 470 8GB, Adrenalin 18.1.1
I tried to run Defold by using running the .jar with java -jar from command prompt:
And it's stuck here:
The complete error log: