안드로이드 스튜디오가 빨라서 좋기는한데.. 오류를 백만번 만나는듯....


sdk location not found define location with sdk dir in the local properties file or with an android_home environment variable



내컴퓨터 - 우클릭 - 속성 - 고급시스템설정 - 환경변수 - 시스템 변수 - 새로만들기



변수이름 : ANDROID_HOME 

변수 값 : 현재 설치되어있는 android sdk 경로설정.



android studio 재시작.


하면 정상적으로 동작됩니다.



step 1.


  project에서 마우스 우클릭 하여 메뉴에서 export - generate Gradle build files 클릭하여 완료한다.



 step 2.


  안드로이드 스튜디오(android studio) 에서 file - import project 프로젝트를 선택해서 project를 가져온다.

\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.

\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.

\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.

\appcompat_v7\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.

...

...

...

...



[myProject]/project.properties 파일 열기(open)


 

내용을 아래 내용으로 수정.


target=android-21

android.library.reference.1=../appcompat_v7



으로 수정하고 저장후 prject - clean 하면 정상 동작.



step 1.


  help - installation details - android development tools 삭제(uninstall)


 이전 adt를 삭제





step 2.


 help - install new software - add



 name : adt

 location : https://dl-ssl.google.com/android/eclipse/



 finish 클릭(click)하여 설치.





 step 3.


 window - android sdk Manager - android sdk tools 체크(check)- install packages - finish - eclipse restart







 안드로이드 스튜디오(android studio) 마우스 오버시 주석 내용 표시하기




 File - Setting 선택





 Editor 를 선택한후에 하단에 보이는 Show Quick doc on mouse move 체크






 이제 함수나 변수에 마우스를 가져다 대면 자동적으로 주석이 표시됩니다.









안드로이드 스튜디오(android Studio) class 생성시 주석 넣기.

 


File - Setting 이동






 File and Code Templates - includes 로 이동한이후 File Header의 내용을 수정하면 됩니다.



개발 환경 잡은 이후 가장 먼저 하는 폰트 변경 방법 공유합니다.






 안드로이드 스튜디오 안드로이드 스튜디오(android Studio)에서 폰트를 변경하기 위해서는,

 File-Settings 을 선택합니다.






 창이 뜨면 왼쪽 메뉴에서 Editor를 선택하여 하위창을 열고, Colors&Font를 선택합니다.







 이후 Scheme를 추가하여야 하므로 save as를 눌러 scheme를 추가합니다.






schmem를 선택한이후 폰트를 선택하여줍니다.




  File-Settings-Editor-Colors&Font- Scheme save as..- font





 eclipse에서 자주사용하는 자동 import (ctrl+shift+o)기능을 android stuido에서 조금더 편하게

자동으로 생성 관리를 해주는 방법이 있어 공유합니다.


android studio 에서  File -> Settings -> Editor -> Auto Import -> Java


으로 이동한 이후에,


Insert imports on paste 에 있는 값을 All 로 변경


Add unambigious imports on the fly 를 체크




단축키를 누를 필요없이 자동으로 사용하는 클래스가 없으면 import에서 삭제되고 추가됩니다.



http://stackoverflow.com/questions/16615038/what-is-the-shortcut-to-auto-import-all-in-android-studio




ADT 개발이 중단되고 안드로이드 스튜디오 android studio로 옮겨야 하는 상황에서 


 이번에 실행해보고 이것저것 하는데 이래저래 걸리는 부분이 많이있네요.ㅠ


 그러다 화면에 거슬리는 선이 있어서 없애려고하는데 없애지지도 않아


 한참을 찾은것같습니다.





 방법은


 File -> settings -> editor -> appearance -> show right margin 을 체크 해제하시면 됩니다.



출처 : 

 http://stackoverflow.com/questions/3480826/adding-a-column-guideline-to-the-editor-in-intellij



 이름       : 다이어트 카메라(Diet Camera)

분류       : 도구

가격       : 무료

언어       : 무관

제작자    : CONNIE

스토어    : 안드로이드 마켓

상세정보 : 



 



설명
세상에 넘쳐나는 치킨 떡볶이 피자 족발 보쌈 햄버거 말해도 말해도 끝이 없구나!!!
그들의 유혹에서 넘어날수있는 단한가지 방법!
피할수 없다면 찍어라!
다이어트가 아닌 식이요법의 신기원!!
찍는 자만이 살아남으리라!


세상에는 언제나 맛있는 음식들이 넘쳐나고 있습니다.

눈을 감아봐도 냄새를 맡지 않으려 노력해봐도 자꾸만 유혹하는 음식!

아무리 다이어트를 해도 식습관을 바꾸지 않는다면 말짱 도루묵

칼로리를 아무리 검색해보고 체크하면서 먹으려 노력해봐도

아무리 운동해봐도 식성 자체를 바꾸어야만 가능한일.

맛있는 음식은 아무리 칼로리가 높아도 먹게되는것이 인지상정

먹어도 먹어도 언제나 배고픈 당신을 위해 만들었습니다.

뛰는 다이어트가 아닙니다.

사용법은 간단합니다.

맛있는 음식을 사진 한장만 찍으면 됩니다.

약간의 조작으로 인해 먹고싶은 입맛이 달아남을 느끼실겁니다.

반드시 다이어트에 성공하시길 빌겠습니다.!






+ Recent posts