2014年7月24日

Flash Builder 無法編譯問題Device appears to be offline

Device appears to be offline. restarting the device may fix the problem
挖嘞F什麼鬼問題!!Device appears to be offline明明是連接好好的阿

好巴解決方法是先去官方下載 andorid sdk

然後我用DDMS去檢測硬體把它reset adb他就是online,但回去側他還是offline我猜想是我在windows7灌了最新版本4.4x導致他找不到嗎?
所以我把
\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\android\bin裡面的aapt.exe, adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll, dx.jar五個檔案都把它至換調成andorid sdk最新的檔案就可以編譯了


aapt.exe \adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\
adb.exe \adt-bundle-windows-x86_64-20140702\sdk\platform-tools
AdbWinApi.dll \adt-bundle-windows-x86_64-20140702\sdk\platform-tools
AdbWinUsbApi.dll \adt-bundle-windows-x86_64-20140702\sdk\platform-tools
dx.jar \adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\lib