![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android Studio各种报错
IT 傻白甜
葱鸭,葱鸭,
展开
-
Default interface methods are only supported starting with Android N (--min-api 24)
解决办法在app build:gradle 中的android 下添加 指定jdk版本的代码,如下原创 2021-07-16 13:18:20 · 232 阅读 · 0 评论 -
could not find Fragment constructor
could not find Fragment constructor使用Fragment的时候,因为使用到了有参数的构造函数,没有提供无参的构造函数,有时会报错。Fragment必须有一个无参public的构造函数。我是在 pagerview+Frament 在Frament构造函数里传参数...原创 2021-07-14 14:18:59 · 914 阅读 · 0 评论 -
java.net.SocketException: socket failed
一个字 重启 模拟器原创 2021-07-11 14:28:05 · 480 阅读 · 0 评论 -
Execution failed for task ‘:app:kaptAnzhuomarketDebugKotlin‘.
Execution failed for task ':app:kaptDebugKotlin'.> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution > java.lang.reflect.InvocationTargetException (no error message)看一看kotlin-kapt加入到你的grade里面吗apply plugi...原创 2021-06-13 09:20:19 · 159 阅读 · 0 评论 -
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c
解决方法在项目中的gradle.properties文件中添加语句:android.overridePathCheck=true原创 2021-06-03 12:41:47 · 622 阅读 · 0 评论