主頁 >  其他 > Android~adb卸載系統預裝應用(親測有效)

Android~adb卸載系統預裝應用(親測有效)

2020-09-15 04:06:28 其他

本文介紹一種安卓卸載系統應用的方法,如果你和我一樣喜歡瞎折騰,有那么一點強迫癥,希望對你有用,作為一名安卓開發者,大學以前總喜歡刷不同刷機包(ROM)、愛裝不同的Launcher桌面體驗,不過作業了沒以前愛折騰了,安卓提供的adb工具不用多介紹,網上都有很多教程,

一. 實驗條件

  • LG V30 (Android 9.0)
  • 較新adb驅動
  • PC一臺
  • 對應的USB除錯線一根

二. 安裝adb驅動

下載360手機助手,安裝USB連接手機,360手機助手對手機adb驅動支持很好,直接連接就好了,確定adb驅動安裝好后,任務管理器將360Mobile相關的行程干掉,重新連接adb,最后使用cmd或者AS自帶的Terminal進入命令列,熟悉我們的adb命令就行了,

三. adb卸載預裝應用步驟

1、查看adb版本

確認adb版本較新,我自己親自試了在自己筆記本電腦adb工具執行命令用不了,總是提示如下列印:

F:\mypc>adb devices
adb server is out of date. killing…
daemon started successfully *
List of devices attached
810e909e offline

嘗試了網上的方法,還是沒有解決,但想到公司電腦好像沒有問題的,于是對比了兩臺電腦adb的版本,還是存在差異,或許是adb安裝路徑有問題!

F:\mypc>adb version
Android Debug Bridge version 1.0.29

E:\other>adb version
Android Debug Bridge version 1.0.41
Version 29.0.1-5644136
Installed as C:\Windows\system32\adb.exe

2、查看系統中所有包

執行下面命令,將列印復制到記事本中,方便后面查找,

adb shell pm list packages

3、確認不知名的應用包名(較低安卓版本可直接查看應用包名)

有的應用我們可以通過包名就可以判斷哪一個應用,但有的應用我們是確定不了的,那么就需要確認當前運行的應用的包名,記住安卓Activity和Application packagename是有關系的!好幾種方法,一種不行嘗試另外一種哦,
法一:

1、在手機上打開app
2、執行:adb shell dumpsys window w |findstr / |findstr name=

法二:

1、在手機上打開app
2、執行:adb shell dumpsys activity activities
3、分析列印

執行:adb shell dumpsys activity activities 后,我拿到的列印如下,具體分析我們就知道包名和應用名是哪一個了,這條命令會將activity堆疊資訊和活動資訊告訴我們,

