Android cmd command finishing series

Source: Internet
Author: User
First, the ADB command to view the activity Stack 1. Command:

ADB shell Dumpsys Activity

2. Operation Result:

Due to the long execution result, I will be useful to separate several images to intercept:
Results: The first part:

Results Part Two:

Results Part III:

Results Part IV:

Results Part V:

Result Part VI:

Second, the ADB command to view database details 1. Command:

Command 1: Enter the app's databases directory:
CD data/data/<-Package name->/databases
Command 2: Open a specific database:
Sqlite3 xutils.db
Command 3: View all the table listings under the database:
. Tables
Command 4: View table structure operations:
SELECT * from sqlite_master where type = "Table";
Command 5: View table Data operations:
SELECT * from Com_gu_test_pojo_user;

2. Operation Result:

Third, get the SHA1 value of Android signing certificate 1. Command:

1. Use the cmd command to switch the working directory to the. Android Directory
2, Input: Keytool-list-keystore debug.keystore
3, enter the KeyStore password: If not set, this is empty, go directly to enter

2. Operating effect:

Android cmd command finishing series

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.