標籤: 最近在研究webservice,利用jdk來實現簡單的webservice發布,但是運行時卻發生了這樣的異常,如下:Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class webservice.jaxws.SayHi is not found. Have you run APT to generate
標籤:listview點擊失效,原因可能是item布局中存在Button,該Button奪取了焦點。解決辦法:1,在xml布局中,為Button添加android:focusable="false"2,在item布局的根據點添加android:descendantFocusability="blocksDescendants"Defines the relationship between the ViewGroup and its descendants when looking for a
標籤:ios開發The difference is that an object will be deallocated as soon as there are no strong pointers to it. Even if weak pointers point to it, once the last strong pointer is gone, the object will be deallocated, and all remaining weak
標籤:當我們的項目代碼過大時,編譯運行時會報Unable to execute dex: method ID not in[0, 0xffff]: 65536)錯誤。當出現這個錯誤時說明你本身自己的工程代碼中含有的太多的方法,或者你的工程lib檔案夾下引用的第三方外掛程式jar包有太多的方法,這兩者的方法加起來已經超過了65536這個數目。而Google規定單個dex檔案中的方法不能超過65536的限制。
標籤:最近在研究coredata,按照例子敲了一遍發現例子可以運行,但是運行報錯,Failed to initialize the application‘s saved data,還有就是什麼sqlite路徑錯誤,反正報錯可長可多,明明代碼一樣的這是什麼錯誤呢,我的理解是例子已經建立了那個名字的coredata,在建立會有衝突,這時在模擬器上把應用刪除一下,再次運行就可以了coredata Failed to initialize the application's saved