도전2022

Getting Started with Android Studio 본문

작업/work2014

Getting Started with Android Studio

hotdigi 2014. 1. 10. 21:50

드디어 안드로이드 개발 환경 구축이 쉬울 듯 하군

아직 1.0이 나올때까지는 문제점이 많이 있을 듯 합니다. 




http://developer.android.com/sdk/installing/studio.html


Getting Started with Android Studio

EARLY ACCESS PREVIEW

Download Android Studio v0.3.2
for Windows

This download includes:

  • Android Studio early access preview
  • All the Android SDK Tools to design, test, debug, and profile your app
  • The latest Android platform to compile your app
  • The latest Android system image to run your app in the emulator

Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging. On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more.
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine as server-side components.

Caution: Android Studio is currently available as anearly access preview. Several features are either incomplete or not yet implemented and you may encounter bugs. If you are not comfortable using an unfinished product, you may want to instead download (or continue to use) the ADT Bundle(Eclipse with the ADT Plugin).

Updating from older versions


If you already have Android Studio installed, in most cases, you can upgrade to the latest version by installing a patch. From within Android Studio, select Help > Check for updates (on Mac, Android Studio > Check for updates) to see whether an update is available.

If an update is not available, follow the installation instructions below and replace your existing installation.

Caution: Replacing your existing installation of Android Studio will remove any additional SDK packages you've installed, such as target platforms, system images, and sample apps. To preserve these, copy them from your current SDK directory under Android Studio to a temporary location before installing the update. Then move them back once the update is complete. If you fail to copy these packages, then you can instead download them again through the Android SDK Manager.

Also note that due to the update to Android Gradle Plugin 0.6, you will encounter errors when opening existing projects. See the Troubleshooting notes below for information about how to resolve them.

Installing Android Studio


  1. Download the Android Studio package from above.
  2. Install Android Studio and the SDK tools:

    Windows:

    1. Launch the downloaded EXE file, android-studio-bundle-<version>.exe.
    2. Follow the setup wizard to install Android Studio.

      Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.

      Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.7.0_21.

    Mac OS X:

    1. Open the downloaded DMG file, android-studio-bundle-<version>.dmg.
    2. Drag and drop Android Studio into the Applications folder.

      Known issue: Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, go to System Preferences > Security & Privacy and under Allow applications downloaded from, select Anywhere. Then open Android Studio again.

    Linux:

    1. Unpack the downloaded Tar file, android-studio-bundle-<version>.tgz, into an appropriate location for your applications.
    2. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh.

      You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.

That's it! You're ready to start developing apps with Android Studio.

Note: On Windows and Mac, the individual tools and other SDK packages are saved within the Android Studio application directory. To access the tools directly, use a terminal to navigate into the application and locate the sdk/directory. For example:

Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\

Mac: /Applications/Android\ Studio.app/sdk/

For a list of some known issues, see tools.android.com/knownissues.

Starting a Project


When you launch Android Studio for the first time, you'll see a Welcome screen that offers several ways to get started:

  • To start building a new app, click New Project.

    This starts the New Project wizard, which helps you set up a project using an app template.

  • To import an existing Android app project, click Import Project.

    Note: If you previously developed your Android project with Eclipse, you should first use the new export feature in the ADT plugin to prepare your project with the new Gradle build system. For more information, read Migrating from Eclipse.

For additional help using Android Studio, read Tips and Tricks.

As you continue developing apps, you may need to install additional versions of Android for the emulator and other packages such as the Android Support Library. To install more packages, use the SDK Manager, which you can open from Android Studio by clicking SDK Manager  in the toolbar.

Revisions


Android Studio v0.3.2 (Oct 2013)

 

Note: Periodic updates are pushed to Android Studio without requiring you to update from here. To manually check for updates, select Help > Check for updates (on Mac, select Android Studio > Check for updates).

Troubleshooting


Figure 1. Error dialog when opening an existing project.

Error: Gradle project refresh failed

