自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(221)
  • 资源 (7)
  • 问答 (1)
  • 收藏
  • 关注

转载 Error:Error: commons-logging defines classes that conflict with classes now provided by Android. Sol

转载自:http://www.voidcn.com/article/p-nsonoste-bth.htmljava – 在Android Studio 3.0 RC2中编译发布版本时出错Error:Error: commons-logging defines classes that conflict with classes now provided by Android. ...

2019-08-23 14:41:24 2601

转载 隐私政策声明

隐私政策本应用尊重并保护所有使用服务用户的个人隐私权。为了给您提供更准确、更有个性化的服务,本应用会按照本隐私权政策的规定使用和披露您的个人信息。但本应用将以高度的勤勉、审慎义务对待这些信息。除本隐私权政策另有规定外,在未征得您事先许可的情况下,本应用不会将这些信息对外披露或向第三方提供。本应用会不时更新本隐私权政策。 您在同意本应用服务使用协议之时,即视为您已经同意本隐私权政策全部内容。本隐...

2019-07-18 14:12:07 1146

转载 Can't create handler inside thread that has not called Looper.prepare()

转载自:https://www.jianshu.com/p/86459c23bdf5Crach描述:在子线程中 调用了这句:Toast.makeText(this, "", Toast.LENGTH_LONG) .show();然后就崩溃了:java.lang.RuntimeException: Can't create handler inside thre...

2019-06-02 17:15:09 2053

转载 Android高版本联网失败报错:Cleartext HTTP traffic to xxx not permitted解决方法

转载自:https://blog.csdn.net/gengkui9897/article/details/82863966前言:为保证用户数据和设备的安全,Google针对下一代 Android 系统(Android P) 的应用程序,将要求默认使用加密连接,这意味着 Android P 将禁止 App 使用所有未加密的连接,因此运行 Android P 系统的安卓设备无论是接收...

2019-05-24 08:39:59 3614 1

转载 Android Gradle的理解以及升级Gradle插件3.0.1遇到的坑

转载自:https://www.jianshu.com/p/6f3c34b36037Gradle简介开始填坑之前,先简单聊聊gradle,Gradle其实就是一个构建项目的工具,也就是把那一个个文件、文件夹按照一定的规则关联起来,形成一个项目的工具,它其实不仅仅是用在AndroidStudio上。我们在AS中用到的Gradle其实应该被叫做Android Gradl...

2019-05-07 14:56:18 1884

转载 android java.lang.UnsatisfiedLinkError

转载自:https://blog.csdn.net/fmc088/article/details/80334108studio 解决办法: android { defaultConfig { multiDexEnabled true ndk ...

2019-04-11 15:26:42 668

转载 As签名打包出现not found for signing config 'externalOverride'.

转载自:Error:Execution failed for task ‘:app:validateSigningRelease’.Keystore file /Users/xxx/Documents/work/xxx/xxx.jks not found for signing config ‘externalOverride’.打包出现此问题,是因为jks路径错误,重...

2019-04-09 17:39:49 3336

转载 Could not find com.android.tools.build:gradle:3.0.1

转载自:https://blog.csdn.net/m00123456789/article/details/78917629更新gradle后运行应用,报错。解决办法:提示找不到gradle:3.0.1在顶层build.gradle 中,可以看到build.gradle的配置:buildscript { repositories { jcen...

2019-04-09 16:05:12 808

转载 解决AndroidStudio编译出现"Could not resolve all files for configuration ':library:_internal_aapt2_binary'"

转载自:https://blog.csdn.net/qq_33722930/article/details/85259988解决AndroidStudio编译出现"Could not resolve all files for configuration ‘:library:_internal_aapt2_binary’"问题错误描述FAILURE: Build failed ...

2019-04-09 16:04:10 2537

转载 android listview 中item 子控件抢占焦点问题

转载自:https://blog.csdn.net/mzm2438975656/article/details/50218025 开发中很常见的一个问题,项目中的listview不仅仅是简单的文字,常常需要自己定义listview,自己的Adapter去继承BaseAdapter,在adapter中按照需求进行编写,问题就出现了,可能会发生点击每一个item的时候没有反应,无法获取的焦...

