android
孑萱
一个正在奋斗的女汉子、、
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LinearLayout中设置Button居中
初学android,碰到在LinearLayout中设置Button居中问题,在各位前辈的总结和自己的实验下,得到以下解决方法哈、、方法一:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:la原创 2015-01-30 12:09:26 · 3270 阅读 · 0 评论 -
Android中去掉界面上应用的名字
方法一:在清单文件里配置android:theme属性,Theme.NoTitleBar.Fullscreen为没有标题并且全屏 <application android:name="com.XXX" android:allowBackup="true" android:icon="@drawable/ic_launcher"原创 2017-07-12 16:28:31 · 5916 阅读 · 0 评论 -
error: could not install *smartsocket* listener: cannot create socket: 鏃犳硶鍔犺浇鎴栧垵濮嬪寲璇锋眰鐨勬湇鍔*彁渚涚* 搴忋€?
cmd命令里运行:adb start-server,出现以下问题:* daemon not running. starting it now on port 5037 *error: could not install *smartsocket* listener: cannot create socket: 鏃犳硶鍔犺浇鎴栧垵濮嬪寲璇锋眰鐨勬湇鍔*彁渚涚* 搴忋€?(10106)could n原创 2017-06-21 14:45:58 · 758 阅读 · 0 评论 -
android自定义报错: error: No resource identifier found for attribute 'XX' in package 'XX’
今天在自定义view的时候,我的程序结构是这样的,在布局文件里是这样的写的:xmlns:app="http://schemas.android.com/apk/res/com.example.card.view.CardInputEditText",然后就报了error: No resource identifier found for attribute 'epaysdk_type' i原创 2017-06-19 15:08:31 · 7665 阅读 · 0 评论 -
* daemon not running. starting it now on port 5037 *
用eclipse(我们公司用的比较老)连接测试机,cmd命令里使用adb connect 命令出现了“* daemon not running. starting it now on port 5037 *”,这种问题常见,所以将解决方法记下,以便日后查看。1、输入cmd进入dos界面,进入android-sdk-windows\platform-tools目录,执行下面命令启动adb原创 2017-06-21 14:01:05 · 1483 阅读 · 0 评论 -
eclipse中快速定位当前文件所在的位置
项目中的文件比较多,有的时候需要找到某个文件在哪个文件夹下,这个时候一个一个找就浪费时间和精力了,可以借助下面这个eclipse自身的功能找到。如图,在Package Explorer中,选中这两个箭头的按钮,点击所要看的文件就能显示;若不用的时候,取消掉就行。原创 2016-06-22 13:38:57 · 18705 阅读 · 0 评论 -
Android 项目的代码混淆,Android proguard 使用说明
本文转载自:http://blog.youkuaiyun.com/catoop/article/details/47208833------------------------------------------------------------------------------------------------------------------转载 2016-06-17 12:05:44 · 742 阅读 · 0 评论 -
Keystore was tampered with, or password was incorrect
第一次打包,遇到了这样的问题操作步骤没有错误,把keystore放到外边也没有用,后来才意识到是自己密码输错误了、密码输错误了、密码输错误了、、、各位可要注意了、原创 2016-07-01 14:01:27 · 652 阅读 · 0 评论 -
android中project ----->clean作用
project ----->clean 选项 将工程中的.class文件删除,同时重新编译工程(Java文件)原创 2015-01-23 09:52:35 · 1498 阅读 · 0 评论 -
layout_alignLeft和layout_toLeftOf的区别
layout_alignLeft是表示这个控件和所制定的控件的左边界对齐;layout_toLeftOf是表示这个控件在所指定控件的左边,例如:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" androi原创 2015-01-30 16:14:26 · 2444 阅读 · 0 评论 -
eclipse中Logcat不显示内容
今天写代码的时候,遇到了Logcat里面不显示内容,然后我的解决办法是在windows——>Perferences设置,如图原创 2015-01-31 14:42:04 · 495 阅读 · 0 评论 -
error: Apostrophe not preceded by \ (in XXX.)
string.xml里报了 error: Apostrophe not preceded by \ (in The user hasn't turned on yet and not allowed to checkout.)原创 2017-07-07 17:03:20 · 484 阅读 · 0 评论
分享