Android Studio 0.2.0 has updated the Gradle plug-in to 0.5.0, which is not backwards compatible. When opening a project that uses an older version of the plug-in, Studio will display the error shown in figure 1 in the upper right corner of the IDE. To resolve the error, you must change the version of the Android Gradle plug-in to 0.5.0.

  1. Click the link in the error dialog Search in build.gradle files. If the dialog is no longer visible, click Event Log  in the bottom-right corner of the IDE, then click Search in build.gradle files.
  2. Double-click the line under the build.gradle usage. For example: classpath 'com.android.tools.build:gradle:0.4. This opens the project build.gradle file.
  3. Edit the classpath to change the gradle version to 0.5.+. For example:
    dependencies {
      classpath 'com.android.tools.build:gradle:0.5.+'
    }
    
  4. Save the file and rebuild your project.

Figure 2. Error dialog when creating a new project or opening a project using the support library.

Error: Failed to import Gradle project

If, after updating to Android Studio 0.2.x and creating or opening a project, you receive an error stating "Could not find any version that matches com.android.support:support-v4:13.0.+", then you must install the Android Support Repository. This was likely caused because you're pointing Android Studio to an external Android SDK location that does not have the new Maven repository included with Android Studio 0.2.x. This new Maven repository is used by the new build system for the Support Library, instead of using the Support Library JAR files, so must be present in the SDK.

  1. Open the Android SDK Manager.
  2. Expand the Extras directory and install Android Support Repository.

If you've encountered other problems in Android Studio, look at the following page for possible resolutions to known issues: http://tools.android.com/knownissues.




사용법 

 
안드로이드 개발 환경을 구축하기 위해서는 통상 JDK(Java Development kit) 설치, 이클립스 설치, 안드로이드 SDK 설치, ADT 플러그인 설치, 에뮬레이터(AVD Android Virtual Device) 설정의 과정을 거치면서 뭐가 이렇게 복잡해! 하는 느낌을 지울수가 없었는데, 드디어 이 과정을 손쉽게 해결하면서도 개발자에게 유익한 다양한 기능이 포함된 도구가 나왔다.
 
아직 정식 버전 상태가 아닌 v 0.1.x 이지만 Android Studio를 통해 향후 발전 가능성을 짐작해 볼 수 있다.

설치가 단순해 졌지만 자바 환경을 같이 배포하지는 않기 때문에 자바환경(JDK, Java Development kit)이 아직 준비되지 않았다면 먼저 JDK를 설치해야 한다. 이미 JDK가 설치되어 있다면 이 단계는 넘어간다.
 
 

* 자바 개발 환경 설치(JDK,  Java Development kit) 

자바 환경은 JRE(Java Runtime Environment)와 JDK 형태로 배포하는데, 안드로이드 개발을 위해서는 실행 환경만 있는 JRE가 아니라 실행 환경과 개발 환경이 모두 포함되어 있는 JDK를 설치해야한다.
 
http://www.oracle.com/technetwork/java/javase/downloads/index.html에서 아래의 그림과 같이 좌측 하단에 있는 JDK DOWNLOAD를 클릭하여 다운로드 받을 수 있다.
사용자 삽입 이미지
 
다음 다운로드 화면에서 라이선스에 동의하고 사용하는 운영체제에 맞는 JDK를 다운로드 받아 설치하면 된다. 예제에서는 Windows x86(jdk-7u25-windows-i586.exe)를 설치했다.
 
설치 프로그램을 실행시키면 현재의 환경을 분석하고 아래와 같은 화면이 나오는데 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 
설치할 패키지와 폴더  선택은 기본값 상태로 [Next] 진행한다. 설치 폴더를 메모해 둔다.
 
사용자 삽입 이미지
 
 
설치가 끝나면 [Close]로 설치를 종료한다.
 
사용자 삽입 이미지
 
 


* 안드로이드 스튜디오 설치


http://developer.android.com/sdk/installing/studio.html에서 "Download Android Studio v0.1.x for Windows"를 클릭하고 다음 다운로드 화면에서 "I have read and agree with the above terms and conditions"를 체크하고 다운로드 버튼을 클릭해서 설치 프로그램을 다운로드 받아 설치한다.(375MB 정도의 용량이다)
 
