android程序

在build.gradle文件中
minSDkversion 10  修改版本andriod 版本号
点击sysnc now
更换主界面,在app/src/main/AndriodManifes.xml
<activity android:name=".login2Activity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
</activity>
 
 

(1) 安装程序
adb install -r xxx.apk 
(2) 卸载程序
adb uninstall -k <软件名>
(3) 传文件
adb push path romtePath
(4)下载
adb pull romotePath path

关于-/bin/sh:xx(命令) not found 的几种原因:

1./bin/目录下没有这个命令;

2.bin/目录有这个命令,只是执行权限不够,或者程序执行权限不够;

3.程序需要的静态库或者动态库没有;
用命令:arm-linux-readelf -d xxx(目标文件/命令) 查看xxx使用的动态库

命令

(1) mount -o rw,remount /system
#修改系统分区属性为可写
mount -o remount,rw /system

#修改系统分区属性为只读
mount -o remount,ro /system

终止进程:  (1)查找进程 (2)过滤grep (3) AWK 是一种处理文本文件的语言,是一个强大的文本分析工具。

kill -9 `busybox ps |grep main.py |grep -v grep |busybox awk '{print $1}'

原文地址:https://www.cnblogs.com/countryboy666/p/11576219.html