365元做網(wǎng)站網(wǎng)絡(luò)營銷的發(fā)展趨勢
為什么寫這篇文章
安卓十年開發(fā)遇到過得Bug做一個總結(jié),大同小異,總結(jié)教訓(xùn)。
這里存放BUG目錄列表
文章列表 | 內(nèi)容關(guān)鍵字 |
Gradle常見問題及總結(jié) | 包括以下問題:gradle插件與gradle home版本關(guān)系錯誤、Gradle下載太慢、Executionfailed forJetifyTransform:xx.jar 、Failed to transform file ‘xxxxx.jar‘ to match attributes 、Module was compiled with an incompatible version of Kotlin. |
ANR小問題集合 | 包括廣播超時、input event超時等問題、SP超時getString#apply#new超時、Input event dispatching timed out sending to\ANR Warning onLayout time too long問題分析及解決 |
ViewFlipper常見小問題 | 包括與click事件沖突、與Activity生命周期的關(guān)系 |
幀動畫播放出現(xiàn)oom異常分析及解決 | 利用inbitmap,每一幀復(fù)用同一片內(nèi)存區(qū)域節(jié)省內(nèi)存 |
Glide/Picasso常遇到的小問題集合 | 包括了以下小問題You cannot start a load for a destroyed activity、圖片加載異常class com.bumptech.glide.load.engine.GlideException: Failed to load resource、不支持http、保存的圖片自動旋轉(zhuǎn)90°、加載圖片出現(xiàn)黑邊 |
【okhttp】小問題記錄合集 | 包括can’t create native thread、get不支持請求體、urlencode編碼二次的問題The valid characters are defined in RFC 7230 and RFC 3986、 回調(diào)都在子線程、eader不支持中文、java.lang.IllegalArgumentException: Could not locate call adapter for io.reactivex.Observable、SocketTimeoutException或常分析及解決 |
Android 鏈接4G熱點網(wǎng)絡(luò)第一次請求很慢ipv6地址鏈接異常分析及解決 | 自定義dns,使用ipv4地址 |
SUPPLICANT_ERROR——Android Wifi列表頻繁刷新異常 | WiFi列表查詢異常 |
【相機開發(fā)問題總結(jié)】鎖屏下相機資源釋放問題 | |
【相機開發(fā)問題總結(jié)】曝光補償ExposureCompensation未生效異常分析及解決 | |
【相機開發(fā)問題總結(jié)】Caused by: java.lang.RuntimeException: Fail to connect to camera service異常分析及解決 | |
【相機開發(fā)問題總結(jié)】java.lang.RuntimeException: setParameters failed異常分析及解決 | |
【相機開發(fā)問題總結(jié)】后臺恢復(fù)到前臺預(yù)覽界面卡住 | |
【相機開發(fā)問題總結(jié)】小問題集合 | |
adb頻繁重啟問題分析及解決 | |
application多進(jìn)程初始化異常分析及解決 | |
【內(nèi)存泄漏Bug】animation未釋放 | |
【內(nèi)存泄漏Bug】registerReceiver Are you missing a call to unregisterReceiver()異常分析及解決 | |
Rom應(yīng)用開發(fā)遇到得一些小bug |
其他bug
$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams |
java.lang.UnsatisfiedLinkError: dlopen failed: “/lib/arm64/libGlobal.so“ 異常分析及解決 |
java.lang.IllegalArgumentException: PhoneWindow$DecorView not attached to window manager異常分析及解決 |
Only the original thread that created a view hierarchy can touch its views異常分析及解決 |
You must call removeView() on the child‘s parent first.異常分析及解決 |
java.lang.IllegalStateException: closed 異常分析及解決 |
Android android.os.DeadObjectException aidl通信異常分析及解決 |
java.io.IOException: setDataSource failed.: status=0x80000000異常分析及解決 |
java.util.ConcurrentModificationException異常分析及解決 |
Bug快速分析手冊
關(guān)鍵字
搜索 UMCrashHandler、
或搜索 uncaughtException
crashreport
搜索 Exception
搜索 Application Not Response
搜索NetworkOnMainThreadException?
搜索ANR Warning
搜索AnrManager
搜索Anr in
如果能使用adb,增加以下步驟
查看內(nèi)存排序 adb shell dumpsys meminfo
查看cpu和內(nèi)存排序adb shell COLUMNS=512 top?
在anrlog搜索total、memory--查看內(nèi)存相關(guān)