![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
飞翔的李哥
这个作者很懒,什么都没留下…
展开
-
Gradle DSL method not found: sourceCompatibility()Possible causes:
The project '' may be using a version of Gradle that does not contain the method.将sourceCompatibility JavaVersion.VERSION_1_8targetCompatibility JavaVersion.VERSION_1_8改成sourceCompatibility=JavaVersion.VERSION_1_8targetCompatibility=JavaVersion原创 2020-06-15 18:06:19 · 656 阅读 · 0 评论 -
butterknife 使用方法
在dependenise{}中加入库依赖 (注意版本一定要相同) impelementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'2.在Android Studio中添加插件,(可以自动生成绑定控件的代码) File -> Settings -> Plugins -> 搜索Butte..原创 2020-06-03 15:29:29 · 141 阅读 · 0 评论 -
Version 28 (intended for Android Pie and below) is the last version of the legacy support library, s
刚开始建项目 会出现 Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrat..原创 2020-06-03 14:57:37 · 2525 阅读 · 1 评论 -
GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
查了半天资料是因为返回的json 中有中文导致的,直接将中文改成英文就可以输出了解决方法后续更新原创 2020-05-14 18:30:08 · 12914 阅读 · 6 评论