Posts

Showing posts from February, 2011

Download Android SDK standalone for offline installation

Update :- SDK for Android version (6.0) added ! How to install Android SDK without internet connection I searched all over the internet and found no posts like this, hence I'm making one hoping it would be helpful for a lot of people. The magic URL used to be  - http://dl-ssl.google.com/android/repository/repository.xml  (Outdated) That is the XML file from which the URL for downloading the SDK packages are obtained. Update :- The previous URL is now invalid, the new URL is given below https://dl-ssl.google.com/android/repository/repository-5.xml  (Outdated) Update 4  :- New URL https://dl-ssl.google.com/android/repository/repository-10.xml  (thanks topcoder from comments) Update 5  :- New URL https://dl-ssl.google.com/android/repository/repository-12.xml For e.g. if you want to download Android SDK for version 4.0.3 for all platforms, you could look up that XML file. You will find a block under tag SDK 4.0.3 like this <sdk:arch...

Pointer not declared even when declared !

Image
A Strange problem encountered yesterday which left us puzzled for a few mins :) (Check image below) So now, we tried everything possible. Until at last when we saw that there was a backslash after "Plist" in the comment line. As backslash is an escape sequence, it made the whole next line invalid, more like a comment. Once we deleted that backslash, things were back to normal. But hey, aren't comments supposed to suppress anything in them including escape characters

How to ignore build directory in SVN from command line

This works for Windows/Mac/Linux, but its tested on Mac. On Windows, you can do it easily with Free TortoiseSVN Shell context menu, so this method will be useful on Mac/Linux. Lets suppose your folder structure is SVNfolder->trunk->development->Projectfolder->build Now open terminal and cd to development. (Now if you 'ls' it wil' list Projectfolder) type svn propset svn:ignore "build" Projectfolder/  and press Enter. and that is it, your build folder will be ignored.