摘要: 阅读全文
posted @ 2019-12-09 16:06 only_books 阅读(1296) 评论(0) 推荐(0) 编辑
摘要: 该问题是升级android studio3.0导致的。 解决办法: 在build.gradle中 注释掉: apply plugin: 'android-apt',将apt改成annotationProcessor 以及一些其他问题 The SourceSet 'instrumentTest' is 阅读全文
posted @ 2019-12-03 09:49 only_books 阅读(2488) 评论(0) 推荐(0) 编辑
摘要: app:layout_constraintLeft_toLeftOf 表示此控件的左边框与某个控件的左边框对齐或者在其右边 app:layout_constraintLeft_toRightOf 表示此控件的左边框与某个控件的右边框对齐或者在其右边 app:layout_constraintRigh 阅读全文
posted @ 2019-11-19 17:04 only_books 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 我的Activity继承自 android.support.v7.app.AppCompatActivity 解决办法:1.将AppCompatActivity换成Activity 2.在AndroidManifest.xml中新增Activity属性 android:theme="@style/T 阅读全文
posted @ 2019-11-19 10:25 only_books 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 添加implementation 'com.github.bumptech.glide:glide:4.9.0'后一直报错 修改方式: implementation ("com.github.bumptech.glide:glide:4.9.0") { exclude group: "com.and 阅读全文
posted @ 2019-11-18 09:36 only_books 阅读(2011) 评论(0) 推荐(0) 编辑
摘要: 本人是引进module之后出现的问题 解决办法: 在android studio terminal输入命令gradlew compileDebugJavaWithJavac 在输入命令gradlew compileDebugJavaWithJavac的时候可能会报错 ERROR: JAVA_HOME 阅读全文
posted @ 2019-11-15 12:26 only_books 阅读(2009) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/huangxiaoguo1/article/details/79032186 UI库 https://www.jianshu.com/p/51bec911a6fe 阅读全文
posted @ 2019-11-14 15:17 only_books 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1.The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. 解决办法 用 androidTest 替换 instrumentTest,编译运行即可。 2.The minSdk version sho 阅读全文
posted @ 2019-09-23 10:10 only_books 阅读(768) 评论(0) 推荐(0) 编辑
摘要: 查看应用的gradle版本。 然后修改wrapper文件夹下的gradle-wrapper.properties 阅读全文
posted @ 2019-07-25 14:08 only_books 阅读(13501) 评论(0) 推荐(0) 编辑
摘要: error: resource style/TextAppearance.Compat.Notification.Info (aka {packageId}.test:style/TextAppearance.Compat.Notification.Info) not found. 开始我的程序好好 阅读全文
posted @ 2019-05-21 08:40 only_books 阅读(1494) 评论(0) 推荐(0) 编辑