설치 프로그램을 실행시키고 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 
JDK가 설치되어 있는지 자동 검색하는데 정상적으로 JDK가 설치된것으로 인식하면 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 
사용자를 "Install for anyone"으로 선택하고 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 
설치 폴더는 기본값으로 선택하고 [Next]로 진행한다. 설치에 필요한 공간은 724MB 정도이다.
 
사용자 삽입 이미지
 
 
메모폴더는 기본값 상태로 하고  [Install]을 클릭하여 설치를 진행한다.
 
사용자 삽입 이미지
 
 
설치가 끝나면 [Next]로 진행한다.
 
사용자 삽입 이미지
  
 
끝으로 "Start Andriod Studio"를 체크하고 [Finish]를 클릭하면 설치 종료와 함께 안드로이드 스튜디오를 시작할 수 있다.
 
사용자 삽입 이미지
 
 
안드로이드 스튜디오가 정상적으로 시작하지 못하고 아래의 화면과 같은 오류가 발생한 경우에는 JAVA_HOME 환경 변수 설저어이 필요하다.
 
사용자 삽입 이미지
 
 
JAVA_HOME 환경 변수는 시작> 내 컴퓨터>속성에서 고급 탭의 환경변수 버튼을 클릭해서 설정할 수 있다. 시스템변수에 JAVA_HOME이 없으면 메모해둔 JDK 경로를 아래의 그림과 같이 JAVA_HOME으로 설정한다.
 
사용자 삽입 이미지
 
 
정상적으로 안드로이드 스튜디오가 가동되지 않는 원인중 하나는 기존에 설치되어 있는 JRE 때문일 수도 있다. 이런 경우는 JDK에 JRE환경도 포함되어 있으므로 JRE를 삭제하고 시스템을 재가동 시킨다음 시작>모든 프로그램>Android Studio에서 안드로이드 스튜디오를 실행시킨다.
 
안드로이드 스튜디오가 정상적으로 수행되면 아래와 같이 스플래쉬 화면 다음에 이전 버전의 안드로이드 스튜디오 환경을 가져올것인지를 묻는데 처음 설치하는 것이므로 "I do not have a previous version of Android Studio or I do not want to import my settings"를 선택하고 [OK]로 설치를 끝내면서 안드로이드 스튜디오 화면으로 전환한다.
 
사용자 삽입 이미지
 
 
안드로이드 스튜디오를 실행하면 아래의 그림과 같이 스튜디오 최신 버전을 업데이트 검사해주는데
 
사용자 삽입 이미지
 
 
업데이트가 있는 경우 스튜디오 메인화면 하단의 "Check for updates now"를 클릭하여 아래의 그림 처럼 "Update and Restart"를 통해서 손쉽게 새 버전으로 업데이트 할 수 있다.

 
사용자 삽입 이미지
 
 
다음의 그림은 업데이트 수행 과정을 보여주고 있으며, 업데이트가 끝나면 스튜디오로 자동 전환한다.
 
사용자 삽입 이미지
  
 

* 첫 안드로이드 어플 만들기
안드로이드 개발 환경이 제대로 동작하는지 확인하는 가장 좋은 방법은 어플을 간단하게 만들어서 직접 실행시켜보는 것이다.
안드로이드 스튜디오 메인 화면에서 "New Project"를 선택한다.
 
사용자 삽입 이미지
 
 
프로젝트 생성 화면에서 "Hello"를 모듈 및 앱 이름으로 지정하고 "Project location" 맨우측의 [...]버튼으로 프로젝트를 저장할 폴더를 지정한다. 지원하는 SDK 버전은  현재 API 1 부터 API 17(Android 4.2)까지 지원하고 있다. 필요한 항목을(예제에서는 기본값으로 선택) 선택한 다음 [Next]를 클릭한다.
 
사용자 삽입 이미지
 
 

다음은 앱의 아이콘을 만드는 화면으로 스튜디오에서 제공하는 기능을 통해서 기본 이미지, 클립아트 만으로 앱에 필요한 아이콘을 손쉽게 제작할 수 있도록 해준다. 예제에서는 PNG 형태의 이미지 파일을 선택하고 Shape를 Circle로 하여 약간의 padding을 주었다. 미리보기로 만들어질 아이콘을 확인한 다음 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 

