1 .先安裝 bluestacks 請參照 google 上找到的

我是依照  http://forum.gamer.com.tw/C.php?bsn=23805&snA=152582 此網址安裝的

 

2. 安裝IDE Eclipse + ADT plugin

http://developer.android.com/sdk/index.html#win-bundle

原廠android developer 網站 下載解壓縮,可看到 eclipse + sdk

進入 eclipse 開啟。  選右上方java 旁邊的小框框,開啟選 DDMS

 

Android1     

就可看到  bluestacks 連進來了 。(連接前 下指令 C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>adb connect 127.0.0.1:5555

必定會連上)

2013-12-04_132944      

開啟專案  Andorid 。

layout 的

main.xml

TextView 填入

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="My Hello World Program!"
/>

 

RUN 選 Android APK

2013-12-04_133448    

 

放一張圖於 \res\drawable 內 test.jpg

layout 的

main.xml

<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/test"
/>

android  

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 echochio 的頭像
    echochio

    echochio

    echochio 發表在 痞客邦 留言(0) 人氣()