Android Ddms cannot view the/data/data directory

Source: Internet
Author: User

Problem:

Today I would like to check the database file under the app, open the Ddms view, then find the data path in the File Explorer and click the expand icon on the left to find it can't be expanded.


Workaround:

1. First make sure your phone is root, (Xiaomi phone needs to use the development version, stable version cannot root)

2. If you do not configure the Android SDK environment variable, go to your Android SDK path below to locate the Platform tools directory;

3. Open the start-----> Run---->CMD,CD to the Platform tools directory;

4. Enter two commands in the MS-DOS interface:

adb shell su-c "chmod 777/data"

adb shell su-c "chmod 777/data/data"


If no accident, you try to open the/data/data directory will be successful!

Android Ddms cannot view the/data/data directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.