본문 바로가기

DEBUG/Tools4

local에 저장되어 있는 git계정 clear 하기 한 컴퓨터에서 여러 git 서비스를 사용하는 경우 혹은 여러사람이 한 컴퓨터를 사용하는 경우미리 저장되어 있는 git 계정때문에 권한 문제로 git push가 안되거나 git clone이 안되는 경우가 종종발생한다. 아래 처럼 정확한 계정을 git url을 입력했는데도 not found 메시지가 발생할 수 있다. $ git clone http://**************/****/***/***************.gitCloning into '*******************'...remote: Not Foundfatal: repository 'http://**************/****/***/***************.git/' not found 이럴때는 git credential cach.. 2017. 3. 3.
Android Butter Knife 적용하기 Android Activity를 개발 할 때 제일 먼저 하는 일이 무엇일까? 바로 새로운 Layout을 만들어서 적용하고 Layout에 포함되어 있는 view에 event listener를 달아주거나view들을 읽어와서 business logic에 맞게 개발을 할 것이다. Layout에 포함된 view에 접근하기 위해서는 아래와 같이 작업을 하게 된다. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ImageView settingsImage = (ImageView) findViewById(R.id.imag.. 2017. 2. 4.
android studio xml preview창에서 한글이 깨질때 조치방법 Android Studio의 layout의 Preview 창에서 아래와 같이 한글이 깨질 때 조치방법 한글이 지원되지 않는 font가 설정이 되어 있어서 한글이 깨지게 된다.아래 경로에 있는 fonts.xml을 열어보면 한글이 지원되지 않는 font가 설정이 되어 있는 것을 확인 할 수 있다. /Applications/Android Studio.app/Contents/plugins/android/lib/layoutlib/data/fonts/fonts.xml NotoSansCJK-Regular.ttc -> NanumGothic.ttf로 변경을 하게 되면 한글이 나오는 것을 확인할 수 있다. 2017. 1. 18.
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! Ecliplse Maven프로젝트를 사용시 Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!와 같은 Warning Message를 만나게 되면 아래와 같이 Encoding 설정을 pom.xml에 추가한다. utf-8 utf-8 2017. 1. 11.