11 micro9981

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 7w+

android mma

android mm编译报错:ninja: error: 'out/host/linux-x86/framework/host-libprotobuf-java-full.jar', needed by 'out/host/common/obj/JAVA_LIBRARIES/platformprotos_intermediates/classes-full-debug.jar'用mma即可...

2020-05-07 19:59:02

repo Manifest Format

repo Manifest FormatA repo manifest describes the structure of a repo client; that isthe directories that are visible and where they should be obtainedfrom with git.The basic structure of a manife...

2020-01-29 20:17:59

android 堆栈调试方法

// Throws AssertionError if the input is false.public static void assertTrue(boolean cond) { getCaller(); Log.w(TAG, "assertTrue cond: "+cond); if (!cond) { throw new AssertionEr...

2019-10-30 19:47:51

init.rc service 无法启动

# start preinstall init: Could not ctl.start for service preinstall: File /vendor/bin/preinstall.sh(labeled "u:object_r:vendor_file:s0") has incorrect label or no ...

2019-07-24 16:29:15

git cherry-pick 多个commit

$ git cherry-pick b794641007e9a80f8f1e0704f89e614e95751609^..da6d0352518ddf1eb917fc614428f6deb5e4eee7前面的commit时间早于后面的commit时间前面的commit和后面的commit都会移过来,都是包含关系。...

2019-06-27 11:14:34

去掉Android is starting...

frameworks\base\core\res\res\values\strings.xml<!-- [CHAR LIMIT=40] Title of dialog that is shown when system is starting. --> <string name="android_start_title">Android is starting...

2019-06-14 16:28:01

error: expected reference but got (raw string)

环境:Android Studio 3.2.1Build #AI-181.5540.7.32.5056338, built on October 9, 2018JRE: 1.8.0_152-release-1136-b06 amd64JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.oWindows 7 6.1错误:app\buil...

2019-03-14 14:44:13

java sleep 暂停当前执行的线程

 示例代码1:public class mySleep { public static void main(String[] args) { MyThread t1 = new MyThread("tSleep123"); t1.start(); try { Thread.sleep(100); //调用静态...

2019-01-05 22:54:31

git log和tag一起显示

git log和tag一起显示--no-decorate, --decorate[=short|full|no]           Print out the ref names of any commits that are shown. If short is specified, the ref name prefixes refs/heads/, refs/tags/ and re...

2019-01-04 18:19:12

adb push apk

adb shell suchmod 777 /dataexitexitadb push   Y:\AA\my.apk  /datacp  /data/my.apk  /system/app/my.apkchmod 644 /system/app/my.apk 

2019-01-03 15:48:06

git stash

git stash show stash@{0}   查看stash中修改了哪几个文件git show stash@{0}   查看stash中的具体修改内容如果要从多个文件中仅stash某一个文件,按如下操作:1. 不需要stash的文件用 git add 2. 剩下需要stash的文件 git stash --keep-index3. 恢复第一步add的文件 git reset...

2019-01-02 11:28:08

android studio lint检查

android studio 3.2.1android:debuggable="true" 即编译生成debug版时,不会lint检查。编译生成release版时才会lint检查,一般提示如下:Lint found fatal errors while assembling a release target.To proceed, either fix the issues ide...

2018-12-27 12:02:16

android studio 编译后 app-debug.apk 和 app-release.apk 的区别

AS版本:Androidstudio 3.2.1app-debug.apk和app-release.apk的核心区别在AndroidManifest.xml。生成app-debug.apk时,编译器会自动在该apk的AndroidManifest.xml中添加android:debuggable="true"生成app-release.apk时,编译器会自动在该apk的And...

2018-12-26 12:16:13

Android Studio 加载第三方jar包并提高framework.jar包优先级

android studio 版本 3.2.1framework源码编译出来的jar路径如下:out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jardroidlogic源码编译(vendor/amlogic/frameworks/core/java)出来的jar路径:out/target/comm...

2018-12-26 12:12:04

wpa_cli

wpa_cli -i wlan0 -p /data/misc/wifi/socketsscanscan_results

2018-11-16 19:09:06

windows软链接mklink

mklink创建符号链接。MKLINK [[/D] | [/H] | [/J]] Link Target        /D      创建目录符号链接。默认为文件                符号链接。        /H      创建硬链接,而不是符号链接。        /J      创建目录联接。        Link    指定新的符号链接名称。       ...

2018-11-12 16:53:18

linux 服务器增加用户和samba

adduser userxxxpasswd  userxxx  samba:/etc/samba/smb.conf smbpasswd -a userxxx

2018-11-06 17:32:10

android 4.4 编译需要make 3.81 ,   android 6.0和7.1编译需要make 4.1

android 4.4 编译需要make 3.81 ,   android 6.0和7.1编译需要make 4.1从http://ftp.gnu.org/gnu/make/ 这里,分别下载make-3.81.tar.gz 和make-4.1.tar.gz分别进入目录:./configuremakesudo make installsudo rm /usr/bin/make...

2018-11-06 17:26:02

linux 设置cpufreq

  performance方法:在sys/devices/system/cpu/cpu0/cpufreq目录下:echo performance > scaling_governor   ------------------------------Governor Description performance Run the CPU at the max...

2018-08-31 17:02:54

ubuntu 安装samba

apt install samba samba-commonvim /etc/samba/smb.conf 修改如下:[homes]   comment = Home Directories   browseable = yes   read only = no   path = /root   valid users = root  添加samba客户端用...

2018-08-27 13:52:39

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。