Category «Android-studio»

How to use VectorDrawable Android Example

Vector drawable’s saves size of the application. Android uses single version of the SVG (Scalable Vector Graphics) XML image and makes it adjustable to all the resolutions of phone. The advantages of Vector drawable’s are, No need to maintain different resolution of images in multiple resolution folders like LDPI, MDPI, HDPI & XHDPI. keep single svg xml format image …

Redo operation keymap shortcut in Android studio

In Windows for Undo operation Ctrl+z and for Redo Ctrl + y key’s are used. If you are new to Android studio editor, you may feel bit uncomfortable while performing these operations. By default Android studio sets Ctrl+z for Undo and Ctrl+Shift+z for Redo operation. Follow below steps to change the default key settings. File–> settings or Ctrl + Alt …

Android Plugin is too old, please update to more recent version error

On Updating the Android software like play services,build tools etc… Android studio throws “Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable“  error, it is because application requires new version of Gradle to build. To overcome this error, just open the project Build.Gradle file and update dependencies classpath to …

SSD Improves Android Studio Build Speed

Recently i had written post about why Android Studio Gradle Build speed is low, i have windows 8 PC & Macbook pro. In Macbook Pro Android Studio builds much faster but in Windows 8 its too slow. To overcome this problem i have upgraded my Lenovo PC to Solid State drive. Now the speed is amazing. Android …

Android studio Gradle build speed is slow

On triggering Clean–>Rebuild in Android studio, the gradle build system downloads the latest Jar or Lib files from internet, downloading these files based on internet speed. If you enable below options, the gradle reuse the cached jar or lib always & works offline. Update: Simply upgrade to SSD for faster performance, here my new post about how i …

Android Studio SVN configuration

if we try add new dependency jar file in Gradle file, it was not getting synced properly. After observing the log file we found an exception and its related to Android studio SVN. java.io.IOException: Cannot run program “svn”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:261) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:248) at org.jetbrains.idea.svn.commandLine.CommandExecutor.createProcess(CommandExecutor.java:197) at …

Android Studio Emulator not working Solution

Android dropped the complete support of Eclipse and ADT, going forward use Android Studio for apps development purpose. Get Android studio for development purpose now. Installation of Android studio is simple, it comes with a simple exe & just takes while to complete the installation. SDK manager is available with it, so that new version of Android, …