다음 화면은 자동으로 어떤 액티비티를 만들것인지 선택하는 화면으로 예제에서는 "Blank Activity"를 선택하고 [Next]로 진행했다.
 
사용자 삽입 이미지
  
 
끝으로 자동으로 만들어질 액티비티의 이름을 지정하고(기본값) [Finish]를 클릭하면 새로운 프로젝트가 생성된다.
 
사용자 삽입 이미지
 
 
프로젝트를 생성하고 이후로 진행하는 과정에서 아래와 같은 보안 경고창이 나올 수 있는데 이들 포트를 사용할 수 있도록 차단 해제한다.
 
사용자 삽입 이미지
사용자 삽입 이미지
 
 
아래의 그림은 첫 프로젝트를 본격적으로 수행하기에 앞서 안드로이드 스튜디오가 빌드 자동화 도구인 Gradle을 자동 다운로드 및 설치하는 화면이다.
 
사용자 삽입 이미지
 
 
안드로이드 스튜디오는 새롭게 생성한 Hello 프로젝트를 열고 자동으로 빌드까지 끝내는데, 아래 그림과 같이 스튜디오를 실행할 때마다 "Tip of the Day"를 보여준다. 창이 나오지 않게 하려면 예제처럼 체크박스를 해제하고 [Close] 버튼을 클릭하면 된다. 하단 부의 툴팁을 보면 오류없이 컴파일이 끝났다라는 메시지를 확인할 수 있다. 즉, 현상태 만으로도 앱을 실행시켜 볼 수 있다는 것으로 상단의 초록색 "Run"아이콘이나 Shift+F10으로 실행시킬 수 있다.
 
사용자 삽입 이미지
  
 
앱을 에뮬레이터를 통해서 실행시켜볼 수도 있고, USB로 연결한 실제 기기를 통해서도 실행시켜 볼 수 있는데 예제에서는 에뮬레이터를 사용하고자 한다. 상단 "Hello-Hello"부분의 콤보 박스를 클릭하고 "Edit Configurations..."를 선택한다. 아래와 같이 화면이 나오면 "Target Device"에서 "Emulator"를 선택하고 AVD(Andriod Virtual Device) 항목 맨 우측에 있는 [...]버튼을 클릭하여 AVD 매니저를 가동시킨다.(이미 생성해 놓은 AVD가 있으면 이 과정은 생략한다)
 
사용자 삽입 이미지
 
 
AVD 매니저에서 [New] 버튼으로 새로운 에뮬레이터를 생성한다. Device는 적절한 것으로 고르고 AVD 이름을 지정한다.
 
사용자 삽입 이미지

 
 
AVD를 만든다음에는 AVD 매니저를 닫고 "Edit Configuration" 창에서 "Prefer Android Virtual Device"로 새로 만든 AVD를 선택하고 [OK]하면 된다. 디바이스가 준비되었으면 상단의 초록색 "Run"아이콘이나 Shift+F10으로 앱을 실행시킨다. 에뮬레이터로 실행하도록 설정해 두었으므로 아래 그림과 같이 에뮬레이터를 통해서 앱이 실행된다.
 
사용자 삽입 이미지
 
 
아래 그림을 보면 앞서 자동 생성한 아이콘으로 만들어진 앱을 확인할 수 있다.
 
사용자 삽입 이미지
 
 
위의 예제를 살펴보면 실제 프로그램 코드는 하나도 작성하지 않았지만 "Blank Activity"만으로도 "Hello World!"를 출력하는 간단한 프로그램이 자동으로 생성된 것을 확인할 수 있었다. 그렇다면 이제는 실제 코드를 수정해서 원하는 대로 앱이 동작하는지 테스트 하고자 한다.
 
 
 


* 한글 메시지 출력하기


한글 인터페이스 조정과 출력을 위해서 일단 에뮬레이터의 언어를 "한국어"로 조정한다. 그런데 테스트 시점의 4.2.2 ARM 이미지의 에뮬레이터에는 한국어가 언어에 없어서 4.1.2 용으로 앱을 빌드하고 에뮬레이터도 4.1.2용으로 AVD를 추가하여 테스트 했다.
 
