- Environment configuration
- Java JDK
- Android SDK
- 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.
- Problems encountered:
Too much.
- 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.
- 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)
?
?
- 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.
?
- 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.
?
?
?
?
?
?
- Summarize
The configuration must be correct, the network environment must be correct
?
?
?
?
?
?
?
?
?
Android Start-Stop debugging