原创 筆記本電腦擴展屏幕後,只顯示畫面沒有聲音
一:問題 Win10系統的筆記本電腦擴展屏幕後,只顯示畫面沒有聲音? 二:解決方案 1. 打開聲音設置: 方法一:Window設置 - 系統 - 選擇“聲音” 方法二:桌面右下角聲音圖標(小喇叭) - 右鍵 - 打開聲音設置 2. 選擇輸
原创 Attempt to invoke interface method 'void android.opengl.GLSurfaceView$Renderer.onSurfaceCreated (ja
1.錯誤描述 Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object
原创 GraphicsMagick - 圖片處理工具
1 GraphicsMagick 1.1 簡介 GraphicsMagick是一個短小精悍的圖像處理工具,提供了健壯、高效的工具和庫集合,用來處理圖像的讀取、寫入和操作; 支持88種圖像格式處理; 1.2 官網 官網:http://www
原创 Sourcetree安裝一直在等待登錄的問題
Sourcetree安裝時一直等待登錄,這個地方有個坑! Sourcetree到註冊這一步時,彈出了一個網頁,你要對網頁進行操作,grant access會使用你本地配置好的git用戶信息;
原创 om.android.build.api.transform.TransformException: Error while generating the main dex list. * Try:
1. 錯誤描述 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWit
原创 Permission denied (publickey). Could not read from remote repository.
1.錯誤描述 [email protected]: Permission denied (publickey). Could not read from remote repository. Please make sure you ha
原创 WebView-不顯示圖片其他都正常顯示
1. 錯誤描述 WebView訪問Url,其他都正常顯示,而圖片不顯示 2. 錯誤原因 可能是設置了不加載圖片,也可能訪問路徑和圖片不是同時使用https或http,例如url使用https,而圖片使用的是http; 3. 解決方案 w
原创 int android.view.View.getImportantForAccessibility()’ on a null object reference
1. 錯誤描述: Attempt to invoke virtual method ‘int android.view.View.getImportantForAccessibility()’ on a null object refer
原创 Android設置EditText輸入時彈出的鍵盤可以改爲登錄/搜索等
有時候頁面內容比較多,我希望某個EditText輸入後可以直接點擊鍵盤上的某個按鈕就行一些操作,那就要設置相關的屬性; 1. 屬性設置 1.設置單行: android:singleLine="true" 2. 設置按鍵類型:android
原创 Android開發如何防止被Fiddler抓取HTTP/HTTPS數據包
Android開發過程中需要網絡訪問獲取數據,一般都是通過HTTP/HTTPS請求服務器獲取數據; 但是HTTP/HTTPS請求很容易被別人使用一些像Fiddler等抓包工具抓取信息,對數據進行分析 很容易得到請求方
原创 當手機設置代理後,Webview訪問網絡出現問題
1.錯誤描述 當手機設置代理後,Webview訪問網絡出現問題, Log: E/chromium: [ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1,
原创 net::ERR_CLEARTEXT_NOT_PERMITTED
1.錯誤描述 net::ERR_CLEARTEXT_NOT_PERMITTED 2.錯誤原因 缺少是否打算使用明文網絡流量; 指示應用是否打算使用明文網絡流量,如明文 HTTP。對於目標 API 級別爲 27 或更低級別的應用,默認值爲
原创 使用濾鏡使網站變成灰色
哀悼日時,很多網站都變成來灰色,這是怎麼做到哪,使用來濾鏡 例如要給所有的img設置灰色濾鏡: <style type="text/css"> img{ -webkit-filter: grayscale(100%);
原创 嗶哩嗶哩視屏下載的幾種方法
一:推薦PC客戶端 下載唧唧客戶:http://client.jijidown.com/ 二:網頁下載 直接在bilibili後加 jj ,例如:https://www.bilibilijj.com/video/av39810646/
原创 java.lang.IllegalStateException: stream has already been operated upon or closed
1. 錯誤描述 static int [] intArr = new int[]{30,96,23,69,85,62,12,99,11}; IntStream intStream =Arrays.stream(intArr); int