목차

Android Studio

설치

brew install --cask android-studio

문서

오류들

붙여넣기 안되는 경우

Setting → Editor → General → Limits → Maximum number of contents to keep in clipboard : 의 값을 1로 변경한다.

Cannot resovle symbole `R`

XML 파일에 문제가 생길경우에 나타나는 오류임. XML파일의 모든 오류를 제거해야 한다. 이경우에는 @color/primary 로 정의된 내용이 없어서 난 오류이다.
res/values/colors.xml 파일을 만들고, 안에 내용을 넣었다.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- Colours for API <21 -->
    <color name="primaryDark">#800000</color>
    <color name="primary">#700000</color>
    <color name="primary_pressed">#700080</color>
    <color name="ripple1">#008000</color>
    <color name="light">#800080</color>
    <color name="accent">#FF0000</color>

</resources>

http://stackoverflow.com/questions/26444391/primary-dark-color-android-under-api-21

다운로드

http://developer.android.com/sdk/installing/studio.html 에서 다운로드 한다.

실행

시작화면


intelliJ IDEA 기반의 안드로이드 개발 환경이다.

hello world 올리기

참고


관련 문서