Android: apps crashes every time i try to open file manager - General Questions and Answers

Hello all, I have a very big problem: If I open an app that needs to interact with my file manager, when I try to save some data or pick some file the app crash.
For example: I have a Logcat app, If I try to change the position where I want to save the logs, the app crash.
Same for another app that needs to pick a file from the file manager. If I tap on "select file" the app crash.
In my opinion apps don't find the file manager installed in my terminal, but I don't know how to fix the problem (I have already tried with different file managers). Maybe there is a sort of block in my android rom?
thanks all for your help!

auron98x23 said:
Hello all, I have a very big problem: If I open an app that needs to interact with my file manager, when I try to save some data or pick some file the app crash.
For example: I have a Logcat app, If I try to change the position where I want to save the logs, the app crash.
Same for another app that needs to pick a file from the file manager. If I tap on "select file" the app crash.
In my opinion apps don't find the file manager installed in my terminal, but I don't know how to fix the problem (I have already tried with different file managers). Maybe there is a sort of block in my android rom?
thanks all for your help!
Click to expand...
Click to collapse
TBH: This is too simple explained.
You need to explain what sort of files you want to open from which source (Folder...)
You need to explain where you want to store which files.

rigattoni said:
TBH: This is too simple explained.
You need to explain what sort of files you want to open from which source (Folder...)
You need to explain where you want to store which files.
Click to expand...
Click to collapse
I'm so sorry. I will try to be more specific.
First of all, I find a specific error regarding one of this app:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=/ (has extras) }
Regarding this specific error, the app should make me select a .db file. But As I said before, crash every time I tap on "select file"
The other app is called logcat reader:
Logcat Reader - Apps on Google Play
View your device's logs
play.google.com
And crash every time I try to change the folder where the app save the .txt log.
My android version is 11. Actually my file manager is Google file
Files by Google - Apps on Google Play
Clean up your phone, find files, play media, and share files offline
play.google.com
If you need more details please let me know.

auron98x23 said:
I'm so sorry. I will try to be more specific.
First of all, I find a specific error regarding one of this app:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=/ (has extras) }
Regarding this specific error, the app should make me select a .db file. But As I said before, crash every time I tap on "select file"
The other app is called logcat reader:
Logcat Reader - Apps on Google Play
View your device's logs
play.google.com
And crash every time I try to change the folder where the app save the .txt log.
My android version is 11. Actually my file manager is Google file
Files by Google - Apps on Google Play
Clean up your phone, find files, play media, and share files offline
play.google.com
If you need more details please let me know.
Click to expand...
Click to collapse
I never tried to read the logs on the unit... Download it to the PC and open it in Notepad++.
On top: You can read the logs in Logcat app itself, if it´s really needed.
I still don´t get your intention for changing folders at all.

rigattoni said:
I never tried to read the logs on the unit... Download it to the PC and open it in Notepad++.
On top: You can read the logs in Logcat app itself, if it´s really needed.
I still don´t get your intention for changing folders at all
Click to expand...
Click to collapse
It was an example.
The problem is that every time an app require to work with the file manager, the app crash.
For example:
I have a music app, and I need to restore a backup (.db) of my song, but I can't open the backup file, because every time I try to tap on "select file" the app crash.
With the logcat I discover that this is the error:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=/ (has extras) }
I don't know how I can fix it. Do you have any suggestions?

Sorry, I have no idea what is going on on your unit.

auron98x23 said:
Hello all, I have a very big problem: If I open an app that needs to interact with my file manager, when I try to save some data or pick some file the app crash.
For example: I have a Logcat app, If I try to change the position where I want to save the logs, the app crash.
Same for another app that needs to pick a file from the file manager. If I tap on "select file" the app crash.
In my opinion apps don't find the file manager installed in my terminal, but I don't know how to fix the problem (I have already tried with different file managers). Maybe there is a sort of block in my android rom?
thanks all for your help!
Click to expand...
Click to collapse
sorry for replying to an old thread, but did you find a fix? im having the same issue