아래 버전으로 앱을 만들어야 할 경우도 있으므로 참조하기 바란다.
스튜디오 메뉴 > Tools > Android > SDK Manager로 SDK manager를 가동시킨다.
 
사용자 삽입 이미지
 
 
위의 그림은 4.2.2에 4.1.2를 추가 설치한 모습인데 하위 버전을 추가 설치하려면 해당 버전의 "SDK Platform"과 "System Image"중 하나 이상을 체크한 다음 [Install packages...]를 클릭하면 자동 다운로드 및 설치를 진행한다. 예제에서는 4.1.2의 Intel x86 Atom System Image를 선택했다.
 
SDK가 준비된 다음 AVD를 생성하는 것은 앞서 설명한 방법과 동일하다. 이 또한 스튜디오 메뉴 > Tools > Android > AVD Manager로 수행할 수 있다. 아래 그림은 추가로 생성한 4.1.2의 AVD 설정이다.
 
사용자 삽입 이미지
 

 
정상적으로 AVD를 생성했으면 [Start]버튼으로 에뮬레이터를 가동시키고 Settings에서 언어를 한국어로 바꾼 상태에서 위에서 작성한 Hello 앱을 실행시켜본다. 실행전 Run > Edit Configurations에서 사용할 에뮬레이터를 새롭게 생성한 것으로 교체해준다.
 
사용자 삽입 이미지
 
 
본격적으로 코드를 수정하기 위해서 아래의 그림처럼 좌측에 있는 "Project"를 클릭하여 프로젝트 창을 열고 Hello>src>main>java>com...hello를 차례로 클릭한 다음 MainActivity를 더블클릭하여 코드 편집창을 연다.
 
사용자 삽입 이미지
 
 
코드 편집창을 통해서 내용을 보면 앱 실행결과와 같은 "Hello World!"를 직접 출력하는 곳은 없다. 대신 setContentView(R.layout.activity_main);로 미리 정의한 activity_main이란 레이아웃을 출력하도록 하고 있다.
activity_main 레이아웃을 확인하려면 프로젝트 메뉴에서 Hello>src>main>res>layout을 클릭해서 들어가면 되고 activity_main.xml을 더블클릭하면 아래의 그림과 같은 레이아웃 편집기를 만날 수 있다. 우측의 "Component Tree"창을 보면 TextView를 통해서 문자열을 표시하고 있음을 알 수 있다. 레이아웃이나 컨트롤의 속성은 하단의 "Properties"창에서 설정하면 된다.  레이아웃 편집기는 이클립스에서 사용했던 Graphical Layout Editor와  유사한데 레이아웃과 컨트롤에 대한 자세한 설명은 안드로이드 UI 만들기 - Graphical Layout Editor 사용법 익히기를 참조한다.
 
사용자 삽입 이미지
 

 
그런데 텍스트뷰 속성에 "@string"이 앞에 붙은 것은 res>values>string.xml에 해당 내용이 정의되어 있고 "@string/" 다음에 기술한 이름으로 참조하라는 의미로 아래의 그림과 같이 res>values>string.xml를 더블클릭하여 편집창에서 한글을 입력하여 메시지를 수정하면된다.

 
사용자 삽입 이미지
 
 
레이아웃 편집기로 화면을 만들다가 작성내용이 실제 어떻게 보일지 미리보기 할수 있는데, activity_main의 편집기 하단의 "Design" 탭과 "Text" 탭이 있는데 "Text"탭을 클릭하면 레이아웃 미리보기와 함께 레이아웃을 텍스트로 편집할 수 있도록 해준다.
 
사용자 삽입 이미지
 

 
아래 그림은 한글 메시지로 수정한 다음 테스트한 결과이다.
 
사용자 삽입 이미지
 

 
 

* 이클립스 안드로이드 프로젝트 가져오기

안드로이드 스튜디오에서 제작한 프로젝트와 이클립스에서 만든 프로젝트는 상호 교차 사용할 수는 없고 이클립스 프로젝트를 내보내기(Export)하고 안드로이드 스튜디오에서 들여오기(import)하는 방법이 있다.
 
