logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ionic app在部分手机上http/https请求失败的解决方法

出现这个问题的原因是最新版的android 系统禁用了http协议的请求,推荐使用https的请求方式。解决方法:1.在AndroidManifest.xml文件中application标签上加 android:networkSecurityConfig="@xml/network_security_config"2.在res/xml文件夹下创建名为network_security_config的

img固定宽高,怎么解决不同尺寸图片显示会变形的问题

一、父容器如div设置固定width和height,设置相对定位;img设置绝对定位,设置最大宽度max-width:100%,left、top、right、bottom值为0,设置margin:auto。这样可以解决不同尺寸的图片在同一个盒子里垂直水平居中,看起来又不会显得图片变形。...

android studio sdk tools 中找不到Support Repository

开发android时报Could not resolve com.android.support.constraint:constraint-layout:1.1.3这个错误,实际上是因为androidx放弃使用support包。Google 2018 IO 大会推出了 Android新的扩展库 AndroidX,用于替换原来的 Android扩展库,将原来的android.*替换成android

#android#移动开发
android 10以上存储图片失败的问题

问题华为手机存储图片失败,系统版本为android 10。解决方案因为工程中targetSdkVersion=29,而android 10之后系统改变了存储策略,所以需要做一些额外的工作。必须在AndroidManifest.xml的application标签下声明requestLegacyExternalStorage=true参考:Android 10 Scoped StorageAndroi

#android
Android学习博客和文章存档

如何自学ANDROID编程http://stormzhang.com/android/2016/01/21/learn-android-byself/[Android基础]Android总结篇http://blog.csdn.net/codeemperor/article/details/51004189Android最佳性能实践(一)——合理管理内存http://blog.c...

#android
uniapp报错:代码使用了less语言,但未安装相应的编译器插件

删除下载的插件文件名的版本号。比如将compile-less_1.0.4 改成compile-less。预编译器错误:代码使用了less语言,但未安装相应的编译器插件,请前往插件市场安装该插件。

文章图片
#uni-app
到底了