2019-03-20 13:23:00 456

转载 SwipeMenuListView侧滑不显示的问题

转载自:https://blog.csdn.net/dyan_csdn/article/details/79002054场景:SwipeToLoadLayout嵌套SwipeMenuListView分析:一开始以为是滑动冲突的问题,找了一堆解决办法一一尝试,还是显示不出来,只有上拉下拉的效果,于是屏蔽掉SwipeToLoadLayout,发现依旧显示不出来,这与之前做过的结果不符...

2019-03-20 13:19:57 392

转载 getSupportFragmentManager()方法不可用解决办法

转载自:https://blog.csdn.net/ggfriend/article/details/50730914 在Android开发中,少不了Fragment的运用。目前在实际运用中,有v-4包下支持的Fragment以及app包下的Fragment,这两个包下的FragmentManager获取方式有点区别,所以大家在运用的过程中,一定要注意自己的导的包。app包下Fra...

2019-02-28 13:50:55 10411

转载 更新gradle项目报错:Could not run build action using Gradle distribution

转载自:https://blog.csdn.net/u013905744/article/details/82223969 intellij idea中有一个gradle项目,之前都一直是好好的。今天在build.gradle中添加了一个dependency,由于我并没有设置auto-import,所以选择自己来refresh整个gradle项目结果gradle task后台stu...

2019-01-14 23:29:20 9232

转载 Android7.0以上安装时出现“解析软件包错误”

转载自:https://blog.csdn.net/u012588160/article/details/80447922  工作中,vivoX9s,版本号:7.1.2,在Android studio上调试软件出现“解析软件包错误”,不管是项目工程还是自己新建的hellowrold工程都会出现这个问题,如图:eclipse:Android studio:问题解决办法...

2019-01-14 16:17:46 1296

转载 android BLE 4.0 setCharacteristicNotification接收不到数据

转载自:https://347563186.iteye.com/blog/2331399 问题描述 最近在开发android BLE  读写数据但是向设备写数据很顺利,但是在接收设备传来的数据时,死活接收不到. Java代码  /**      * Enables or disables notification on a give characteristic. ...

2019-01-09 00:29:11 1241

转载 ListView卡顿的原因以及优化策略

转载自:https://blog.csdn.net/u014657752/article/details/83592684 重用converView: 通过复用converview来减少不必要的view的创建,另外Infalte操作会把xml文件实例化成相应的View实例,属于IO操作,是耗时操作。 减少findViewById()操作: 将xml文件中的元素封装成viewholder静...

2018-12-29 06:43:14 2543

转载 手把手教你AndroidStudio多渠道打包

转载自:https://blog.csdn.net/mynameishuangshuai/article/details/51783303         最近不断有朋友向我咨询AndroidStudio多渠道的打包方法,今天整理一下之前积累的打包套路,写一篇文章,手把手的教给大家。        说到多渠道,这里不得不提一下友盟统计,友盟统计是大家日常开发中常用的渠道统计工具,而我...

2018-12-18 16:34:48 241

转载 android studio更新之后打包遇到V1(Jar Signature)、 V2(Full APK Signature)问题

转载自:https://blog.csdn.net/qq_33373648/article/details/76061787 昨天更新了android studio 打包时遇到两个勾选框,于是开始了解…问题刚开始默认是勾选 V2(Full APK Signature),然后我就打包去测试先了,发现安装失败。之后发现与签名有关系。 发现android 7.0中引入...

2018-12-18 16:28:47 504 1

转载 解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com

转载自: 这个问题是Android studio升级到3.0之后,运行的时候会提示gradle要升级到3.5版本才能编译。于是我把我的gradle升级到了 gradle-4.1-milestone-1 版本,是2017年7月份最新版本了。于是我把主程序的build.gradle中的gradle版本改成了这个,具体指定哪个版本我也不知道,于是就写了个3.0+ dependenci...

2018-12-18 16:23:38 277

转载 异常:Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > Compilation failed; see the c