Related

[Q] Cannot Find out Appname <-> APK

Hello,
in short: I would like to find out apk names to listed apps.
In Settings->Applications->Manage applications there is a list of all installed applications.
For example there is an app called "Bebbled" listed in "Manage applications". How do I find out, what the name of the corresponding apk file is ?
In /system/app there is nothing to find with the name "Bebbled".
It is a stock mobile with android 2.3.6, no further applications installed by me yet.
Thanks in advance,
Peter
ptosch said:
Hello,
in short: I would like to find out apk names to listed apps.
In Settings->Applications->Manage applications there is a list of all installed applications.
For example there is an app called "Bebbled" listed in "Manage applications". How do I find out, what the name of the corresponding apk file is ?
In /system/app there is nothing to find with the name "Bebbled".
It is a stock mobile with android 2.3.6, no further applications installed by me yet.
Thanks in advance,
Peter
Click to expand...
Click to collapse
You may need to search in /data/app/ too. If you still cannot find the file with the app display name then most likely it's named with the app internal name.
To find out the internal name you can google the app name.
Eg: Search for "Bebbled" returns:
https://play.google.com/store/apps/details?id=com.devuni.multibubbles.trial
You can then try to find and see if there is a filename similar to the above.
I personally like to use ApkInstaller for this kind of work. (Manage Apps -> Long press the app name -> Detail)
Thank You very much, this is exactly what I was looking for.
Cheers,
Peter

[Q] "google play services" requirement without gapps

Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
wkwkwk said:
Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
Click to expand...
Click to collapse
What is this problematic app?
thenookieforlife3 said:
What is this problematic app?
Click to expand...
Click to collapse
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
wkwkwk said:
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
Click to expand...
Click to collapse
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
thenookieforlife3 said:
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
Click to expand...
Click to collapse
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
wkwkwk said:
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
Click to expand...
Click to collapse
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Instead, try the following steps:
1. Copy the .apk file to a safe, secure place as a backup.
2. Download and/or open up an archive management program, i.e. 7zip or WinRAR.
3. Navigate to the directory where the .apk you want to mod is located. Not the backup one, of course!
4. Extract the .apk to a folder of your choice. Folder name example - "[name_of_app] modding" (without quotes).
5. Open up your regular file manager and navigate to that folder you just extracted to. Modify the files you want to modify.
6. Now, pay close attention to this part - In your archive manager, go into the acual .apk file you want to modify. It will just open right up as if it was a .zip.
7. Navigate to the directory in the .apk where the files you modded belong.
8. Now, back to your file explorer, click-and-drag the file(s) you modified from the file explorer window to the archive manager window. Drop the file in the archive manager window. It will ask you if you're sure that you want to overwrite, hit "Yes".
9. Once the file's in place, close the archive manager to finalize the change.
10. Now, all you have to do is put the modified app back on your device, use a tool like ZipSigner (find on Google Play) to resign it, and install!
Please do give me a few post thanks if the above instructions helped you. :good:
thenookieforlife3 said:
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Click to expand...
Click to collapse
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
wkwkwk said:
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
Click to expand...
Click to collapse
That's odd, because that method is what has consistently worked for me!

how to find apks on my device

Hi everyone,
There is a way to find the .apk of apps downloaded from playstore. ull need root and root browser, we will use here esfile explorer. open esfile explorer and press top left-->tools enable root explorer and show hidden files, then go to local-->device now go to file data-->app and thats it, to find system apps u can go to device-->system-->app.
Wiked dudes production
Pull Apk in Non-Rooted Device.
There is no need of a rooted device,
you can pull the apk by using following techniques.
//_______________________________________________________
A) Using ADB
1) Determine the package name of the app, e.g. "com.whatsapp" (WhatsApp).
if you don't know the package name, you have 2 options to get the package name
i) Visit play store and search for the desired application, The link of the app contains the package name. "https://play.google.com/store/apps/details?id=com.whatsapp" (WhatsApp) where com.whatsapp is the package name
ii) use command "adb shell pm list packages" , this will list the package name of all application installed.
2) Once you know the package name, get the apk installed path by using command "adb shell pm path com.whatsapp"
it will return the apk path of the application, like this
package:/data/app/com.whatsapp-2/base.apk
3) Now to pull apk, by using command "adb pull /data/app/com.whatsapp-2/base.apk"
Apk will be extracted to the same folder where adb is present
//_______________________________________________________
B) Using ESFileExplorer
1) Open ESFileExplorer and navigate to User Apps either by (swiping left to right twice) or (goto APP under Library in Navigation Drawer)
2) Select App you want to pull, and click on Share.
3) Share the Apk to another device via Bluetooth or to desktop via AirDroid,
shanrais said:
There is no need of a rooted device,
you can pull the apk by using following techniques.
//_______________________________________________________
A) Using ADB
1) Determine the package name of the app, e.g. "com.whatsapp" (WhatsApp).
if you don't know the package name, you have 2 options to get the package name
i) Visit play store and search for the desired application, The link of the app contains the package name. "https://play.google.com/store/apps/details?id=com.whatsapp" (WhatsApp) where com.whatsapp is the package name
ii) use command "adb shell pm list packages" , this will list the package name of all application installed.
2) Once you know the package name, get the apk installed path by using command "adb shell pm path com.whatsapp"
it will return the apk path of the application, like this
package:/data/app/com.whatsapp-2/base.apk
3) Now to pull apk, by using command "adb pull /data/app/com.whatsapp-2/base.apk"
Apk will be extracted to the same folder where adb is present
//_______________________________________________________
B) Using ESFileExplorer
1) Open ESFileExplorer and navigate to User Apps either by (swiping left to right twice) or (goto APP under Library in Navigation Drawer)
2) Select App you want to pull, and click on Share.
3) Share the Apk to another device via Bluetooth or to desktop via AirDroid,
Click to expand...
Click to collapse
ur right however, not all system apps are present using the second way, and first way is complicated for some people and might confuse them. if someone would want to change something he saw on google, that is connected to system apps or other stuff"like systemui" i think rooting and copying the apk from its directory is best. btw thanks for ur concern about this, believe it or not for the first 7 month i posted this it posted in android wear, and no one was commenting, i made it with the xda app, i think it has alot of bugs.
Lord_of_Death said:
ur right however, not all system apps are present using the second way, and first way is complicated for some people and might confuse them. if someone would want to change something he saw on google, that is connected to system apps or other stuff"like systemui" i think rooting and copying the apk from its directory is best. btw thanks for ur concern about this, believe it or not for the first 7 month i posted this it posted in android wear, and no one was commenting, i made it with the xda app, i think it has alot of bugs.
Click to expand...
Click to collapse
IMO, if one is able to root the phone, then he will certainly not find any complication in pulling apk using first way.
shanrais said:
IMO, if one is able to root the phone, then he will certainly not find any complication in pulling apk using first way.
Click to expand...
Click to collapse
u might be right bro but rooting is only downloading a file and flashing it through odin.

I need to clear phone storage but Gallery app won't let me.

I have a full storage on my Galaxy S6 32G, and I'm really trying to clear a lot of photos which are about 6,000... the problem is, that every time I log onto the gallery app, it atomically tells me I have to clear my files and redirects me to the files app, where it tells me the same thing any time I click on any photo. It's telling me to clear ffilefiles while not allowing me to see any, and I want to see my photos also. How can I look at them???
Over a PC?
peteypaul said:
I have a full storage on my Galaxy S6 32G, and I'm really trying to clear a lot of photos which are about 6,000... the problem is, that every time I log onto the gallery app, it atomically tells me I have to clear my files and redirects me to the files app, where it tells me the same thing any time I click on any photo. It's telling me to clear ffilefiles while not allowing me to see any, and I want to see my photos also. How can I look at them???
Click to expand...
Click to collapse
Install a file manager, you can try with ES File Explorer, Astro File Manager, or any other file manager of your choice.
Uzair40 said:
Install a file manager, you can try with ES File Explorer, Astro File Manager, or any other file manager of your choice.
Click to expand...
Click to collapse
He stated in the OP that his storage is full.
@peteypaul You can eighter try connecting to your computer and remove/backup from there, or you can go to settings - storage and delete you "Cached Data" / Any big files under "Miscellaneous files"
- Renolz

gaint .thumbnail folder

Hi guys! I have an Xperia Z3 D6633 running on official Android version 6.0.1 with build number 23.5.a.1.291 rooted.My problem is that almost 5.0 GB of my internal storage is consumed by ".thumbnails" folder which I want to delete. I have searched some solutions and found out that normally people get some free space till these files reappear and in the mean time they can make this space useful but the case is different here. I have tried to delete this folder and all the containing files but even though the folder disappears for some time, I still don't get any free space even for a short time and the files start to reappear after some time. I don't have any Gallery other than the Album app and as it cannot be deleted, I have tried disabling but the problem still remains. I have also tried creating a new folder with the same name but the system would rename it to ".thumbnails 1" and another folder with the name ".thumbnails" would reappear . I had the same problem also with Lollipop on this device. I use FILE KOMMANDER, it is the system app.
Any help is highly appreciated.
Try MiXplorer from XDA (file commander isnt so good) then delete the .thumbs folder
Try Ccleaner from play store
Try SD Maid from play store
Try clearing data from Settings - apps - Media Storage (all your media will appear to be gone. It is still there but the phone wont see it until you reboot / download and run Media.re.scan from play store)
I wouldn't really know what else to suggest other than a clean install of your ROM even if it is stock as this seems like a bug
Ehab alz said:
Hi guys! I have an Xperia Z3 D6633 running on official Android version 6.0.1 with build number 23.5.a.1.291 rooted.My problem is that almost 5.0 GB of my internal storage is consumed by ".thumbnails" folder which I want to delete. I have searched some solutions and found out that normally people get some free space till these files reappear and in the mean time they can make this space useful but the case is different here. I have tried to delete this folder and all the containing files but even though the folder disappears for some time, I still don't get any free space even for a short time and the files start to reappear after some time. I don't have any Gallery other than the Album app and as it cannot be deleted, I have tried disabling but the problem still remains. I have also tried creating a new folder with the same name but the system would rename it to ".thumbnails 1" and another folder with the name ".thumbnails" would reappear . I had the same problem also with Lollipop on this device. I use FILE KOMMANDER, it is the system app.
Any help is highly appreciated.
Click to expand...
Click to collapse
thumbnails folder store preview for all of your photos that you see on your gallery app (taken w camera or from whatsapp), if you want a smaller folder, transfer some pics to your pc or go cloud with google photos
xkeita said:
thumbnails folder store preview for all of your photos that you see on your gallery app (taken w camera or from whatsapp), if you want a smaller folder, transfer some pics to your pc or go cloud with google photos
Click to expand...
Click to collapse
no i want it removed not reduced size
Ehab alz said:
no i want it removed not reduced size
Click to expand...
Click to collapse
FYI .thumbnails folder will always exist to make android media work properly, easiest method is delete those folder (.thumbnails) then create file named .thumbnails
In my case I'm using es file explorer, best file manager ever for me
You should accept all consequences, app that using photo preview from Android Media will not show or buggy (ie. Instagram, Facebook)
ryandxter said:
FYI .thumbnails folder will always exist to make android media work properly, easiest method is delete those folder (.thumbnails) then create file named .thumbnails
In my case I'm using es file explorer, best file manager ever for me
You should accept all consequences, app that using photo preview from Android Media will not show or buggy (ie. Instagram, Facebook)
Click to expand...
Click to collapse
i tried that already(with es file explorer)and nothing happend and the 5 GB sill occupied!!

Categories

Resources