open:android-studio

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

시작화면


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

hello world 올리기

  • open/android-studio.txt
  • 마지막으로 수정됨: 2023/04/24 05:04
  • 저자 MORO