Debugging in Android project development is very important. The following is a record from the previous articles:
The biggest headache for programmers is Bug and debug. This debug lasted 20 days, and I made a failover. Tired, because of Android compatibility, different mobile phones may have different bugs, and it is difficult to reproduce, So I went online and found a similar
, the error that cannot find the package usually occurs. So how can we modify, compile, and debug the android source code? What tools does Google use to develop android?This question will be answered later.
The following describes how to establish an android development envi
/apps/into Eclipse, there is usually an error that the package cannot be found. So how do we modify, compile, debug the Android source code? What tools does Google use to develop Android?
The question is answered in the back.
The following is a systematic account of the creation of the
1) Error 1c/c++ problemProblemDescriptiondescription Resource Path Location TypeMake.exe: * * * [obj/local/armeabi-v7a/libtest.so] Error 1c/c++ problemSolveUnable to locate the relevant error message through Eclipse, so enter the project's JNI directory, execute the ndk-build instruction, and print out detailed error d
Afinal jar package for code obfuscation error, afinaljar code obfuscation
Code obfuscation is used today. After the obfuscation, the APP cannot run and an error is reported. Because the project only uses the third-party libraries of Afinal, the answers provided on the Intern
, leaving only the two pointed to by '1' (Note: delete all here for convenience. If. jar is used, you can add their paths.
For example: 5.0.1 ContactsCommon uses geocoder-2.9.jar and libphonenumber-6.2.jar)
Click '+' to which '2' points, select 'jars or directories 'to which '3' points, and add the frameworks and external folders in sequence. For example:
Code of other versions may be displayed as follows when frameworks is added:
It does not matter
The previous articles have introduced how to download and compile the Android or CM source code, but they are always in the extended series.With the deepening of learning, the android source code is of great reference and learning value. We strongly recommend that you download, compile, and learn it. Therefore, we will
1. Import project Error
When importing an existing project in eclipse, the Android version mismatch error often occurs.
Solution: Right-click the project node, select the Properties command, and select the appropriate target from the android Project Build target.
Figure 1 52 Project Properties dialog box
2. @ override
Cocos2d-x 3.2 compiled to generate Android program error solution, cocos2d-xandroid
Recently upgraded to the official version of Cocos2d-x 3.2, iOS program compilation is no problem, the Results Use cocos compile-p android compiler to generate the APK program, the results of the tragedy, the following error occurs.
Error in using java. util. Properties in Android, utilproperties
Try to use java today. util. properties to save the application configuration. However, there are several problems that may be the same errors for beginners who are familiar with this content, but it is inevitable that new users like me will encounter it again, I hope this article will be helpful.
Error
step is to compile! Open the terminal, cd to the project folder, and execute the following command: cocos compile-p android press enter to start compilation. The compilation process will be slow. You can have a cup of coffee and wait ...... If
[Armeabi] Compile ++ thumb: cocos2dcpp_shared
[Armeabi] Compile ++ thumb: cocos2dcpp_shared
In this case, the error must be caused by an
Js error when packaging android app with egret, egretandroid
Create an android app and generate an apk after compilation. The app cannot run after the mobile phone is installed. The following error is displayed:JS errorReport error assets/egret-game/libs/core/egret/context/d
Android obtains the application signature in the Code. android code
At ordinary times, the signature information is obtained by using the AS command... No signature has been obtained in the code ~
It's also an old programming. It's a little embarrassing if you haven't done t
Official Document link: http://source.android.com/source/using-eclipse.html
This document will help you set up the Eclipse IDE for Android platform development.
Note: If you are looking for information on how to use eclipse to develop applications that run on Android, this is not the right page for you. you probably wocould find the eclipse page on developer.android.com more useful.Basic setup
First, it'
variable is possible before or after this statement.
Then we can open the new project, which is the Android.mk file:As you can see, some are preceded by a # symbol, which is the statement that is commented out. From these commented out statements can see the import Cocosbuilder, Cocostudio and other libraries are commented out, we want to use the words need to uncomment, in addition to the import module, you can see the Import extensions extension, The Cocosbuilder Editor extension has bee
Android v7 package import common errors, and project reference v7 package error solution, androidv7
In android, v4 v7 v21 and other packages are extended support packages for the android system. You just want to install windows System patches.
Android extension packages are
error that cannot find the package usually occurs. So how can we modify, compile, and debug the android source code? What tools does Google use to develop android?
This question will be answered later.
The following describes how to establish the Eclipse Android development
Next to my solution:1. Ensure that the target version of the AppCompat project is below the Android version of the actual project2. Make sure that the AppCompat project code is the same as the Eclipse tool code, and I made this mistake, causing the reference appcompat to always fail ...My eclipse environment is utf-8 encoded, but the AppCompat project is created
Android NDK development common error, androidndk
Error 1:
Make: *** No rule to make target '/cygdrive/d/1-workspace/showmap-android-opengles/jni/showmap_opengles_OpenGLESRenderer.c ', needed by '/cygdrive/d/1-workspace/showmap-android-opengles/obj/local/armeabi/objs/OpenGLES
Android server development (1) Android and PHP connection database verification login function (with all code ). Android server development (1) Android uses PHP to connect to the database and verify the login function (with all the code
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.