转载自:https://www.cnblogs.com/woaixingxing/p/7754873.html    碰到这个异常我也是挺无语的,因为Android Studio根本不会提示你详细的错误信息。我们来看看这个博主:http://blog.csdn.net/runner__1/article/details/53482565我就是借鉴他找错的经历找到错误的在命令...

2018-12-16 08:48:50 860

转载 关于Android Studio升级至3.1出现AAPT2 error的解决办法

转载自:https://www.jianshu.com/p/2a63c5710ee9 关于Android Studio升级至3.1出现AAPT2 error的解决办法www.jianshu.com新建example试一下是否完全成功后,出现了红字--"Error:java.util.concurrent.ExecutionException: com.android.tools.a...

2018-12-16 08:39:34 529

转载 Android--多线程之Looper

转载自:https://www.cnblogs.com/plokmju/p/android_Looper.html 前言  上一篇博客讲解了Handler实现线程间通信,这篇博客讲解一下Handler运行的原理,其中涉及到MessageQueue、Looper。简要来讲,Handler会把一个线程消息发送给当前线程的消息队列,从最后Handler会处理消息队列中的消息,这里的消息队列就...

2018-12-06 11:04:03 982

转载 idea 一直不停的updating indices 卡进度条问题

转载自:https://blog.csdn.net/qq_36607416/article/details/79908360 idea 一直不停的updating indices 卡进度条问题解决方案:fild->Invalidate Caches / Restart->Invalidate and Restart即重建索引...

2018-11-29 16:11:05 34014 11

转载 修改应用 applicationid 后运行,报找不到 Mainactivity

 转载自:https://blog.csdn.net/tushiba/article/details/83410798 Android 修改包名后无法运行activity class does not exist 我的错误已经改好了 这是在网上找了个一样的错误  在AS中修改了包名,结果运行时提示activity class does not exist,主ac...

2018-11-27 23:36:13 2687 1

原创 地址错误 fault addr 0xXXXXX

有时会报这种错,我这里的情况是初始化的有问题我这里犯错是声时时未置空,然后初始化判空时就没进去,因为不为空,所以后面调对象方法时就报错。最好在初始化之前置空!!...

2018-11-27 23:07:01 2625

转载 关于Android Studio UnsatisfiedLinkError错误的解决办法

转载自:https://blog.csdn.net/yang451212/article/details/78327900 (一)Android Studio UnsatisfiedLinkError错误的解决办法1:当程序报错:Caused by: java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.Incre...

2018-11-27 17:39:19 866

原创 Linking CXX shared library ..\..\..\..\build\intermediates\cmake\debug\obj\x86\libnative-lib.so FAI

报如下的错:Build command failed.Error while executing process D:\work\adt-bundle\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build D:\work\workplace\studio_workspace\MyMusic181121_2\myplayer\....

2018-11-21 12:23:10 5148

转载 Error:(65) Error parsing XML: not well-formed (invalid token)

转载自:https://blog.csdn.net/guozhaohui628/article/details/53446003 1. 醉了,这种报错  这里我真想说碰到这种报错,真的醉了,搞了半天也百度了别人的解答,废话不多说先上我的错,Error:(65) Error parsing XML: not well-formed (invalid token)Information...

2018-11-16 09:08:38 18203

原创 Build command failed. Error while executing process 错误

 android ndk项目有时编译会报这样的错,但你又不清楚到底哪儿出错了Build command failed.Error while executing process D:\work\adt-bundle\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build D:\work\workplace\studio_wo...

2018-11-14 17:28:24 10441 8

转载 BeyondCompare3密钥过期怎么办?不用再找新的密钥,一招帮你搞定!

转载自:https://blog.csdn.net/IAlexanderI/article/details/80692409  步骤一:在C盘下找到图中目录,并将该目录下的文件全部删除:步骤二:重新打开BeyondCompare时会出现下图提示,直接点击“下一个”:步骤三:继续点击“下一个”:步骤四:点击“结束”:步骤五:安装成功,并进入了主界面:...

2018-11-12 06:53:23 607

原创 android studio中native方法不能链接到cpp中的方法

