Reprinted from: Wang Bin's blog address: http://blog.sina.com.cn/s/blog_55f899fb0102wcwg.html
Visual Studio Professional 2015 (with Update2) (Professional Edition):Simplified Chinese versionHttp://download.microsoft.com/download/c/2/3/c23cdcdd-4dbb-4c4d-aec5-34898906d756/vs2015.2.pro_chs.iso?|| sha1:c90a6703f676e3265483f4ed8e7c01f01194e647Visual
Genymotion package containing VirtualBox, as shown in the red box section:
After the download is complete, start the installation. Run the Genymotion software and you will be prompted to create a virtual device. Click "yes" to create a virtual device:
Use the previously registered account for connection:
Then select one of the simulators:
Of course, if you want to run the program on the simulator, make sure that the simulator has loaded the
Android Studio series tutorial 1 download and installation background Android Studio VS Eclipse prepare to download and create the HelloWorld project, androidhelloworld
Android
Create a blank project MyApplication, the project directory is as follows:1). Idea. idea is a number of XML configuration files, including copyrights. This section is limited in knowledge and will be supplemented by subsequent understandings.2) AppApp to MyApplication is equivalent to project's workspace for Eclipse, which belongs to module in Android Studio. The
Android studio NDK configuration tutorial on Mac (2), androidndkAndroid studio NDK configuration tutorial on Mac (ii) (I) Overview
In the previous NDK configuration tutorial (I), I briefly described the basic decompression and environment configuration steps for NDK in MAC.
This section describes how to confi
variable for the expression at the current cursor and use the expression as its assignment statementDefault configuration key:Ctrl ALT v12, Main menu/view/tools Window Display method parameter type hint (CTRL p)Function: When pressed, it will prompt the parameter list of the method at the current cursor, which is useful for viewing the reuse method.Default configuration key:Ctrl P13, Main Menu/view/tools Window Display method prompt information (CTRL q)Function: When pressed, it will prompt the
Android Studio development RecyclerView Problems and Solutions (2), studiorecyclerview
When developing RecyclerView, You need to import other people's examples. I imported them from github. Download The github compressed package and decompress it to check whether the file you want to import is priject or Module. (most
When compiling code in Android Studio 1.2.2 today, you encounter a warning message that getdrawable (int) is obsolete in resources:Warning: (133, Java:android.content.res.Resources) getdrawable (int) is obsoleteView [1] To summarize the following information:There are two methods in the resources class that are deprecated in API level 22:Obsolete interface: drawable getdrawable (int id)Alternate interface:
Some uses of activity1. Open Android Studio,new a projectStart a application name:firstactivity (fully demonstrate our rookie quality first), click Next, select Phone and Tablet, the smallest SDK I choose 2.3.3,Continue to click Next, would like to choose no activity, and later found a little trouble, so choose blank activity (rookie don't like too much trouble), to this, you have succeeded half (cheat you)
;getintfield (env, coord, xId);Print x data to determine if the value is correct during Android operationLOGD ("x =%d", x);Fragment 2: Calling the initial methodFind Class class COORDJclass cls = (*env)->findclass (env, "Com/oki/led/jni/nativeobj/coord");Call its initialization method on this classJmethodid id = (*env)->getmethodid (env, CLS, "To convert data from a CLS class to a Jobject classJobject param
Use of Baidu map under Android Studio (2) -- positioning service, androidstudio
In the previous chapter (http://www.cnblogs.com/jerehedu/p/4891216.html) we have completed the establishment of the environment, this chapter we will study how to use.Step 1: Add the following permissions to the xml file:
Step 2: Add a map
-1; ++i) { for(intj =0; J size-1-I.; ++J) {if(jints[j]1]) {intT=JINTS[J]; jints[j]=jints[j+1]; jints[j+1]=t; } } }//Update the sorting results to the Java array, the third parameter equals 0 to update to the original array and release all elements Env->releaseintarrayelements (Array,jints,0);return;}//在Java中调用print("通过JNI对int数组排序:");Test.sortIntArray(rs);print(IntArrayToString(rs));
As you can see here, instead of returning an array, w
Using the wizard-built project, the default API level is 23.Api23 is not included in the httpclient. API21 contains the httpclient, which describes how to use API21:The Build.gradle in theCompilesdkversion set to 21Buildtoolsversion set to "21.1.1"Targetsdkversion set to 21Comment out compile ' com.android.support:appcompat-v7:23.0.1 'After the modification, if compiled at this time, will be error:Will style name="Apptheme" parent= "Theme.AppCompat.Light.DarkActionBar" > Modified to:style name
/>.However, the project has actually added the V4 package under the Libs folder, causing the conflict, so the above exception occurred.Solution: Just block compile ' com.android.support:cardview-v7:21.+ ' this sentence. Recompile to pass.2 "When error code=3:Colleagues say that as long as the Build.gradle file is added,dexoptions{javamaxheapsize "3g"}can be passed. But no concrete practice has been done.This article is from the "Chihiro" blog, please
renewing it for almost two years. (through this link to purchase, your account can be discounted 10 yuan)DownloadOfficial download has two places, all need FQ.
Android Developer Official website
The site of the Android Developer website can be downloaded directly, but this site seems to only update beta and the official version, currently only upda
After reading the previous books, I have a certain understanding of Linux kernel and Android. Do you want to compile your own Android source code? I am always used to using Windows, but Android source code does not support compiling on Windows. Therefore, I decided to use a virtual machine to install Ubuntu and then download
This article is mainly taken from: http://source.android.com/source/downloading.html, and added AnnotationInstalling Repo
Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, seeVersion Control.
To install, initialize, and configure Repo, follow these steps:
Make sure you have a bin/directory in your home directory, and that it is stored in your path:$ mkdir ~/bin$ PATH=~/bin:$PATH
Android 5.0 kernel and source code learning (2)-source code download and system startup process analysis, android5.0
I,AndroidSource code download
The last time I briefly introduced the hierarchical structure of the Android system, I started to figure it out-
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.