iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 29
0
Software Development

軟體工程範疇系列 第 29

開發環境建置(九)

沒想到我的Step by Step的學習速度竟然讓鐵人賽快要接近尾聲了,我的設定卻還沒有結束呢?既然這樣,那就。。。讓我們繼續來設定吧~

今天就來檢查在本機系統裡的註冊機碼裡Android SDK的機碼是否真的存在。這個步驟可以的話最好是不要省略,因為要是沒有這個檢查的步驟,可能會讓Xamarin.Android的專案無法在Visual Studio Emulator for Android的模擬器上來執行。

請使用右鍵點擊左下角的「視窗圖示」,然後選取「執行」,

https://ithelp.ithome.com.tw/upload/images/20181113/20110334AkwHxjGyDg.png

在空白的文字框內輸入「Regedit 」,輸入完成以後按下確定。

https://ithelp.ithome.com.tw/upload/images/20181113/20110334nTLCmZ3Bqr.png

接著就會出現「登錄編輯程式」,

https://ithelp.ithome.com.tw/upload/images/20181113/20110334q82cAyhiE7.png

請依照這個路徑「HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node」,依序點擊下拉的目錄,來檢查機碼是否存在。

https://ithelp.ithome.com.tw/upload/images/20181113/20110334GEDkoTUlsz.png

要是沒有的話,請使用滑鼠右鍵點擊WOW6432Node資料夾,下拉選擇新增並點選機碼。

https://ithelp.ithome.com.tw/upload/images/20181113/20110334Mwu02duYf3.png

在新機碼輸入內Android SDK Tools,

https://ithelp.ithome.com.tw/upload/images/20181113/20110334iaN6pJp0g0.png

https://ithelp.ithome.com.tw/upload/images/20181113/2011033451mIs2rI4I.png

再點擊這個資料夾,選擇新增後點擊字串值,

https://ithelp.ithome.com.tw/upload/images/20181113/20110334l3E62Y5lJx.png

輸入Path 這個字串,取代掉剛剛建立的新數值#1文字,

https://ithelp.ithome.com.tw/upload/images/20181113/20110334neNSeHs9UD.png

https://ithelp.ithome.com.tw/upload/images/20181113/20110334zOfhg5JYq0.png

請使用滑鼠雙擊Path項目,出現 編輯字串對話窗後,請在數值資料欄位,輸入底下路徑

https://ithelp.ithome.com.tw/upload/images/20181113/20110334PfBIrWI1aA.png

C:\Program Files (x86)\Android\android-sdk。就可以安心地關閉了。

https://ithelp.ithome.com.tw/upload/images/20181113/20110334RQ4MqbNmvS.png


上一篇
開發環境建置(八)
下一篇
程式設計師之路
系列文
軟體工程範疇30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言