Posts

Showing posts from January 11, 2019

Gradle sync failed: Unable to start the daemon process with no specific main class defined

Image
0 I'm using android studio 3.2.1 and seeing this error Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/3.3/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error: Could not find or load main class = This started happening all of a sudden and I don't know what changed and how to fix this? android android-studio gradle android-gradle share | improve this question asked Nov 12 '18 at 23:51 ...

Felix Santschi

Image
Felix Santschi (1 December 1872 – 20 November 1940) was a Swiss entomologist known for discovering that ants use the sun as a compass and for describing about 2000 taxa of ants. [1] Santschi is known for his pioneering work on the navigational abilities of ants. In one experiment, he investigated the way harvester ants used the sky to navigate [2] . He found that as long as even a small patch of sky was visible, the ants could return directly to the nest after gathering food. However, when the sky was completely hidden, they lost their sense of direction and began moving haphazardly. Some seventy years later it was shown that ants are guided by the polarization of light. [3] References ^ Wehner, Rüdiger (1990). "On the brink of introducing sensory ecology: Felix Santschi (1872–1940) — Tabib-en-Neml". Behavioral Ecology and Sociobiology . 27 (4): 295–306. doi:10.1007/bf00164903. .mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"...

Gradle - Launch4j - Current Working Directory

Image
0 I am creating an exe file using Launch4j plug-in in Gradle. My intention is to get the directory where I am while executing the exe file that is placed in another directory. For example, the exe file is placed in "C:Utilities" and my current directory is "C:temp". When I execute "C:Utilitiesmy.exe", I would like to get "C:temp" in my main method. I tried this to send the result of %CD% as a system property - createExe { mainClassName = 'com.eldho.mp3tools.Mp3ToolsMain' jvmOptions = ['-Dworking.dir="%CD%"'] } But, it is turning up blank inside my method. I also tried this inside the method - Path currentRelativePath = Paths.get(""); String s = currentRelativePath.toAbsolutePath().toString(); logger.info("Curren...