Monday, September 19, 2016

Enable thumbnail preview in Windows 10

By default "Always show icons, never thumbnails" option would be enabled in Windows 10. Just follow these two steps to change that setting.

1. Go to windows explorer and click on "Options"




2. Uncheck the "Always show icons, never thumbnails" option


That's it just click on OK and you should be able to see the thumbnail of images.

Monday, September 12, 2016

To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB

Warning / Error: To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB

Solution which worked for me:

Android Studio 2.1.* has a feature named Dex In Process. To make use of it we need to update our gradle.properties file and increase the amount of memory allocated to the Gradle Daemon VM to a minimum of 2 GB.

So just added the below line in my project gradle.properties

org.gradle.jvmargs=-Xmx2048m