- 博客(184)
- 资源 (3)
- 收藏
- 关注
原创 defaultConfig contains custom BuildConfig fields, but the feature is disabled.
在gradle.properties文件中增加。使用gradle8.1.1时编译报错。
2023-06-10 16:33:53 518
原创 Can not extract resource from com.android.aaptcompiler.ParsedResource@2cb6d9bf.
Can not extract resource from com.android.aaptcompiler.ParsedResource@2cb6d9bf.
2023-04-18 13:46:38 403
原创 AndroidStudio导入SVG图片
drawable下点击New 选择Vector Assert。之后会在该目录下来生成对应的xml文件。然后在src同样使用。
2023-04-06 14:59:13 931
原创 viewBinding使用
开启后重新编译后系统会为每个布局生成对应的Binding类,类中包含布局ID对应的View引用,并采取驼峰式命名。build.gradle下android包增加buildFeature。
2023-04-04 09:37:51 90
原创 gyp verb `which` failed Error: not found: python2
gyp verb `which` failed Error: not found: python2
2022-10-13 11:14:50 573
原创 Could not download node.js v13.13.0 64-bit executable.
Could not download node.js v13.13.0 64-bit executable.
2022-10-13 11:00:05 802
原创 Failed to load property source from location ‘classpath:/application.properties‘
Failed to load property source from location 'classpath:/application.properties'
2022-10-10 17:10:32 183
原创 为什么一般是给post请求设置content-type,get请求不需要设置吗?
为什么一般是给post请求设置content-type,get请求不需要设置吗?
2022-07-08 15:07:11 766
原创 <iframe>
用于嵌入其他网页<iframe src="https://developer.mozilla.org/zh-CN/docs/Glossary" width="100%" height="500" frameborder="0" allowfullscreen sandbox> <p> <a href="https://developer.mozilla.org/zh-CN/docs/Glossary"> Fallback
2022-07-04 15:20:28 68
原创 Content-Type几种值的区别及用法
①、 application/json:消息主体是序列化后的 JSON 字符串作用: 告诉服务器请求的主题内容是json格式的字符串,服务器端会对json字符串进行解析 好处: 前端不需要关心数据结构的复杂度,只要是标准的json格式就能提交成功。②、 application/x-www-form-urlencoded:数据被编码为名称/值对。这是标准的编码格式 作用:默认方式在请求发送过程中会对数据进行序列化处理,以键值对形式?key1=va...
2022-05-23 18:03:05 912
原创 axios(Ajax)请求配置项config详解
只有 url 是必需的。如果没有指定 method,请求将默认使用 get 方法。{ // `url` 是用于请求的服务器 URL url: "/user", // `method` 是创建请求时使用的方法 method: "get", // 默认是 get // `baseURL` 将自动加在 `url` 前面,除非 `url` 是一个绝对 URL。 // 它可以通过设置一个 `baseURL` 便于为 axios 实例的方法传递相对 URL baseURL: "ht
2022-05-23 17:44:58 2147
Git-2.14.1-64
2017-09-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人