原创 Android Memory Leak檢測上報 背景

背景 之前統計crash信息時統計到的top5的崩潰,OOM導致的崩潰數量排在第二位 Android sdk的OOM崩潰率持續增長,爲了檢測出內存泄漏問題,決定改造下LeakCanary解決目前測試中的幾個痛點。 Memory lea

原创 新概念2.4-an exciting trip

Why is Tim finding this trip exciting? I have just received a letter from my brother,Tim. He is in Australia. He has bee

原创 新概念2.3-please send me a card

how many cards did the writer send? postcards always spoil my holidays. last summer , I went to italy. i visited museums

原创 新概念2.1-a private conversation

why did the writer complain to the people behind him? last week I went to the theater. I had a very good seat. The play

原创 新概念2.2-breakfast or lunch

Why was the writer's aunt surprised? It was Sunday. I never get up early on Sundays. I sometimes stay in bed until lunc

原创 理解Gradle

一、什麼是Gradle 簡單的說,Gradle是一個構建工具,它是用來幫助我們構建app的,構建包括編譯、打包等過程。我們可以爲Gradle指定構建規則,然後它就會根據我們的“命令”自動爲我們構建app。Android Studio中默認就

原创 新概念2.5-No wrong numbers

What does 'no wrong numbers' mean? Mr.James Scott has a garage in Silbury and now he has just bought another garage in P

原创 新概念2.6-Percy Buttons

Who is Percy Buttons? I have just moved to a house in Bridge Street. Yesterday a beggar knocked my door. He asked me for

原创 Charles使用介紹 Charles在移動端測試的主要應用

Charles是常用的網絡封包截取工具,在做移動開發和測試時常常需要截取網絡封包來分析。 Charles是通過將自己設置成系統的網絡訪問代理服務器,使得所有的網絡訪問請求都通過它來完成,從而實現了網絡封包的截取和分析, 更多詳細內容移步官方

原创 匯量科技mobvista,mintegral 內推算法前端後端及測試

全球領先的程序化廣告變現平臺等着大佬們加入,開啓全球化征程,連接東西方的橋樑。Base北京,廣州。Mintegral欲打造全球超休閒遊戲生態

原创 flask web項目上線linux服務器遇到的問題總結

Linux服務器上flask程序寫文件報錯PermissionError: [Errno 13] Permission denied: '/app.log' fh = logging.handlers.TimedRotatingFileHa

原创 解決Failure [INSTALL_FAILED_TEST_ONLY]

在adb install *.apk 會提示下面的錯誤: Failure [INSTALL_FAILED_TEST_ONLY] 方法1: 修改AndroidManifest.xml 中android:testOnly="true" 改成 a

原创 charles-斷點BreakPoint測試

一、添加Charles斷點 1、用Charles抓包發起一次接口請求 2、對要打斷點的接口右鍵,選擇【Breakpoints】 二、Charles斷點設置 1、點擊Charles菜單-【Proxy】-【Breakpoint...】,此時會彈

原创 charles 設置弱網測試

Charles簡介:Charles支持抓去http、https協議的請求,不支持socket。 然後charles會自動配置IE瀏覽器和工具的代理設置,所以說打開工具直接就已經是抓包狀態了。 這裏打開百度抓包下,工具界面和相關基礎功能。 下

原创 Mac一些常用操作

MAC查找JDK的路徑 在控制檯中輸入 /usr/libexec/java_home -V 即可以看見 Matching Java Virtual Machines (2): 9.0.4, x86_64: "Java SE 9.0.4"