Category: Android
android 应用中文件夹路径的获取
Android 网络感叹号处理
idea 启动时报 address already in use
系统开启hyper-v
-
Disable hyper-v (which will required a couple of restarts)
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
-
When you finish all the required restarts, reserve the port you want so hyper-v doesn’t reserve it back
netsh int ipv4 add excludedportrange protocol=tcp startport=<端口号> numberofports=1
-
Re-Enable hyper-V (which will require a couple of restart)
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
when your system is back, you will be able to bind to that port successfully.
把端口号改成6942~6991间的任一个数字
Android debug签名和release签名
Android 8.1 去除感叹号
Android Butterknife 在module和App中应用
android WebView 设置cookie和清除Cookie
Android URI to String
Fragment 基础使用方法(一)
1.Fragment 的生命周期
看图,如果Fragment 需要在Fragment中与ActionBar交互,则需要在 oncreate方法中,
setHasOptionsMenu();