2012-09-25 37 views
0

我是一個完整的初學者,如果有人能幫助我,我真的很感激。無法在Windows 7中使用來自Adobe Air SDK的adt,adl命令

我剛剛在Windows 7 64位版本中安裝了Adobe AIR運行時和Adobe Air SDK。

根據'Adobe Air for Dummies'和其他關於安裝SDK的各種文章的指示,我通過'系統屬性'設置了我的C:\airsdk\bin的路徑。

幾個是我作爲參考: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-71994050128cca87097-8000.html#WS2d929364fa0b8137-78b25bdf12a498897d1-7fffAdt, Adl command is not getting recognized by windows

當我輸入set path在CMD,它列出所有的路徑,我可以看到...; C:\airsdk\bin清楚列出。

但是,當我在cmd處輸入adt -version進行檢查時,它給出'adt' is not recognized as an internal or external command, operable program or batch file.如果我按照'Adobe Air for Dummies'輸入adt,那也是一樣。

我重新啓動了我的電腦;在環境變量, 化妝路徑直接C:\airsdk\bin\adt.batC:\airsdk\bin\adl.exe 做別的地方去另一個airsdk文件夾和鏈接路徑到這個新airsdk的bin文件夾, 創建「新系統變量」按http://www.youtube.com/watch?v=kRVSMJFTx94&feature=relmfuC:\airsdk\bin\adl.exe變量名:airsdk,變量值) ;沒有用。 它仍然是'adt' is not recognized as an internal or external command, operable program or batch file.

我已經沒有什麼東西和想法可以嘗試了,我迫切需要使用Adobe Air。所以,請,如果有人有任何想法,我可以嘗試,讓我知道。

回答

2
Variable name: airsdk, Variable Value: C:\airsdk\bin\adl.exe 

當然ADT或ADL不會被認可,你命名了變量「airsdk」 :)嘗試輸入

airsdk -help 

,並應提出來供adl.exe幫助(因爲這是你的價值指向)。最簡單的方法,但是,我將列出一些簡單和容易遵循的步驟:

- Click start > right-click Computer > Properties > Advanced system settings 
    - In System Variables, scroll down to the one named "Path" and click "edit" 
    - bring your cursor to the end of the variable value (it should end with a ;) 
    - Add the path to the bin folder of the Air SDK. (in your case C:\airsdk\bin) 
    - click ok, ok, then voila! no need to even restart. 

我不知道你在您的文章,你試過這樣的第一mentionned,因爲這是它在「Adobe表示爲傻瓜「,但如果你遵循這些確切的步驟,你應該沒有問題。

如果不是這樣,請留下評論,我會再看一次。

+0

它適合我。謝謝。 – StreetCoder