Android studio2.0 build robotium Environment--apk Test no confusion only signature

Source: Internet
Author: User

1. Configure the Android SDK, Java environment

2. Re-sign the apk file

In the user directory, there will be a. Android directory, put Re-sign.jar in the directory. Execute command Java-jar Re-sign.jar

Then take the apk file off to the open re-sign. Save the re-signed file.

Encounter problem: Prompt Sdk\tools\zipalign.exe does not have this file. Resolution: Copy one to this directory

3. Install the generated debug file into the night God Simulator

ADB Connect 127.0.0.1:62001
ADB devices

4. Writing code

5.

Reference: http://www.cnblogs.com/fenglie/p/4680883.html

Android studio2.0 build robotium Environment--apk Test no confusion only signature

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.