原创 excel中找出兩列相同數據的對應編號,並將對應編號結果列出來
=INDEX(A:A,MATCH(D2,B:B,0)) 其他筆記常用 開始-編輯-填充 可自動填充行列
原创 app:processDebugManifest錯誤
查看具體報錯信息 gradlew processDebugManifest --stacktrace
原创 Lint found fatal errors while assembling a release target.
Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, o
原创 SSL Error Handler For more information on how to address WebView SSL Error Handler alerts
webview中忽略證書會被googleplay拒絕 SSL Error Handler For more information on how to address WebView SSL Error Handler alerts
原创 git基礎
克隆代碼 git clone git@xxxx 克隆某個分支代碼 git clone -b xx git@xxxx 查看分支 git branch 切換分支 git checkout xx 新建分支並切換 git -b checko
原创 Test running failed: Instrumentation run failed due to 'Process crashed.'
使用androidx下的 AndroidJUnitRunner //testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInst
原创 解決ScrollView嵌套Recyclerview條目只顯示到屏幕位置
由於自定義ScrollView使得嵌套在裏面的Recyclerview條目顯示不全,原因是sdk兼容到23版本以上就會出現這個問題 解決: 1.RecyclerView上再嵌套一層RelativeLayout然後添加屬性android
原创 Koltin從入門到放棄
記錄一下在項目中的問題 1.在idea中使用kotlin基礎庫stdlib-jdk8之後一臺電腦上面可以正常bulid,在另一臺電腦有一行代碼報錯:val gameWindow = GameWindow::class.java Err
原创 Kotlin基礎(二)
1.函數的定義與調用 fun add(a: Int, b: Int): Int { return a + b } fun add2(a: Int, b: Int): Int = a + b var i = { x:
原创 Kotlin基礎(一)
1.Hello Kotlin 2.kotlin的數據類型 4.字符串的拼接 5.條件控制 6.字符串的比較 7.kotlin的空值處理 8.when 表達式 9.循環for 10.集合list、map 1.Hello Kotlin
原创 Android中ViewPager加載空白
記錄一個bug 現象: viewpager加載空白 我的佈局是MainActivity裏面主頁面是5個fragment,然後在MainActivity裏面還有一個側邊欄DrawLayout,其中我想在DrawLayout的佈局中是一個
原创 Android中Tablayout的tabMode和tabGravity的使用以及自定義TabLayout指示器長度
1.Tablayout的tabMode和tabGravity的使用 效果圖: 代碼: TablayoutActivity.Java activity_tablayout.xml 2.Tablayout的tab數目數量少時自定義指示器
原创 React Native清除緩存庫react-native-http-cache使用
1.react-native-http-cache:https://github.com/reactnativecn/react-native-http-cache 2.針對android的問題進行修改 問題:按照文檔安裝之後,and
原创 使用WebStorm開發React Native調試Android項目
React-Native自帶的打印log的命令 android : react-native log-android ios : react-native log-ios android studio調試習慣了,然後在webstorm