download android source code under crossing GFW via ssh
- ssh -D port user@server
- export SOCKS_PROXY="server:port"
- apt-get install tsocks
- tsocks -on
-
$ repo init -u https://android.googlesource.com/platform/manifest
- repo sync
just tried my first android program...
i don't like android. at least don't like it too much. unfortunately (or fortunately?) I got a G3 (HTC hero) this weekend. I try to use it and feel not good for its UX design. too much worksapces on screen and not fancy UI.
And, when I plugged it on my notebook I found I need to install an "ADB" driver for it. I don't know what ADB is and why I need it. Just google ADB and found seems like something related to debug purpose. I don't need debug it. But following ADB link I read part developer guide, SDK installation.
OK, it kills my a whole afternoon to download, install, run it.
At last, I got my first Hello World android program runs on my G3...
Many confusing error message in this procedure. I don't think it's comfortable for a fresh new Android developer like me.