android studio中native方法不能链接到cpp中的方法发现是之前取消勾选了Android NDK Support,重新勾选 上重启后就好了 

2018-11-07 11:55:50 4229

转载 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

转载自:https://blog.csdn.net/tiny_lxf/article/details/75027865  第一种:sudo vim /etc/resolv.conf 添加nameserver 8.8.8.8第二种:/etc/apt/sources.list 的内容换成deb http://old-releases.ubuntu.com/ubuntu/...

2018-11-06 15:34:40 21311 5

转载 Cannot resolve corresponding JNI function Java_com_xxxx

转载自:https://blog.csdn.net/ksksjipeng/article/details/51992435 配置好NDK环境后,编写native方法,编译出现Cannot resolve corresponding JNI function Java_com_xxx native_xxxReports native method declaration in Jav...

2018-11-06 13:35:50 1834

转载 android studio 3.1 升级gradle4.4时所踩到的坑

转载自:https://blog.csdn.net/Public_x/article/details/80224838 公司原项目是使用Android studio 2.3编译的,最近将Android studio升级到3.1后,build apk 时提示:The project is using an unsupported version of Gradle.        意思...

2018-11-04 09:54:12 1239

转载 Android Studio 如何引用aar包

转载自:https://blog.csdn.net/luoyingxing/article/details/78353305 在Android Studio 项目里面引入xxx.aar包,主要有以下几个步骤:将目标aar文件,例如lyx-library-1.0.3.aar文件,复制粘贴在工程的app/libs/目录下。 在app目录下的build.gradle文件中添加以下代码:...

2018-11-04 09:53:17 2037

转载 Android studio 运行时报错Do you want to uninstall the existing application?的解决方法

转载自:https://www.cnblogs.com/1124hui/p/6609689.html (解决方法)Android studio 运行时报错Do you want to uninstall the existing application?的解决方法在Android studio中,有时运行会报错:WARNING: Uninstalling will remove t...

2018-10-25 19:31:07 2954

转载 http://www.androiddevtools.cn/

服务器地址 http://www.androiddevtools.cn/

2018-10-21 09:00:07 797

转载 android在style中使用自定义属性 error: style attribute not found.

转载自:https://blog.csdn.net/pyfysf/article/details/78871312 android在style中使用自定义属性 error: style attribute not found.2017年12月22日 11:22:42 pyfysf 阅读数:3555 标签: attr not foundstyleandroid 自定义属性 更多个人分...

2018-10-21 08:59:04 3711

转载 Android Studio——Gradle 版本回退

转载自:https://blog.csdn.net/coder_ken/article/details/47211051?utm_source=blogxgwz1  Android Studio——Gradle 版本回退2015年08月02日 20:59:41 coder_ken 阅读数:7299 标签: androidandroid studiogradle 更多个人分类: ...

2018-10-21 08:30:53 6327

转载 源码分析-GLSurfaceView的内部实现

 转载自:https://blog.csdn.net/Darlingqiang/article/details/80274558 GLSurfaceView类是继承自SurfaceView的,并且实现了SurfaceHolder.Callback2接口。GLSurfaceView内部管理着一个surface,专门负责OpenGL渲染。GLSurfaceView内部通过GLThrea...

2018-10-02 07:27:15 456

IT项目经理成长手记.zip

IT项目经理成长手记

2019-05-20

android 6.0源码 package包

因为6.0的有点大,只能分开了,这个里面只有package~~~~

2018-03-12

Android 2.3部分源码(package+framework+system)

android 2.3几个包的源码(package+framework+system),搞应用,四大组件之类基本的,可以用到,其它的有需要,我再传吧

2018-03-12

MyTarot.apk

显示塔罗的78张牌,图片很清晰,对初学塔罗的人有用。android手机apk。想取得apk中图片的,把apk解压缩即可。

2016-10-02

源码编译整理

这是源码编译整理的文档

2016-01-04

Android_Settings_4.0

Android_Settings_4.0

2016-01-02

android sdk : android-19

android sdk : android-19.

2015-12-08

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除