標籤:iosiOS 環境下,連結某個靜態庫(.a檔案)時,Xcode 會出現連結錯誤:xxx file was built for archive which is not the architecture being linked (i386)這是因為靜態庫是為iOS 環境編譯的,並不能在模擬器環境下使用,只要將Build 目標改成裝置即可。如果是:ld: warning: ignoring file ./libsasl2.a, file was built for archive
標籤:android service 生命週期 非綁定式建立 Android的Service若使用非綁定式的建立,則建立後將無法再與它取得聯絡,即無法傳遞訊息參數等;所以如果希望建立後仍然與其存在聯絡,那麼可以參考我的前幾篇部落格《Android:Service的綁定和解除綁定定,Service與Activity通訊》,其中講到了Service的綁定和與Acti
標籤:原文網址:http://blog.csdn.net/leonan/article/details/8629561全編andorid後,單獨修改編譯一個framwork模組,make snod會有如下警示資訊:Warning: with dexpreopt enabled, you may need a full rebuild使用這樣make snod 出來的鏡像,核心不能啟動,模擬器一直停留在“android”標誌狀態。查看log發現有如下錯誤列印:DexOpt:
標籤:原文網址:http://www.360doc.com/content/15/0314/23/1709014_455175716.shtml Android Building System 總結 收藏 花了一個月的時間來看Android Make,在網上總是看到某某大蝦說一天就把Android Make overview了一下,不得不感歎現在大蝦的強大和咱那連蝸牛都可以鄙視一下的進度。不過總算是徹底看清的Android
標籤:ViewGroup.measureChildren()ViewGroup.measureChild()ViewGroup.measureChildWithMargins() /** * Ask one of the children of this view to measure itself, taking into * account both the MeasureSpec requirements for this view and its padding