note that if you disable the 2 and 3 options, you will not be able to use the Import sample feature.You can search for plugins and install them in the Browse repositories page.Additional Plugins I personally install:
. Gitignore Support: Git Version control system . Gitignore File Management plug-in.
7Check for updates. Android
interface:
2-5
Click "finish". The project is created.
2.2 Android Studio Application Structure Analysis
Figure 2-6 shows the structure of the newly created "chapter_two" Application
2-6
1. the directory structure of Android
field can3. do not support Intant run4. Two C at the same time to achieve H method, will be an error, not allowed, logically is not allowed;5. The position of the jniutils can not be arbitrarily already, because and the C + + file is one by one corresponding reference relationship
### #使用cmake进行项目的构建* 1.cmake Editing is a new feature that is supported by Android Studio 2.2 to simplify the JNI development p
Android studio (1)
I wrote a blog for the first time and got into touch with android studio. I didn't even use eclipse before, because I wanted to make some apps for myself, so I entered the deep hole in android development. To learn new things, you still need some enthusias
added.If you have a code jump error, follow the steps above to add the path or jar file of the code to its Dependencies tab.Five, Debug source codeWe can make it as an Android project by adding the ' Android Framework ' to the project we just imported in ' Modules ', which makes it easier for us to debug the code.Android Framework support can be added as in ' 1 ' and '
1. Download Android StudioIf you already have Eclipse installed and you already have the Android SDK installed, please only lower the android Studio IDE only,:http://tools.android.com/download/studio/canary/1-3-1.Convenient for ev
NDK part
1, download NDK
here's a stroke.
2, Decompression NDK
do not unzip, file permissions will be wrong. execution, will automatically decompression, and then MV to want to put the place. I put it in the "/usr/local/bin/android-ndk-r10d" (this directory is used to refer to $ndk_dir).
3, download FFmpeg
I'm under the 2.5.3 version.
Android Studio personalized settings
The official version of Android Studio has been released for a while and has just been started. For me who are familiar with eclipse, there are still some inconveniences. The following are some settings to make Android
Android studio under the packaging of Android, and after the AAR package is imported into other Android studio projects, other projects can be easily referenced by source code and resource files.2. To generate the AAR package ste
is tab indent or space indent. It is recommended to use a space indent.Settings--and Editor-to-appearance, tick Show whitespaces.4Remove stitching check. I personally feel useless, so disable.Settings---inspections-spelling, uncheck.5If you use Git for versioning, you'll need to set up Git's installation file directory.Settings--and Version Control--git, select your git installation directory on the right.6Plug - ins. Like Eclipse, Android
Catalogue
Android Studio first Run detects Android SDK and updates, and for well-known reasons we will "unable to access Android SDK add-on list", and everyone is generally configured in advance Androi D SDK, when you really need to update the SDK Manager to manually update it.Solution:In the
# Android learning day 1 # Android Studio functions,Android Studio provides Windows, Mac OS X, and Linux versions. You can download them based on your system. For download and installation, see: http://developer.android.com/sdk/installing/studio.html#Installing
support for the other IDE's shortcut keys. It is recommended that you do not use keyboard shortcuts for other Ides, but instead use the shortcut keys for Android Studio.When you want to set a change on a shortcut key configuration, you need to clickCopyCreate your own shortcut key and set it up on top.Android Studio Default shortcut keys, code hints forCtrl+space, it conflicts with the system input keyboar
How to Use Android Studio to develop/debug the Android source code, studioandroid
This article uses the development/tools/idegen/README in the source code as the guiding document.
Environment: Ubuntu 14.10, openJdk 1.7, Android Studio 1.0.2,
Smalidea + IntelliJ IDEA/Android Studio dynamic debugging Android app tutorialSmalidea
Smalidea is an IntelliJ IDEA/Android Studio smali language plug-in that enables dynamic debugging of smali code.
Github address:https://github.com/JesusFreke/smali/wiki/smalidea
:https://b
. gradle file. For more information about Gradle Plugin, see here.{@ ProjectName} uild. gradle explanation 9buildscript {repositories {jcenter()}dependencies {classpath 'com.android.tools.build:gradle:1.0.0'}}allprojects {repositories {jcenter()}}The content of the build. gradle file in the default project directory is as follows.
Buildscript: the code used to set the driver for the build process.
Jcenter (): declare to use the maven repository. In the old version, mavenCentral ()
Offline Install Android Studio Update 1, online updateAs Android Studio becomes more sophisticated and popular, it is becoming the top choice for Android developers, both in terms of functionality and performance. But because 墙 of all the well-known reasons, when we update
is recommended to use a space indent.Settings--and Editor-to-appearance, tick Show whitespaces.7 Remove Stitching CheckI personally feel useless, so disable.Settings---inspections-spelling, uncheck.8 GitIf you use Git for versioning, you'll need to set up Git's installation file directory.Settings--and Version Control--git, select your git installation directory on the right.9 PluginsLike Eclipse, Android Studio
Android studio to start up. The solution is not to get the Android SDK component information. Here's how:1) Go to the bin directory in the newly installed Android Studio directory. Locate the Idea.properties file and open it with a text editor.
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.