Some further information:
**Unity queries HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot several times. **
7:12:09.9065099 PM Unity.exe 3220 RegQueryValue HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot SUCCESS Type: REG_SZ, Length: 102, Data: C:/Program Files (x86)/Android/android-sdk-windows
7:12:09.9066800 PM Unity.exe 3220 RegQueryValue HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot SUCCESS Type: REG_SZ, Length: 102, Data: C:/Program Files (x86)/Android/android-sdk-windows
7:12:09.9069604 PM Unity.exe 3220 RegQueryValue HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot SUCCESS Type: REG_SZ, Length: 102, Data: C:/Program Files (x86)/Android/android-sdk-windows
7:12:09.9070935 PM Unity.exe 3220 RegQueryValue HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot SUCCESS Type: REG_SZ, Length: 102, Data: C:/Program Files (x86)/Android/android-sdk-windows
7:12:09.9072746 PM Unity.exe 3220 RegCloseKey HKCU\Software\Unity Technologies\Unity Editor 3.x SUCCESS
7:12:09.9074849 PM Unity.exe 3220 RegQueryKey HKCU SUCCESS Query: HandleTags, HandleTags: 0x0
7:12:09.9076330 PM Unity.exe 3220 RegCreateKey HKCU\Software\Unity Technologies\Unity Editor 3.x SUCCESS Desired Access: Maximum Allowed, Granted Access: All Access
7:12:09.9077756 PM Unity.exe 3220 RegSetInfoKey HKCU\Software\Unity Technologies\Unity Editor 3.x SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:09.9078992 PM Unity.exe 3220 RegQueryKey HKCU\Software\Unity Technologies\Unity Editor 3.x SUCCESS Query: HandleTags, HandleTags: 0x400
Unity then Clears the AndroidSdkRoot registry key:
7:12:09.9083214 PM Unity.exe 3220 RegSetValue HKCU\Software\Unity Technologies\Unity Editor 3.x\AndroidSdkRoot SUCCESS Type: REG_SZ, Length: 2, Data:
7:12:09.9086026 PM Unity.exe 3220 RegCloseKey HKCU\Software\Unity Technologies\Unity Editor 3.x SUCCESS
It apparently tries to look up something related to java and fails:
7:12:10.1671366 PM Unity.exe 3220 RegOpenKey HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\Image File Execution Options\java.exe NAME NOT FOUND Desired Access: Query Value, Enumerate Sub
Keys
Apparently, it still executes java.exe:
7:12:10.1711968 PM Unity.exe 3220 Process Create C:\Program Files (x86)\Java\jdk1.6.0_24\bin\java.exe SUCCESS PID: 3328, Command line: “C:\Program Files (x86)\Java\jdk1.6.0_24\bin\java.exe” -Dcom.android.sdkmanager.toolsdir=“C:/Program Files (x86)/Android/android-sdk-windows\tools” -classpath “C:/Program Files (x86)/Android/android-sdk-windows\tools\lib\sdkmanager.jar” com.android.sdkmanager.Main list targets
7:12:10.1721822 PM Unity.exe 3220 Load Image C:\Program Files (x86)\Java\jdk1.6.0_24\bin\java.exe SUCCESS Image Base: 0x9d00000, Image Size: 0x24000
7:12:10.1750862 PM Unity.exe 3220 RegOpenKey HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders SUCCESS Desired Access: Query Value
7:12:10.1752713 PM Unity.exe 3220 RegSetInfoKey HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:10.1753721 PM Unity.exe 3220 RegQueryValue HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache SUCCESS Type: REG_SZ, Length: 146, Data: C:\Users\icarus\AppData\Local\Microsoft\Windows\Temporary Internet Files
7:12:10.1755335 PM Unity.exe 3220 RegCloseKey HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders SUCCESS
7:12:10.1756698 PM Unity.exe 3220 RegOpenKey HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers SUCCESS Desired Access: Read
7:12:10.1758628 PM Unity.exe 3220 RegSetInfoKey HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags\Layers SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
It gets an error trying to read something related to java again. It keeps trying to read this key several times and then a bunch of threads exit.
7:12:10.1759793 PM Unity.exe 3220 RegQueryValue HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags\Layers\C:\Program Files (x86)\Java\jdk1.6.0_24\bin\java.exe NAME NOT FOUND Length: 1,024
7:12:10.1761117 PM Unity.exe 3220 RegCloseKey HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags\Layers SUCCESS
7:12:10.1762747 PM Unity.exe 3220 RegOpenKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers SUCCESS Desired Access: Read
7:12:10.1764094 PM Unity.exe 3220 RegSetInfoKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:10.1765086 PM Unity.exe 3220 RegQueryValue HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\C:\Program Files (x86)\Java\jdk1.6.0_24\bin\java.exe NAME NOT FOUND Length: 1,024
7:12:10.1766315 PM Unity.exe 3220 RegCloseKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers SUCCESS
7:12:10.1767599 PM Unity.exe 3220 RegOpenKey HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Custom\java.exe NAME NOT FOUND Desired Access: Read
7:12:10.2026352 PM Unity.exe 3220 RegOpenKey HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags SUCCESS Desired Access: Read
7:12:10.2028148 PM Unity.exe 3220 RegSetInfoKey HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:10.2029116 PM Unity.exe 3220 RegQueryValue HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags{22624cac-fe50-451e-9261-e7f22aab93ec} NAME NOT FOUND Length: 1,024
7:12:10.2030180 PM Unity.exe 3220 RegCloseKey HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\AppCompatFlags SUCCESS
7:12:10.2031834 PM Unity.exe 3220 RegOpenKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags SUCCESS Desired Access: Read
7:12:10.2033385 PM Unity.exe 3220 RegSetInfoKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:10.2034331 PM Unity.exe 3220 RegQueryValue HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags{22624cac-fe50-451e-9261-e7f22aab93ec} NAME NOT FOUND Length: 1,024
7:12:10.2035323 PM Unity.exe 3220 RegCloseKey HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags SUCCESS
7:12:10.2234082 PM Unity.exe 3220 RegOpenKey HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide SUCCESS Desired Access: Read
7:12:10.2236004 PM Unity.exe 3220 RegSetInfoKey HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
7:12:10.2236980 PM Unity.exe 3220 RegQueryValue HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest NAME NOT FOUND Length: 20
7:12:10.2238193 PM Unity.exe 3220 RegCloseKey HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide SUCCESS
7:12:38.6316191 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 4356, User Time: 0.0936006, Kernel Time: 0.0780005
7:12:38.8576373 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 3676, User Time: 0.0000000, Kernel Time: 0.0000000
7:12:42.6823599 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 3508, User Time: 0.0156001, Kernel Time: 0.0000000
7:12:42.6875339 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 3696, User Time: 0.0312002, Kernel Time: 0.0000000
7:13:16.8925412 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 328, User Time: 0.0312002, Kernel Time: 0.0156001
7:13:26.0061020 PM Unity.exe 3220 Thread Create SUCCESS Thread ID: 3816
7:14:33.0127095 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 2776, User Time: 0.0156001, Kernel Time: 0.0156001
7:16:04.7631246 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 664, User Time: 0.0000000, Kernel Time: 0.0000000
7:17:30.9541640 PM Unity.exe 3220 Thread Create SUCCESS Thread ID: 5684
7:18:37.9570948 PM Unity.exe 3220 Thread Exit SUCCESS Thread ID: 3816, User Time: 0.0000000, Kernel Time: 0.0000000
So, maybe this is something related to the configuration of Java? this is the version of java I have installed:
java -version
java version “1.6.0_21”
Java™ SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot™ 64-Bit Server VM (build 17.0-b17, mixed mode)