git checkout -b v34 f556f2ff1b7e45f92e0a3b743af2ec7b7e3dbb6e
git update-index –assume-unchanged nbproject/private/private.xml
To track it again:
git update-index –no-assume-unchanged path/to/file
Just a reminder because it is the less intuitive command ever
git branch -a
git push origin –delete remote_branch
I had some issues when upgrading Java from 1.7 to 1.8 and Android Studio to 2.2. They can be summed up in this list:
– #1 Android Studio not booting because it detected JDK 1.7 instead of recently installed 1.8
I had to edit /home/user/.profile and add the following lines:
– #2 Android Studio not compiling because
Error:Process ‘command ‘/home/olmo/android-studio/jre/bin/java” finished with non-zero exit value 2
Same as before
– #3 Android Studio not compiling my project because of:
android studio unsupported major.minor version 52.0
Had to upgrade build-tools to the last version, which caused error #4.
– #4 Device was not found when running the app (“Nothing to show”).
ADB was not starting. I discovered that by clicking on “Android monitor” to see logcat, and adb was returning an error.
This issue was caused because my system is ubuntu 32-bit.
I had to downgrade platform-tools folder to v23.0.1. See
After downloading the folder in the link, and replacing my /home/user/android-sdk/platform-tools for this one, apps are launching succesfully in my Android device
Hope it saves several hours to somebody else🙂
%1$d %% remaining\nPlease Charge device
Note the double % when
More info on this SO question
1.- In your /home/user/.gradle/gradle.properties file:
It will be automatically enabled in a few hours, or you can enable it now by stopping the existing daemons:
Finally changed the hard drive to an SSD Crucial MX200. Am very happy with the boot time:
22 secs from power button tap to usable desktop
15 secs from first “HP” splash to usable desktop
[Ubuntu 14.04 + Android Studio]
9 seconds to first window (gradle has to load project)
19 seconds from desktop to code that is already writable (gradle config… everything done)