스튜디오에서 들여오기 할 수 있는 형태로 이클립스 프로젝트를 내보내기 하기 위해서는 이클립스에 설치한 ADT plugin 버전이 22.0 이상이 되어야 한다. 되도록 안드로이드 스튜디오의 SDK 업데이트 상태와 동일하게 맞춘다.

이클립스 메뉴 Help>Check for updates를 수행하고 ADT 플러그인 관련 업데이트를 확인하여 설치한다.
 
사용자 삽입 이미지
 
 
설치할 업데이트에서 ADT 관련 도구 선택후 [Next]를 클릭하고 Preview 화면에서 [Next]한 다음 아래와 같은 라이선스 동의 참에서 동의후 [Finish]를 클릭하면 ADT 플러그인 업데이트를 설치할 수 있다.
 
사용자 삽입 이미지
  
 
설치과정에서 아래 같은 경고창과 방화벽 보안 경고창이 나오는데 [OK] 및 차단 해제해 준다. 그리고 이크립스 재가동을 묻는데 이클립스를 재가동시키는 것으로 ADT 플러그인 설치를 끝낼 수 있다.
 
사용자 삽입 이미지
 
 
이클립스에서 내보내기할 프로젝트의 팝업 메뉴에서 Export를 선택한다.
 
사용자 삽입 이미지
 
 
 
내보내기 형태로 "Generate Gradle build files"를 선택하고 [Next]로 진행한다.
 
사용자 삽입 이미지
 
 
끝으로 내보낼 프로젝트를 확인하고 [Finish]를 클릭하면 안드로이드 스튜디오용 파일을 내보낸다. 
 
사용자 삽입 이미지
 
 
내보낸 파일은 이클립스 프로젝트가 있는 폴더는 그대로 두고 아래의 그림 처럼 build.gradle을 추가해 준다.
 
사용자 삽입 이미지
 
 
내보내기가 정상적으로 수행되었으면 스튜디오 메인 창에서 "Import Project"를 선택한다.
 
사용자 삽입 이미지
 
 
내보내기 했던 프로젝트 폴더에서 build.gradle을 찾아 선택하고 [OK]를 클릭한다.
 
사용자 삽입 이미지
 
 

Gradle 창에서는 기본 설정 값 상태로 [OK]를 클릭하면 들여오기를 끝낼 수 있다.
주의할 점은 Import 시점에 이클립스 프로젝트에서 설정했던 타겟 플랫폼이 스튜디오 환경에서도 준비되어 있어야 한다는 점이다. 예를 들어 이클립스 프로젝트에서는 Android 2.3.3을 타겟으로 했는데 안드로이드 스튜디오 환경에 2.3.3이 없다면 정상적으로 들여오기를 할 수 없다는 것이다. 만약 이런 경우라면 앞서 4.1.2 환경을 설치한 것처럼 SDK Manager에서 해당 버전의 SDK를 설치해야만 한다. 또한 이클립스 쪽 SDK에서도 업데이트가 있는지 확인하여 설치하고, 특히 Android SDK Tools, SDK Platform-tools, SDK Build-tools등은 최신 버전으로 업데이트 한 다음 Import를 수행한다. 다시말하면 이클립스쪽 SDK와 안드로이드 스튜디오 쪽 SDK의 업데이트 상태를 동일하게 하고 내보내기/들여오기 작업을 해야 정상적으로 프로젝트 전환이 이루어질 수 있다.
 
사용자 삽입 이미지
 
 
Import가 정상적으로 수행되었으면 아래와 같이 스튜디오 프로젝트로 열리고, 안드로이드 스튜디오에서 작업할 수 있게된다.
 
사용자 삽입 이미지
 



'작업 > work2014' 카테고리의 다른 글

Android SDK Manager Log  (0) 2014.01.10
안드로이드 한글 깨짐  (0) 2014.01.10
opencv 안드로이드  (0) 2014.01.10
readelf 명령어  (0) 2014.01.10
vmware 폴더 공유  (0) 2014.01.10