Android Start-Stop debugging

Source: Internet
Author: User

  1. Environment configuration
    1. Java JDK
    2. Android SDK
    3. Eclipse + ADT

    Resources:

    http://tools.android-studio.org/#userconsent # Android Resource Encyclopedia

    Note: The previous old version of ADT is no longer available, for 2014, the SDK is still available.

  2. Problems encountered:

    Too much.

    1. SDK content Paser problem.

      This is due to multiple eclipse, which is configured to cause pits in different places.

      such as directory: C:/user/.data C:/user:workspace/.meta and so on.

    2. The problem with the V7 package

      Error message:

      ?

      Note: Do not attempt to change our parent by changing Theme.AppCompat.light's apptheme. Such a scheme is not feasible.

?

?

Resources:

http://blog.csdn.net/fancylovejava/article/details/44218511

http://blog.csdn.net/karen_wang/article/details/6903975

Http://bbs.csdn.net/topics/390682650?page=1

?

Different versions of the V7 package are not the same, if we want to fit our own version of the Android SDK, we must download the corresponding version.

This is a must, be sure to remember.

We have an opportunistic approach, is to download the latest version of the SDK and the latest version of the V7 package, so that the V7 resource package will not be wrong.

Flag for Configuration success:

Correct configuration: (Project needs to be added by itself)

?

?

    1. When we install the above configuration, run to the above step, there is a pit,

?

It is necessary to put the referenced resource file project (Android.support.v7.appcompat here) and your application under a drive letter, or you will not find the repository.

?

Experimental validation:

Put the THISHMI_ZK under a different drive letter, start the configuration program, and found an error. That is, the resource file and the project file must be under the same drive letter, or the project will have a bug. This bug is too much for people to say.

?

Change back: In automatic compilation, no error. In other words, it is the error above.

?

?

4) Tips

Tip: If you change the Chinese font for Java.

Windows à prefenrence Open

?

You cannot open two projects with the same name in a program:

?

?

5) The SDK is having problems

?

Trying to delete configuration information is a problem caused by configuration information.

?

This program has not been shut down, a lot of problems.

Solution: May be the ADB issue, turn off Eclipse, restart, issue resolution.

?

  1. using Programs

    ?

    ZMQ-side TCP communication, the server side is the flat side, the client is the industrial computer side. The addresses must be fixed at both ends.

    In the following instance, the Tablet notebook ip:192.168.3.139, port: 8484.

    Industrial computer ip:192.168.3.140, port: 6969.

    ?

    ?

    ?

    ?

    Interesting phenomenon:

    Using the tools below, Tcp-clint did the experiment and I couldn't get the data.

    But in the program with the above code to collect data, but can be received, the personal feel may be zmq with the communication itself problems.

    But ZMQ send, in C # inside through the socket but can receive data. That's a strange question.

    ?

    ?

    ?

    ?

    ?

    ?

  2. Summarize

The configuration must be correct, the network environment must be correct

?

?

?

?

?

?

?

?

?

Android Start-Stop debugging

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.