![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
看写写
精通c编程,熟悉linux 平台
展开
-
android NDK install and config in ubuntu
下载适合你的NDK 从下面的网址(https://developer.android.com/ndk/downloads/index.html#download “android 官网下载地址”)下载之后把文件拖到想要安装的目录 directory ,添加执行权,并且运行cd directorychmod a+x android-ndk-r10c-darwin-x86_64.bin ./an原创 2016-01-15 16:42:09 · 857 阅读 · 0 评论 -
incompatible debugging server:address size is 4 bytes
转载:http://blog.csdn.net/tjzhaomengyi/article/details/50751712 这个错误的原因是,你的android_server 是32位的 但是你启动的 ida 是64位的 换成32位的ida 就可以了转载 2016-03-25 22:01:04 · 5774 阅读 · 1 评论 -
AndBug 安装
AndBug 的安装和使用,1. 下载源码git clone https://github.com/swdunlop/AndBug.git2. 安装依赖sudo apt-get install python-dev python-pyrex如果你没有gcc的话,还需要安装gcc 在python-pyrex直接添加gcc 就行还要adb 的安装和环境变量的配置,运行 which adb adb de原创 2016-03-25 16:53:46 · 1582 阅读 · 2 评论 -
android ARM 汇编学习 —— hello world
1. c源程序#include <stdio.h>int main(int argc, char* argv[]){ printf("Hello ARM World\n"); return 0;}2. 用 gcc 编译成汇编.arch armv5te .fpu softvfp .eabi_attribute 20, 1 .eabi_att原创 2016-03-21 14:52:51 · 1096 阅读 · 0 评论 -
android逆向总结---强哥的书
断断叙叙的把强哥的,Android 软件安全与逆向分析这本书看完了,看完之后呢,就想自己总结一下,三个星期的战果1. 总的来说,一个apk的生成经历了三个部分分别是: class –> dex –> apk而我们对程序的破解和保护也是针对这三个阶段,破解分:静态 动态俩部分保护就比较广泛了,而且手段众多.下面会一一解释.1.1 下面是一些工具的安装和配置,我写到另外的地方了,有需要的可以看看http原创 2016-03-31 14:08:47 · 2397 阅读 · 0 评论 -
anroid 逆向工具下载
1.010安装破解1.1选择自己的平台下载 相应的包http://down.52pojie.cn/Tools/Editors/1.2 解压之后,把Crack目录下面的010editor复制到你安装的010editor根目录下面,覆盖里面的010editor文件,然后 启动程序, 选择tools-》register—》输入用户名密码,这个在Readme.txt 文件里面有。 可以参考这个网址 :转载 2016-03-13 12:46:40 · 982 阅读 · 0 评论 -
android 动态设置background颜色
TableRow row1 = new TableRow(getActivity()); row1.setBackgroundColor(Color.parseColor("#9AD9EA"));原创 2016-01-14 09:37:57 · 5642 阅读 · 0 评论 -
Linux ubuntu14.04 LTS 配置 android studio
Linux ubuntu14.04 LTS 配置 android studio1. 下载jdkJdk 6 所有版本 最下面是最新的 http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jdk-6u3-oth-JPR Jdk 7 : http://w原创 2016-01-06 12:03:51 · 4166 阅读 · 0 评论 -
单选菜单
* pop a single choice dialog * choice sub */ private void singelDialog(final String fileName,final int permission){ AlertDialog.Builder builder = new AlertDialog.Builder(getActivi原创 2016-01-13 21:53:43 · 476 阅读 · 0 评论 -
多选弹出菜单
* pop a mul choice dialog * choice permission */ private void mulDialog(final String fileName) { AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());原创 2016-01-13 21:50:10 · 646 阅读 · 0 评论 -
静态fragment对象 onCreateView() 加载editVIew 不会刷新的问题
当你有一个静态的fragment对象,如果你使用replace该静态fragment,fragment的onCreateView()加载 editView的时候,只会显示第一次#editView的值,再replace该静态#fragment,显示的还是第一次的值,当#然onclick事件是可以修改该editView 的#值,这个时候可以选择 重新new #fragment() 来解决问题。原创 2016-01-13 19:15:55 · 619 阅读 · 0 评论 -
TableLayout 清空所有的行数据
tableLayout.removeAllViews();原创 2016-01-13 12:44:50 · 1730 阅读 · 0 评论 -
ubuntu android 环境变量的配置
sudo vi /etc/profile在最后添加代码export JAVA_HOME=/home/logan/programeFIles/jdk1.8.0_20export PATH=$PATH:$JAVA_HOME/binexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$CLASSPATHexport AN原创 2016-01-10 22:58:53 · 3526 阅读 · 0 评论 -
Android Studio Keymap
Android Studio Kepmap提示: L文中用 AS 代替 Android Studio1. 链接是全部的快捷键,图是我截的 https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard.pdf 2. 安装完AS 之后默认设置就是,自动的代码提示3. 设置代码提示的快捷键3.1 找到代码提示功能3. 2 设置代原创 2016-01-06 16:24:35 · 4066 阅读 · 0 评论 -
Unable to run mksdcard SDK tool
Unable to run mksdcard SDK tool Presuming that you are running the 64bit Ubuntu, the fix suggested for “Issue 82711” should solve your problem.在安装 ubuntu 上米昂安装64位的 sdk tool的时候,需要一些32位的包依赖才行,安装下面的包就可以解决翻译 2016-01-06 10:03:54 · 4378 阅读 · 1 评论 -
Unable to run mksdcard SDK tool
在安装64位的 Android Studio 的sdk的时候,需要添加32位的一些包才可以安装Presumingthat you are running the 64bit Ubuntu, the fix suggested for"Issue 82711"should solve your problem.sudoapt-get install lib32z1 lib32nc翻译 2016-01-06 09:47:34 · 1365 阅读 · 0 评论 -
apktool 下载 安装
1. 官方的网址 http://ibotpeaches.github.io/Apktool/install/2.根据官方提供的方法安装配置3. 自定义配置3.1 下载好 apktool根据提示下载(apktool 右键保存成apktool)3.2 下载apktool-2.x.jar 包点击超链接 或者点击下面的URLhttps://bitbucket.org/iBotPeaches/apkto原创 2016-01-16 10:55:22 · 3953 阅读 · 0 评论 -
error: only position independent executables (PIE) are supported.
在android原生程序的动态调试,的时候运行 adb shell ./android_server 出现下面的错误error: only position independent executables (PIE) are supported.经过google 发现:大家的回答俩种情况1. 你的Android是5.0以上的吧,或者IDA pro是6.6及以下的,Android5.0以上的编译选转载 2016-03-25 21:17:31 · 9375 阅读 · 3 评论