jackson 字符串转对象
摘要:ObjectMapper mapper = new ObjectMapper(); Map<String, Object> map = mapper.readValue(str, Map.class);
阅读全文
Only the original thread that created a view hierarchy can touch its views
摘要:参考 https://blog.csdn.net/djx123456/article/details/6325983 public class MainActivity extends AppComatActiviey { private final Handler handler = new Ha
阅读全文
android 组件隐藏
摘要:参考 https://blog.csdn.net/bbtianshi/article/details/79556609 view.setVisibility(View.GONE);
阅读全文
android 字体加粗
摘要:参考 https://blog.csdn.net/to_cm/article/details/6002812 TextView tv = (TextView)findViewById(R.id.TextView01); TextPaint tp = tv.getPaint(); tp.setFake
阅读全文
android studio 创建图标
摘要:参考 https://www.cnblogs.com/c546170667/p/5975550.html File-New-Image Asset
阅读全文
Can't create handler inside thread that has not called Looper.prepare()
摘要:参考 https://blog.csdn.net/sunhuaqiang1/article/details/46839045
阅读全文
Failed to connect to /127.0.0.1:8080
摘要:参考 https://blog.csdn.net/qq_36523667/article/details/78823065 127.0.0.1为虚拟机的地址,需要将地址改为本机实际地址 ipconfig查看
阅读全文
socket failed: EACCES
摘要:参考 https://blog.csdn.net/ct_ts/article/details/80010208 <uses-permission android:name=“android.permission.INTERNET”/>
阅读全文