"http://code.google.com/android/intro/installing.html">ここでは、
Supported Operating Systems が、WindowsXP or Vista になってるけど、Win2000
で試してみたら、全く問題無く実行できたので、メモ。
ここから Eclipse
IDE for Java Developers を落として、適当なフォルダに入れる。(C:\Program
Files\Eclipse に入れた。)
元々、for C/C++ を入れてたけど、そのまま上書きすれば、両方とも使えるようになった。
"http://code.google.com/android/download.html">ここから Platform
Windows のやつを落として、適当なフォルダに入れて、tools フォルダに Path を通す。(C:\Android
に入れたので、C:\Android\tools に path を通した。)
"http://code.google.com/android/intro/installing.html">ここを見ながら、
適当にインストールする。
・Help→Software Updates→Find and Install...→Search for new
features to install→New Remote Site→Android Plugin と
"https://dl-ssl.google.com/android/eclipse/">https://dl-ssl.google.com/android/eclipse/
を入れて OK。(この時、Proxy 使う場合は、Window→Preferences...→General→Network
Connectioins で、proxy server 名を入れておく。http:// を外して入力しておく。http://
が付いてると、串通してくれない。)
・Updates ダイアログが開くので、Android Plugin にチェック→Next→I accept the terms
in the license agreement→Finish→Install
・Window→Preferences...→Android→SDK のパスを入れる(C:\Android を入れた)
あとは、
"http://code.google.com/android/intro/hello-android.html">ここを見ながら、
適当に作るだけ。
・File→New→Project...→Android Project→TestAndroid, Create new
project in workspace, com.google.android.testandroid,
TestAndroid, TestAndroid→Finish
"http://salt.air-nifty.com/salt//media/file_20071114T232508593.jpg"
target="_blank">
height="135"
alt="Android01"
src=
"http://salt.air-nifty.com/salt//media/img_20071114T232506390.png"
width="135" />
・TestAndroid.java の
setContentView(R.layout.main);
の代わりに
android.widget.TextView tv = new
android.widget.TextView(this);
tv.setText("やほ、Android のテストだよん。");
setContentView(tv);
を入れて、Run→Run→Android Application でしばらく待つと、
"http://salt.air-nifty.com/salt//media/file_20071114T232509578.jpg"
target="_blank">
![Android02]()
height="135"
alt="Android02"
src=
"http://salt.air-nifty.com/salt//media/img_20071114T232507875.png"
width="81" />
と出たのでした(^^)v
ということで、Win2000 で全然問題無し!
日本語も普通に使える!
src=
"http://homepage1.nifty.com/salt/images/BlogRanking/banner_04.gif"
border="0" />(←フリーソフトを作るモチベーションアップのために、ぜひ。)
最近のコメント