自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

JetoXiao

九层之塔,始于垒土

  • 博客(11)
  • 收藏
  • 关注

原创 Android databinding xml 字符串拼接

<?xml version="1.0" encoding="utf-8"?><layout> <data> <variable name="bean" type="x.x.x.ListBean" /> </data> <LinearLayou...

2019-11-14 16:54:00 4398

原创 百度人脸识别sdk com.baidu.idl.facesdk.FaceInfo 变灰色

app的build.gradle中把dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(":facesdk") }替换成dependencies { implementation fileTree(dir: 'l...

2019-08-27 11:38:08 1833 1

原创 Process 'command 'D:\SDK\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2

从AndroidStudio直接的ndk版本过高,换成ndk_r10e就不会报这个错误了,这个亲测可以解决这个问题。网上也有说降级到14,15也能解决,还待测试。下载地址:ndk_r10e(Jan 2015)Windows32-bit : http://dl.google.com/android/ndk/android-ndk-r10e-windows-x86.exeWindo...

2019-08-22 18:49:25 1753 1

原创 java.lang.UnsatisfiedLinkError: "lib_xxx.so" is 32-bit instead of 64-bit

在导入so文件时出现:java.lang.UnsatisfiedLinkError: dlopen failed: "lib_xxx.so" is 32-bit instead of 64-bit解决:1.在build.gradle中加上defaultConfig { ...... ndk { abiFilters "armeabi", "armeabi-...

2019-07-18 13:51:55 568

转载 xshell常用命令大全

转载自:https://www.cnblogs.com/qq350760546/p/7890680.html(1)命令ls——列出文件ls -la 给出当前目录下所有文件的一个长列表,包括以句点开头的“隐藏”文件ls a* 列出当前目录下以字母a开头的所有文件ls -l *.doc 给出当前目录下以.doc结尾的所有文件(2)命令cp——复制文件cp afile afile...

2019-07-03 13:51:41 414

原创 at android.widget.ZoomButtonsController.setVisible(ZoomButtonsController.java:387)

解决Webview在设置放大缩小功能后,android.widget.ZoomButtonsController错误原因是Activity销毁后,缩放图标没来得及隐藏,导致android.app.IntentReceiverLeaked错误解决方法:@Overrideprotected void onDestroy() { ViewGroup view = (ViewGr...

2019-06-24 09:56:51 183

原创 Try supplying a main-dex list. # methods: 65812 > 65536

Cannot fit requested classes in a single dex file. Try supplying a main-dex list. # methods: 65812 > 65536项目里单个dex文件的函数超过了65536个配置即可efaultConfig { multiDexEnabled true}...

2019-06-05 16:53:17 222

原创 error: style attribute 'attr/colorPrimary (aka com.ab.activity:attr/colorPrimary)' not found.

compileSdkVersion 修改为28添加如下依赖implementation 'androidx.appcompat:appcompat:1.0.0-alpha1'implementation 'androidx.constraintlayout:constraintlayout:1.1.2'

2019-05-31 16:18:50 15403 3

转载 Android GridView属性

属性名称 描述 android:background 设置背景色/背景图片。可以通过以下两种方法设置背景为透明:”@android:color/transparent”和”@null”。注意TextView默认是透明的,不用写此属性,但是Buttom/ImageButton/ImageView想透明的话就得写这个属性了。 android:clickable 是否响应点击事...

2016-03-29 10:44:25 2039

原创 daemon not running. starting it now on port 5037 ADB server didn't ACK 解决5037端口被其他进程所占用

5037端口被占用,试了很多种方法都无法解决,给android开发带来了很大的麻烦windows系统  配置环境变量 :变量名:ANDROID_ADB_SERVER_PORT

2016-03-25 10:55:51 1127

原创 Android开发中使用dos命令连接外接设备device运行android项目

此次项目开发中,使用阿里的电视盒子以及一台TCL电视显示器作为外接设备来作为调试设备。那么,如何在Eclipse中找到该device呢,可以使用dos命令完成该项连接,从而使用电视显示器作为你的android调试设备。此时在eclipse中是无法看到该设备的。打开dos界面该项说明adb没有找到,我们可以通过访问安装目录来找到adb,在eclipse的sdk

2016-03-09 14:41:30 2063

空空如也

空空如也

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

TA关注的人

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