D:\other>adb shell dumpsys activity activities
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #102: type=standard mode=fullscreen
isSleeping=false
mBounds=Rect(0, 0 - 0, 0)
Task id #3162
mBounds=Rect(0, 0 - 0, 0)
mMinWidth=-1
mMinHeight=-1
mLastNonFullscreenBounds=null
* TaskRecord{5546a0e #3162 A=com.uplus.onphone U=0 StackId=102 sz=1}
userId=0 effectiveUid=u0a265 mCallingUid=u0a121 mUserSetupComplete=true mCallingPackage=com.lge.launcher3
affinity=com.uplus.onphone
intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.uplus.onphone/.activity.MainActivity}
realActivity=com.uplus.onphone/.activity.MainActivity
autoRemoveRecents=false isPersistable=true numFullscreen=1 activityType=1
rootWasReset=true mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
Activities=[ActivityRecord{64b2438 u0 com.uplus.onphone/.activity.MainActivity t3162}]
askedCompatMode=false inRecents=true isAvailable=true
mRootProcess=ProcessRecord{d749b7 25828:com.uplus.onphone/u0a265}
stackId=102
hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE mSupportsPictureInPicture=false isResizeable=true lastActiveTime=95850170 (inactive for 12s)
* Hist #0: ActivityRecord{64b2438 u0 com.uplus.onphone/.activity.MainActivity t3162}
packageName=com.uplus.onphone processName=com.uplus.onphone
launchedFromUid=10121 launchedFromPackage=com.lge.launcher3 userId=0
app=ProcessRecord{d749b7 25828:com.uplus.onphone/u0a265}
Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.uplus.onphone/.activity.MainActivity bnds=[312,1214][584,1665] (has
extras) }
frontOfTask=true task=TaskRecord{5546a0e #3162 A=com.uplus.onphone U=0 StackId=102 sz=1}
taskAffinity=com.uplus.onphone
realActivity=com.uplus.onphone/.activity.MainActivity
baseDir=/system/product/app/UplusTVonPhone/UplusTVonPhone.apk
dataDir=/data/user/0/com.uplus.onphone
stateNotNeeded=false componentSpecified=true mActivityType=standard
compat={640dpi, } labelRes=0x7f12002d icon=0x7f0f0002 theme=0x7f13000a
mLastReportedConfigurations:
mGlobalConfig={1.0 460mcc1mnc [zh_CN_#Hans,en_US,zh_CN] ldltr sw360dp w360dp h654dp 640dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 27
12, 1440) mAppBounds=Rect(0, 0 - 1440, 2712) mWindowingMode=fullscreen mActivityType=undefined} s.45 fontTypeIndex0 forceEmbolden0}
mOverrideConfig={1.0 460mcc1mnc [zh_CN_#Hans,en_US,zh_CN] ldltr sw360dp w360dp h654dp 640dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 -
1440, 2712) mAppBounds=Rect(0, 0 - 1440, 2712) mWindowingMode=fullscreen mActivityType=standard} s.45 fontTypeIndex0 forceEmbolden0}
CurrentConfiguration={1.0 460mcc1mnc [zh_CN_#Hans,en_US,zh_CN] ldltr sw360dp w360dp h654dp 640dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0,
0 - 1440, 2712) mAppBounds=Rect(0, 0 - 1440, 2712) mWindowingMode=fullscreen mActivityType=standard} s.45 fontTypeIndex0 forceEmbolden0}
taskDescription: label=“null” icon=null iconResource=0 iconFilename=null primaryColor=ffffffff
backgroundColor=fffafafa
statusBarColor=ff000000
navigationBarColor=ff000000
launchFailed=false launchCount=1 lastLaunchTime=-2m33s40ms
haveState=false icicle=null
state=RESUMED stopped=false delayedResume=false finishing=false focused=true
keysPaused=false inHistory=true visible=true sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_REMOVED
fullscreen=true noDisplay=false immersive=false launchMode=0
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=standard
waitingVisible=false nowVisible=true lastVisibleTime=-12s404ms
connections=[ConnectionRecord{b2a7614 u0 CR com.uplus.onphone/.player.PopupPlayer:@b109867}]
resizeMode=RESIZE_MODE_RESIZEABLE
mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
translucent=false
Running activities (most recent first):
TaskRecord{5546a0e #3162 A=com.uplus.onphone U=0 StackId=102 sz=1}
Run #0: ActivityRecord{64b2438 u0 com.uplus.onphone/.activity.MainActivity t3162}
mResumedActivity: ActivityRecord{64b2438 u0 com.uplus.onphone/.activity.MainActivity t3162}
mLastPausedActivity: ActivityRecord{64b2438 u0 com.uplus.onphone/.activity.MainActivity t3162}
Stack #0: type=home mode=fullscreen
isSleeping=false
mBounds=Rect(0, 0 - 0, 0)

法三:

1、手機打開應用
2、執行:adb shell dumpsys activity top
linux: adb shell dumpsys activity | grep “mFocusedActivity”
windows: adb shell dumpsys activity | findstr “mFocusedActivity”

這種方法和法二類似,但仔細看一下下面的列印太恐怖了,我列印了安卓Launcher桌面活動資訊,居然什么都暴露了,我擦谷歌爸爸太強大了!

D:\other>adb shell dumpsys activity top
TASK com.android.systemui id=3064 userId=0
ACTIVITY com.android.systemui/.recents.RecentsActivity 1c13a90 pid=2533
Local Activity ca56c1a State:
mResumed=false mStopped=true mFinished=false
mChangingConfigurations=false
mCurrentConfig={1.0 460mcc1mnc [zh_CN_#Hans,en_US,zh_CN] ldltr sw360dp w360dp h654dp 640dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2712,1440) mAppBounds=Rect(0, 0 - 1440, 2712) mWindowingMode=fullscreen mActivityType=recents} s.45 fontTypeIndex0 forceEmbolden0}
mLoadersStarted=true
FragmentManager misc state:
mHost=android.app.Activity H o s t C a l l b a c k s @ d f 5 b 1 f e m C o n t a i n e r = a n d r o i d . a p p . A c t i v i t y HostCallbacks@df5b1fe mContainer=android.app.Activity HostCallbacks@df5b1femContainer=android.app.ActivityHostCallbacks@df5b1fe
mCurState=3 mStateSaved=true mDestroyed=false
ViewRoot:
mAdded=true mRemoved=false
mConsumeBatchedInputScheduled=false
mConsumeBatchedInputImmediatelyScheduled=false
mPendingInputEventCount=0
mProcessInputEventsScheduled=false
mTraversalScheduled=false mIsAmbientMode=false
android.view.ViewRootImpl N a t i v e P r e I m e I n p u t S t a g e : m Q u e u e L e n g t h = 0 a n d r o i d . v i e w . V i e w R o o t I m p l NativePreImeInputStage: mQueueLength=0 android.view.ViewRootImpl NativePreImeInputStage:mQueueLength=0android.view.ViewRootImplImeInputStage: mQueueLength=0
android.view.ViewRootImplKaTeX parse error: Expected '}', got '#' at position 338: …....I. 0,0-0,0 #?102018a android…HostCallbacks@de35f9e
mContainer=android.app.Activity H o s t C a l l b a c k s @ d e 35 f 9 e m C u r S t a t e = 5 m S t a t e S a v e d = f a l s e m D e s t r o y e d = f a l s e V i e w R o o t : m A d d e d = t r u e m R e m o v e d = f a l s e m C o n s u m e B a t c h e d I n p u t S c h e d u l e d = f a l s e m C o n s u m e B a t c h e d I n p u t I m m e d i a t e l y S c h e d u l e d = f a l s e m P e n d i n g I n p u t E v e n t C o u n t = 0 m P r o c e s s I n p u t E v e n t s S c h e d u l e d = f a l s e m T r a v e r s a l S c h e d u l e d = f a l s e m I s A m b i e n t M o d e = f a l s e a n d r o i d . v i e w . V i e w R o o t I m p l HostCallbacks@de35f9e mCurState=5 mStateSaved=false mDestroyed=false ViewRoot: mAdded=true mRemoved=false mConsumeBatchedInputScheduled=false mConsumeBatchedInputImmediatelyScheduled=false mPendingInputEventCount=0 mProcessInputEventsScheduled=false mTraversalScheduled=false mIsAmbientMode=false android.view.ViewRootImpl HostCallbacks@de35f9emCurState=5mStateSaved=falsemDestroyed=falseViewRoot:mAdded=truemRemoved=falsemConsumeBatchedInputScheduled=falsemConsumeBatchedInputImmediatelyScheduled=falsemPendingInputEventCount=0mProcessInputEventsScheduled=falsemTraversalScheduled=falsemIsAmbientMode=falseandroid.view.ViewRootImplNativePreImeInputStage: mQueueLength=0
android.view.ViewRootImpl I m e I n p u t S t a g e : m Q u e u e L e n g t h = 0 a n d r o i d . v i e w . V i e w R o o t I m p l ImeInputStage: mQueueLength=0 android.view.ViewRootImpl ImeInputStage:mQueueLength=0android.view.ViewRootImplNativePostImeInputStage: mQueueLength=0
Choreographer:
mFrameScheduled=false
mLastFrameTime=74902929 (9414 ms ago)
View Hierarchy:
DecorView@3260a7f[LauncherExtension]
android.widget.LinearLayout{c10568 V.E… … 0,0-1440,2880}
android.view.ViewStub{b9f5a4c G.E… …I. 0,0-0,0 #102018a android:id/action_mode_bar_stub}
android.widget.FrameLayout{1d23605 V.E… … 0,0-1440,2880 #1020002 android:id/content}
com.android.launcher3.LauncherRootView{6ee4c6f V.E… … 0,0-1440,2880 #7f0900a4 app:id/launcher}
android.widget.ImageView{d4f0c87 G.ED… …I. 0,0-0,0 #7f09002b app:id/blur_background_in_bottom_of_rootview}
com.android.launcher3.dragndrop.DragLayer{4f5ef54 V.E… … 0,0-1440,2880 #7f090056 app:id/drag_layer}
com.android.launcher3.FocusIndicatorView{324ca95 V.ED… … 0,96-208,304 #7f090064 app:id/focus_indicator}
com.android.launcher3.Workspace{7e3a7b4 V.ED…L. … -2909,-2189-4349,5069 #7f090163 app:id/workspace}
com.android.launcher3.CellLayout{54a0481 VFED…CL. … 2949,2365-4309,4469}
android.widget.LinearLayout{a1d7aa I.E… … 0,0-0,0}
android.widget.ImageButton{c1acf9b VFED…C… …I. 0,0-0,0}
com.android.launcher3.ClickShadowView{f8dcf38 V.ED… … 0,0-320,468}
com.android.launcher3.ShortcutAndWidgetContainer{1d47b11 V.E… … 0,0-1360,2104}
FolderIcon {手機管理}
android.widget.ImageView{51dc476 V.ED… … 8,6-264,262 #7f0900ec app:id/preview_background}
AppIcon {手機管理}
AppIcon {聯系人}
AppIcon {檔案管理器}
AppIcon {計算器}
AppIcon {Quick備忘錄+}
AppIcon {設定}
com.android.launcher3.CellLayout{18f8967 VFED…CL. … 4389,2365-5749,4469}
android.widget.LinearLayout{8ccca77 I.E… … 0,0-0,0}
android.widget.ImageButton{3eca6e4 VFED…C… …I. 0,0-0,0}
com.android.launcher3.ClickShadowView{ef4b74d V.ED… … 0,0-320,468}
com.android.launcher3.ShortcutAndWidgetContainer{99b202 V.E… … 0,0-1360,2104}
AppIcon {豌豆莢}
AppIcon {支付寶}
AppIcon {百度網盤}
AppIcon {微信}
AppIcon {高德地圖}
AppIcon {美團}
AppIcon {QQ}
AppIcon {優酷視頻}
AppIcon {網易云音樂}
AppIcon {手機淘寶}
AppIcon {王者榮耀}
AppIcon {當當}
AppIcon {迅雷}
AppIcon {WiFi萬能鑰匙}
AppIcon {發現精彩}
AppIcon {LBE安全大師}
AppIcon {Chrome}
com.android.launcher3.CellLayout{815503 VFED…CL. … 5829,2365-7189,4469}
android.widget.LinearLayout{5399713 I.E… … 0,0-0,0}
android.widget.ImageButton{13f4d50 VFED…C… …I. 0,0-0,0}
com.android.launcher3.ClickShadowView{d627b49 V.ED… … 0,0-320,468}
com.android.launcher3.ShortcutAndWidgetContainer{7f4ec4e V.E… … 0,0-1360,2104}
AppIcon {無人農機終端}
AppIcon {UTSmartCook}
com.android.quickstep.views.RecentsViewContainer{59c916f G.E… …I. 0,0-0,0 #7f0900de app:id/overview_panel_container}
com.android.quickstep.views.LauncherRecentsView{2d3ee7c V.ED… …ID 0,0-0,0 #7f0900dd app:id/overview_panel}
com.android.quickstep.views.ClearAllButton{6ce8305 VFED…C… …I. 0,0-0,0 #7f09003c app:id/clear_all_button}
android.widget.FrameLayout{cb77f5a V.E… …I. 0,0-0,0 #7f0900dc app:id/overview_guide_ani_view}
android.widget.LinearLayout{c8ad58b V.E… …I. 0,0-0,0 #7f0900df app:id/overview_swipeup_arrow}
android.view.View{8af7668 I.ED… …I. 0,0-0,0 #7f0900e0 app:id/overview_swipeup_guide_arrow1}
android.view.View{5394a81 I.ED… …I. 0,0-0,0 #7f0900e1 app:id/overview_swipeup_guide_arrow2}
com.android.launcher3.SwipeUpGuideText{ede3726 I.ED… …I. 0,0-0,0 #7f0900e2 app:id/overview_swipeup_guide_text}
com.android.launcher3.Hotseat{6cf3f67 V.E… … 0,2436-1440,2712 #7f090087 app:id/hotseat}
com.android.launcher3.CellLayout{3e3627b V.ED…L. … 0,0-1440,276 #7f0900a7 app:id/layout}
android.widget.LinearLayout{c399114 V.E… … 0,0-0,0}
android.widget.ImageButton{82f0dbd VFED…C… …I. 0,0-0,0}
com.android.launcher3.ClickShadowView{f669fb2 V.ED… … 40,0-428,324}
com.android.launcher3.ShortcutAndWidgetContainer{9066b03 V.E… … 40,0-1480,276}
AppIcon {手機}
AppIcon {資訊}
AppIcon {照相機}
AppIcon {圖片庫}
android.widget.Button{3a8aa80 GFED…C… …I. 0,0-0,0 #7f09004e app:id/default_screen}
com.lge.launcher3.OverViewPanel{447b0ac I.E… … 0,2248-1440,2712 #7f0900af app:id/lg_overview_panel}
android.widget.FrameLayout{1c3c8b9 V.E… … 0,0-360,464}
android.widget.TextView{f9b04fe VFED…C… … 30,0-330,273 #7f090147 app:id/widget_button}
android.widget.FrameLayout{afab45f G.E… …I. 0,0-0,0}
android.widget.TextView{2deeac VFED…C… …ID 0,0-0,0 #7f090141 app:id/wallpaper_button}
android.widget.FrameLayout{74f3775 V.E… … 360,0-720,464}
android.widget.TextView{91e730a VFED…C… … 30,0-330,273 #7f090136 app:id/theme_button}
android.widget.FrameLayout{cc0377b G.E… …I. 0,0-0,0}
android.widget.TextView{2e14998 VFED… …ID 0,0-0,0 #7f090116 app:id/settings_button_vzw}
android.widget.FrameLayout{1e8d5f1 G.E… …I. 0,0-0,0}
android.widget.TextView{ab8b5d6 VFED… …ID 0,0-0,0 #7f09005b app:id/dynamic_gird_button}
android.widget.FrameLayout{190d057 V.E… … 720,0-1080,464}
android.widget.TextView{46d6744 VFED…C… … 30,0-330,273 #7f090115 app:id/settings_button}
android.widget.FrameLayout{aa3e02d V.E… … 1080,0-1440,464}
android.widget.TextView{5e25962 VFED…C… … 30,0-330,326 #7f0900f1 app:id/recent_uninstall_button}
com.lge.launcher3.dynamicgrid.DynamicGridPannelView{c681af3 G.E… …I. 0,0-0,0 #7f0900d9 app:id/overview_dynamic_panel}
android.widget.LinearLayout{b7bb3b0 V.E… …I. 0,0-0,0}
android.widget.LinearLayout{e8b5229 VFE…C… …I. 0,0-0,0 #7f0900d5 app:id/overview_dynaic_grid_layout1}
android.widget.ImageView{910a9ae V.ED… …I. 0,0-0,0 #7f0900d1 app:id/overview_dynaic_grid_icon1}
android.widget.TextView{a5f734f V.ED… …ID 0,0-0,0 #7f0900e3 app:id/overview_text1}
android.widget.LinearLayout{de05adc VFE…C… …I. 0,0-0,0 #7f0900d6 app:id/overview_dynaic_grid_layout2}
android.widget.ImageView{65de7e5 V.ED… …I. 0,0-0,0 #7f0900d2 app:id/overview_dynaic_grid_icon2}
android.widget.TextView{2c1b2ba V.ED… …ID 0,0-0,0 #7f0900e4 app:id/overview_text2}
android.widget.LinearLayout{6c9f56b VFE…C… …I. 0,0-0,0 #7f0900d7 app:id/overview_dynaic_grid_layout3}
android.widget.ImageView{88648c8 V.ED… …I. 0,0-0,0 #7f0900d3 app:id/overview_dynaic_grid_icon3}
android.widget.TextView{e0a1d61 V.ED… …ID 0,0-0,0 #7f0900e5 app:id/overview_text3}
android.widget.LinearLayout{9484086 VFE…C… …I. 0,0-0,0 #7f0900d8 app:id/overview_dynaic_grid_layout4}
android.widget.ImageView{5107d47 V.ED… …I. 0,0-0,0 #7f0900d4 app:id/overview_dynaic_grid_icon4}
android.widget.TextView{a1b2974 V.ED… …ID 0,0-0,0 #7f0900e6 app:id/overview_text4}
android.widget.LinearLayout{7ea2e9d V.E… …I. 0,0-0,0}
android.widget.Button{357df12 VFED…C… …I. 0,0-0,0 #7f0900db app:id/overview_dynamicgrid_cancel_btn}
android.widget.Button{c4da6e3 VFED…C… …I. 0,0-0,0 #7f0900da app:id/overview_dynamicgrid_apply_btn}
com.lge.launcher3.pageindicator.PageIndicatorExtension{e89fc50 V.E… … 606,2280-834,2436 #7f0900e7 app:id/page_indicator}
com.lge.launcher3.pageindicator.PageIndicatorMarkerExtension{413b6b2 VFE…CL. … 0,40-76,116}
android.widget.ImageView{c7b68e0 V.ED… … 20,20-56,56 #7f090091 app:id/inactive}
android.widget.ImageView{7c01799 V.ED… … 20,20-56,56 #7f090013 app:id/active}
com.lge.launcher3.pageindicator.PageIndicatorMarkerExtension{dbb3603 VFE…CL. … 76,40-152,116}
android.widget.ImageView{d50da5e V.ED… … 20,20-56,56 #7f090091 app:id/inactive}
android.widget.ImageView{a9ce3f V.ED… … 20,20-56,56 #7f090013 app:id/active}
com.lge.launcher3.pageindicator.PageIndicatorMarkerExtension{8090bb9 VFE…CL. … 152,40-228,116}
android.widget.ImageView{8de330c V.ED… … 20,20-56,56 #7f090091 app:id/inactive}
android.widget.ImageView{1719455 V.ED… … 20,20-56,56 #7f090013 app:id/active}
android.widget.LinearLayout{74c3e6a V.E… … 654,2272-786,2436 #7f090126 app:id/swipeup_arrow}
android.view.View{6770f5b I.ED… …I. 0,0-132,132 #7f090127 app:id/swipeup_guide_arrow1}
android.view.View{2c173f8 I.ED… …I. 0,32-132,164 #7f090128 app:id/swipeup_guide_arrow2}
com.android.launcher3.SwipeUpGuideText{78420d1 I.ED… …I. 0,2264-1440,2436 #7f090129 app:id/swipeup_guide_text}
com.lge.launcher3.droptarget.LGSearchDropTargetBar{7e7d736 I.E… …ID 0,136-1440,345 #7f09010c app:id/search_drop_target_bar}
android.widget.FrameLayout{b0d4637 V.E… …ID 0,0-1440,209 #7f090057 app:id/drag_target_bar}
android.widget.FrameLayout{595d7a4 G.E… …ID 0,0-1440,209}
com.android.launcher3.DeleteDropTarget{558f90d V.ED… …ID 0,0-1440,209 #7f09004f app:id/delete_target_text}
android.widget.FrameLayout{fd230c2 V.E… …ID 0,0-1440,209}
com.lge.launcher3.droptarget.LGUninstallDropTarget{5e8305c V.ED… …ID 0,0-1440,209 #7f09013d app:id/uninstall_target_text}
android.widget.FrameLayout{f660ed3 G.E… …ID 0,0-1440,209}
com.lge.launcher3.droptarget.CancelDropTarget{12aca10 V.ED… …ID 0,0-1440,209 #7f090034 app:id/cancel_target_text}
android.widget.FrameLayout{1291909 G.E… …ID 0,0-1440,209}
com.lge.launcher3.droptarget.DisableDropTarget{a16970e V.ED… …ID 0,0-1440,209 #7f090050 app:id/disable_target_text}
android.widget.LinearLayout{78c52f V.E… … 0,0-1440,209}
com.lge.launcher3.droptarget.LGUninstallDropTarget{da773c G.ED… …ID 0,0-0,0 #7f09001f app:id/all_apps_uninstall_target_text}
com.lge.launcher3.droptarget.DisableDropTarget{1c13cc5 G.ED… …ID 0,0-0,0 #7f09001a app:id/all_apps_disable_target_text}
com.android.launcher3.DeleteDropTarget{529161a G.ED… …ID 0,0-0,0 #7f090019 app:id/all_apps_delete_target_text}
android.widget.TextView{956854b G.ED… …I. 0,0-544,184}
android.widget.TextView{975cb28 G.ED… …I. 0,0-544,184}
android.widget.TextView{3fde041 G.ED… …I. 0,0-544,184}
android.widget.TextView{b279e6 G.ED… …I. 0,0-544,184}
com.lge.launcher3.widgettray.LGWidgetContainerView{6f7ec34 GFE… …ID 0,96-1440,2712 #7f090161 app:id/widgets_view}
android.widget.LinearLayout{baf9307 V.E… …ID 0,0-1440,2616 #7f090149 app:id/widget_container}
android.widget.FrameLayout{b062b27 V.E… …ID 0,0-1440,176}
com.lge.launcher3.allapps.AllAppsSearch{9f071d4 G.E… …I. 0,0-0,0 #7f090155 app:id/widget_search_bar}
android.widget.ImageView{c073f7d VFED…C… …I. 0,0-0,0 #7f09001e app:id/all_apps_search_exit}
android.widget.SearchView{c1c4e72 VFE… …I. 0,0-0,0 #7f09001d app:id/all_apps_search_edittext}
android.widget.LinearLayout{62052c3 V.E… …I. 0,0-0,0 #10203d1 android:id/search_bar}
android.widget.TextView{accd740 G.ED… …I. 0,0-0,0 #10203d0 android:id/search_badge}
android.widget.ImageView{e4d5679 GFED…C… …I. 0,0-0,0 #10203d2 android:id/search_button}
android.widget.LinearLayout{1dcdfbe V.E… …I. 0,0-0,0 #10203d4 android:id/search_edit_frame}
android.widget.ImageView{22b581f G.ED… …I. 0,0-0,0 #10203d6 android:id/search_mag_icon}
android.widget.LinearLayout{848276c V.E… …I. 0,0-0,0 #10203d7 android:id/search_plate}
android.widget.SearchViewKaTeX parse error: Expected '}', got '#' at position 55: …....ID 0,0-0,0 #?10203d8 android…SearchAutoComplete{4c9f2b1 VFED…CL. …ID 0,0-0,0 #10203d8 android:id/search_src_text}
android.widget.ImageView{7d47396 GFED…C… …I. 0,0-0,0 #10203d3 android:id/search_close_btn}
android.widget.LinearLayout{cb11b17 G.E… …I. 0,0-0,0 #1020434 android:id/submit_area}
android.widget.ImageView{873bb04 GFED…C… …I. 0,0-0,0 #10203d5 android:id/search_go_btn}
android.widget.ImageView{55a08ed GFED…C… …I. 0,0-0,0 #10203da android:id/search_voice_btn}
android.widget.ImageView{a5c3322 G.ED… …I. 0,0-0,0 #7f09002c app:id/blur_background_in_top_of_draglayer}
android.view.ViewStub{f2251b3 G.E… …I. 0,0-0,0 #7f0900a6 app:id/launcher_overlay_stub}
Looper (main, tid 2) {9f38370}
Message 0: { when=+3s125ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 1: { when=+14s461ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 2: { when=+14s525ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 3: { when=+14s743ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 4: { when=+14s896ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 5: { when=+40s43ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 6: { when=+40s43ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 7: { when=+57s234ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
Message 8: { when=+57s788ms what=2 target=com.lge.launcher3.liveicon.LiveIcon$1 }
(Total messages: 9, polling=false, quitting=false)
AutofillManager:
sessionId: -2147483648
state: UNKNOWN
context: com.lge.launcher3.LauncherExtension@11b312f
client: com.lge.launcher3.LauncherExtension@11b312f (android.os.BinderProxy@a1d820)
enabled: false
hasService: true
hasCallback: false
onInvisibleCalled false
last autofilled data: null
tracked views: null
fillable ids: null
entered ids: null
save trigger id: null
save on finish(): false
compat mode enabled: false
debug: false verbose: false
Autofill Compat Mode: false
ResourcesManager:
cached apks: 0 [cache disabled]
total apks: 3
resources: 4
resource impls: 3

4、卸載你想卸載的應用

上一步中我們拿到了你想要的卸載應用的包名了,這一步就小兒科了!
提供下面命令:

卸載: adb shell pm uninstall --user 0 應用包名
停用: adb shell pm disable-user 應用包名
啟用: adb shell pm enable 應用包名

參考:
【1】、adb命令查看當前運行activity
【2】、android 開發中Adb命令的使用查看所有的Apk包

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/41925.html

標籤:其他

上一篇:谷歌瀏覽器之安裝插件(SwitchyOmega_Chromium)提示程式包無效:"CRX_HEADER_INVALID"

下一篇:大疆無人機安卓Mobile Sdk開發(一)簡單介紹

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • 2023年最新微信小程式抓包教程

    01 開門見山 隔一個月發一篇文章,不過分。 首先回顧一下《微信系結手機號資料庫被脫庫事件》,我也是第一時間得知了這個訊息,然后跟蹤了整件事情的經過。下面是這起事件的相關截圖以及近日流出的一萬條資料樣本: 個人認為這件事也沒什么,還不如關注一下之前45億快遞資料查詢渠道疑似在近日復活的訊息。 訊息是 ......

    uj5u.com 2023-04-20 08:48:24 more
  • web3 產品介紹:metamask 錢包 使用最多的瀏覽器插件錢包

    Metamask錢包是一種基于區塊鏈技術的數字貨幣錢包,它允許用戶在安全、便捷的環境下管理自己的加密資產。Metamask錢包是以太坊生態系統中最流行的錢包之一,它具有易于使用、安全性高和功能強大等優點。 本文將詳細介紹Metamask錢包的功能和使用方法。 一、 Metamask錢包的功能 數字資 ......

    uj5u.com 2023-04-20 08:47:46 more
  • vulnhub_Earth

    前言 靶機地址->>>vulnhub_Earth 攻擊機ip:192.168.20.121 靶機ip:192.168.20.122 參考文章 https://www.cnblogs.com/Jing-X/archive/2022/04/03/16097695.html https://www.cnb ......

    uj5u.com 2023-04-20 07:46:20 more
  • 從4k到42k,軟體測驗工程師的漲薪史,給我看哭了

    清明節一過,盲猜大家已經無心上班,在數著日子準備過五一,但一想到銀行卡里的余額……瞬間心情就不美麗了。最近,2023年高校畢業生就業調查顯示,本科畢業月平均起薪為5825元。調查一出,便有很多同學表示自己又被平均了。看著這一資料,不免讓人想到前不久中國青年報的一項調查:近六成大學生認為畢業10年內會 ......

    uj5u.com 2023-04-20 07:44:00 more
  • 最新版本 Stable Diffusion 開源 AI 繪畫工具之中文自動提詞篇

    🎈 標簽生成器 由于輸入正向提示詞 prompt 和反向提示詞 negative prompt 都是使用英文,所以對學習母語的我們非常不友好 使用網址:https://tinygeeker.github.io/p/ai-prompt-generator 這個網址是為了讓大家在使用 AI 繪畫的時候 ......

    uj5u.com 2023-04-20 07:43:36 more
  • 漫談前端自動化測驗演進之路及測驗工具分析

    隨著前端技術的不斷發展和應用程式的日益復雜,前端自動化測驗也在不斷演進。隨著 Web 應用程式變得越來越復雜,自動化測驗的需求也越來越高。如今,自動化測驗已經成為 Web 應用程式開發程序中不可或缺的一部分,它們可以幫助開發人員更快地發現和修復錯誤,提高應用程式的性能和可靠性。 ......

    uj5u.com 2023-04-20 07:43:16 more
  • CANN開發實踐:4個DVPP記憶體問題的典型案例解讀

    摘要:由于DVPP媒體資料處理功能對存放輸入、輸出資料的記憶體有更高的要求(例如,記憶體首地址128位元組對齊),因此需呼叫專用的記憶體申請介面,那么本期就分享幾個關于DVPP記憶體問題的典型案例,并給出原因分析及解決方法。 本文分享自華為云社區《FAQ_DVPP記憶體問題案例》,作者:昇騰CANN。 DVPP ......

    uj5u.com 2023-04-20 07:43:03 more
  • msf學習

    msf學習 以kali自帶的msf為例 一、msf核心模塊與功能 msf模塊都放在/usr/share/metasploit-framework/modules目錄下 1、auxiliary 輔助模塊,輔助滲透(埠掃描、登錄密碼爆破、漏洞驗證等) 2、encoders 編碼器模塊,主要包含各種編碼 ......

    uj5u.com 2023-04-20 07:42:59 more
  • Halcon軟體安裝與界面簡介

    1. 下載Halcon17版本到到本地 2. 雙擊安裝包后 3. 步驟如下 1.2 Halcon軟體安裝 界面分為四大塊 1. Halcon的五個助手 1) 影像采集助手:與相機連接,設定相機引數,采集影像 2) 標定助手:九點標定或是其它的標定,生成標定檔案及內參外參,可以將像素單位轉換為長度單位 ......

    uj5u.com 2023-04-20 07:42:17 more
  • 在MacOS下使用Unity3D開發游戲

    第一次發博客,先發一下我的游戲開發環境吧。 去年2月份買了一臺MacBookPro2021 M1pro(以下簡稱mbp),這一年來一直在用mbp開發游戲。我大致分享一下我的開發工具以及使用體驗。 1、Unity 官網鏈接: https://unity.cn/releases 我一般使用的Apple ......

    uj5u.com 2023-04-20 07:40:19 more