会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
only_books
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
下一页
2019年11月19日
You need to use a Theme.AppCompat theme (or descendant) with this activity.错误解决
摘要: 我的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
阅读(406)
评论(0)
推荐(0)
2019年11月18日
Android开发中使用Glide添加依赖库build.gradle出现问题
摘要: 添加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
阅读(2083)
评论(0)
推荐(0)
2019年11月15日
compileDebugJavaWithJavac异常处理
摘要: 本人是引进module之后出现的问题 解决办法: 在android studio terminal输入命令gradlew compileDebugJavaWithJavac 在输入命令gradlew compileDebugJavaWithJavac的时候可能会报错 ERROR: JAVA_HOME
阅读全文
posted @ 2019-11-15 12:26 only_books
阅读(2052)
评论(0)
推荐(0)
2019年11月14日
android框架整理
摘要: https://blog.csdn.net/huangxiaoguo1/article/details/79032186 UI库 https://www.jianshu.com/p/51bec911a6fe
阅读全文
posted @ 2019-11-14 15:17 only_books
阅读(94)
评论(0)
推荐(0)
2019年9月23日
android studio升级3.4.1时遇到的问题
摘要: 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
阅读(806)
评论(0)
推荐(0)
2019年7月25日
导入github项目报错:Error:The specified Gradle distribution 'https://services.gradle.org/distributions/gradle-4.6-all.zip'
摘要: 查看应用的gradle版本。 然后修改wrapper文件夹下的gradle-wrapper.properties
阅读全文
posted @ 2019-07-25 14:08 only_books
阅读(13772)
评论(0)
推荐(0)
2019年5月21日
error:com.android.ide.common.process.ProcessException: Failed to execute aapt
摘要: 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
阅读(1515)
评论(0)
推荐(0)
2019年4月26日
Android百度地图定位定到了海里,定到了非洲
摘要: 百度定位偶尔会出现定到非洲的现象,一开始我以为是GPS信号不太好的原因,后来出现的次数有点多了,上网查找才发现是权限不够的原因 官网地址http://lbsyun.baidu.com/index.php?title=android-locsdk/guide/create-project/androi
阅读全文
posted @ 2019-04-26 09:00 only_books
阅读(1723)
评论(2)
推荐(1)
2019年4月22日
Arcgis for android 100.4 the datas type are not compatible getFieldType () 问题
摘要: 这个问题其实挺简单的,但是当时没想到这有一个坑。就是原来的10.x版本 esriFieldTypeSmallInteger 在100.4里面变成SHORT 在传map参数的时候,以前是直接map.put("DELETE",0);就可以识别,但是100.4不可以 一直在报类型不匹配的问题,the da
阅读全文
posted @ 2019-04-22 15:34 only_books
阅读(277)
评论(0)
推荐(0)
2019年4月11日
Arcgis for android 100.4截屏功能
摘要: /** * 把一个MapView的对象转换成bitmap */public static Bitmap getMapViewBitmap(MapView v) { v.clearFocus(); v.setPressed(false); //能画缓存就返回false boolean willNotC
阅读全文
posted @ 2019-04-11 09:36 only_books
阅读(593)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
下一页
公告