Android-ADB 간단하게 사용

1029 단어 기초 지식adb
  • 안 드 로 이 드 응용 프로 세 스 가 시작 되 고 삭 제 된 로그 정보 가 져 오기
    adb logcat -b  events | egrep "am_proc_died|am_proc_start" 
    
  • 프로 세 스 상세 정보 가 져 오기
    adb shell dumpsys activity
    
  • ADB 캐 시 정리
    adb shell logcat -b all -c
    
  • 실행 중인 adb 서버 닫 기
    adb kill-server
    
  • 앱 설치
    adb install 
    
  • 몽 키 로 간단 한 테스트
    adb shell monkey --kill-process-after-error --ignore-security-exceptions --ignore-crashes --pct-appswitch 90 --pct-touch 10 --throttle 10000 --ignore-timeouts --ignore-native-crashes 100000000
    
    //--kill-process-after-error        
    // --ignore-security-exceptions      
    //--ignore-crashes       
    // --pct-appswitch    Activity       Activity              Activity    
    // --pct-touch     
    //             
    //--ignore-timeouts     ANR
    // --monitor-native-crashes                    Android            。
    
    
  • adb shell:셸 에 들 어가 기
  • adb exit:셸 종료
  • 좋은 웹페이지 즐겨찾기