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
就可看到 bluestacks 連進來了 。(連接前 下指令 C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools>adb connect 127.0.0.1:5555
必定會連上)
開啟專案 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
放一張圖於 \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"
/>