List of installed apps not showing in Settings


Question

Perhaps naively, I switched the sd card between my phone and my tablet.



Trouble was some of my phone apps has been installed on the sd card and they no longer work, I felt at the time that I could live with that.



The thing is that as the internal memory starts to fill up again, I can no longer bring up the list of apps from the settings screen. When I click on it, it shows the circle like it's working on it but never finishes the job! I'm guesnig this may be because it's looking for apps that were on the sd card which I removed. This is a pain as I can't move or delete any of the apps that are left (in the internal storage).



However, recently my memory went critical and at that point the phone was able to show me a list of apps which allowed me to chose some for deletion, but this only comes up when the phone memory gets critical. So it must be possible for the OS to find the list of apps.



Is there a way to move the apps to the SD card using an app or a PC?



I have an HTC One_M8, Android 6.0 and HTC sense version 7.0.


Answer

You can use for that (please see the corresponding tag-wiki for details on what ADB is and how to get it working on your computer):



# list all user-installed packages
adb shell "pm list packages -3"
# now pick one app of that list you want to get rid of
adb uninstall com.package.name


That way you could clean up the apps you don't have access to any longer anyway. As for moving apps to the SD card, at least you can define it as "default storage" for new installations (as long as the apps do support that):



# 0=let the OS decide; 1=internal, 2=external storage:
adb shell "pm set-install-location 2"


However, I'm not aware of any command to move already installed apps. The only thing I know of is you can specify the install location explicitly when you install an app, see How to move spcific apps to/from sd card using ADB? on our sister site.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes