How to find the apk path on android?

旧城冷巷雨未停 提交于 2019-12-13 02:39:08

问题


I installed my android app(apk file) on my phone, when I go to my files: i can't find my com.myappnamefoler.net in folder(/sdcard/Android/data). is there a default path?


回答1:


check in data/data/com.myappnamefoler.net




回答2:


You should find in /system/app or /data/app




回答3:


If you saved the files in the folder provided by getFilesDir() , it will be in the folder /data/data/<your.package.name>/files in the root of your system, not on your sdcard. (To view this, your phone needs to be rooted)

If you saved the files in the folder provided by getExternalFilesDir(), it will be in the folder /sdcard/Android/data, /sdcard0/Android/data or a similar directory.



来源:https://stackoverflow.com/questions/12596959/how-to-find-the-apk-path-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!