• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            android 出錯集

            轉載自:http://m.blog.csdn.net/article/details?id=7802403

            問題1.    java.lang.RuntimeException: Failed to register input channel. Check logs for details.

            解決     這個問題應是程序加載(Launcher Pro)  時爆出的,LP是一個主頁替代工具,它在程序加載時,當沒有釋放一些應當釋放的資源就會出現

               理解起來確有深奧之處,此問題沒有真正解決,權當先記下會出現這種情況,備忘


            問題2.   An internal error occurred during: "Launching New_configuration".

                          Path for project must have only one segment.

            解決:     在Eclipse中按照如下操作
                          Project -> Properties -> Run/Debug Settings:
                         1. select "Launching New_configuration"
                         2. Delete
                         3. OK

            問題3.   java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

             分析mInflater.inflate(R.layout.eg_refresh_message, this, false);

             

            問題4.  AndroidRuntime(1925): java.util.MissingFormatArgumentException: Format specifier: 40s

            分析與解決:出現問題的地方 可能為 String m = String.format(msg, args);

            在msg 中出現了%s 通配符,但在args 沒有對應的值來匹配,就會報錯,因此要檢查msg 的內容,看是否出現% 類似的通配符


            問題5.  Activity com.xxx.XxxActivity has leaked windowcom.android.internal.policy.impl.PhoneWindow$DecorView@426f8510 that was originally added here

            分析與解決:

            重寫Activity的onDestroy方法,在方法中調用dismiss來解除對ProgressDialog等的引用。

            可參考以下分析的原因:   http://www.cnblogs.com/royenhome/archive/2011/05/20/2051879.html

            問題6. Installation error: INSTALL_FAILED_UID_CHANGED
            [2014-08-31 10:18:00 - ***********] Please check logcat output for more details.
            [2014-08-31 10:18:00 - ***********] Launch failed on device: 10.1.53.49:5555

            .........

            New package not yet registered with the system. Waiting 3 seconds before next attempt.

            運行程序時出現此錯誤

            可參考以下解決的方法:   Try this Project->Clean in eclipse, and the deploy it again.

            問題7.   在運行Java Web工程時,出現錯誤 java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException

            分析與解決:   出現這種問題是因為jar包不全,應該包含

            commons-beanutils-1.8.3.jar 
            commons-lang-2.5.jar 
            ezmorph-1.0.6.jar 
            json-lib-2.3-jdk15.jar

            commons-logging-1.1.1.jar

            commons-collections 3.2

            問題8.  SDK更新后 運行程序報錯Location of the Android SDK has not been setup in the preferences

            解決方法 :   請參見  http://my.eoe.cn/833563/archive/4239.html

            問題9.  2016-01-06  16:17:36.296: E/AndroidRuntime(10198): java.lang.IllegalStateException: Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS

            解決方法:   出現這個錯誤, 需要重啟模擬器 或者設備

            問題10: 在使用 android-async-http-1.4.9.jar 包時,

            報錯: The type cz.msebera.android.httpclient.HttpResponse cannot be resolved. It is indirectly referenced from required .class files

            解決方法:下載httpclient-4.3.6.jar包, 導進去即可.

            在以下地址下載:http://mvnrepository.com/artifact/cz.msebera.android/httpclient/4.3.6 


            posted on 2016-02-19 15:19 楊粼波 閱讀(343) 評論(0)  編輯 收藏 引用

            久久夜色精品国产噜噜麻豆 | 久久天天躁狠狠躁夜夜躁2014| 久久久久国产精品麻豆AR影院| 欧美粉嫩小泬久久久久久久 | 97精品国产97久久久久久免费| 2020久久精品国产免费| 亚洲国产成人精品91久久久| 99久久99这里只有免费费精品| 久久国产视频99电影| 久久久久久久99精品免费观看| 精品久久久久久久国产潘金莲| 99久久精品国产麻豆| 中文字幕热久久久久久久| 久久精品国产99久久久香蕉| 99久久精品费精品国产一区二区| 久久精品国产男包| 国产毛片欧美毛片久久久 | 91精品国产91热久久久久福利| 亚洲综合精品香蕉久久网| 欧美激情精品久久久久久久九九九| 久久国产精品99国产精| 亚洲国产天堂久久综合| 欧美伊人久久大香线蕉综合69| 丁香五月综合久久激情| 91精品日韩人妻无码久久不卡| 久久精品国产亚洲沈樵| 国产精品一区二区久久| 久久精品国产精品青草| 久久精品国产亚洲一区二区| 中文字幕亚洲综合久久2| 91久久精品电影| 久久久久免费视频| 久久精品三级视频| 亚洲欧美日韩精品久久亚洲区| 香蕉久久夜色精品国产2020| 久久精品国产乱子伦| 无遮挡粉嫩小泬久久久久久久 | 久久久久亚洲AV片无码下载蜜桃| 久久免费的精品国产V∧| 久久久久人妻一区精品色| 精品久久一区二区|