http://thdev.tech/androiddev/2016/09/21/Android-Studio-Layout-Preview-Not-Korean.html

Android Studio 2.2 로 업데이트후
layout 미리보기에서 한글이 깨져서 보인다.

원인은 font.xml 에서 한글로 지정한 폰트가 한글을 지원하지 않아서 인것으로 보인다.

위의 링크가 해결 방법인데
난 mac을 쓰고 있어서 mac 방법을 했는데 해결이 안된다.

font.xml 파일을 열어보니 ko 부분이 2곳이 있다.
기존것이 없어지지 않고 추가만 됐나보다.
ko 부분의 폰트를 나눔폰트와 같이 한글을 지원하는 폰트로 설정해준다.

근데.. 2.2 업데이트된지 오래인데
이게 왜 아직도 패치가 안 되고 있나 모르겠다.
크리에이티브 커먼즈 라이센스
Creative Commons License
2017/01/11 12:22 2017/01/11 12:22

Trackback URL : http://simplelife.pe.kr/tc/trackback/715

  1. # enchantingmatri86.jimdo.com 2017/07/12 08:34 Delete Reply

    It's actually a great and useful piece of information. I am happy that you simply shared
    this useful information with us. Please stay us up to date like this.
    Thanks for sharing.

  2. # What do you do for a strained Achilles tendon? 2017/07/18 12:00 Delete Reply

    Magnificent beat ! I wish to apprentice while you amend your website, how could i subscribe for
    a blog site? The account aided me a acceptable deal.
    I were tiny bit familiar of this your broadcast provided vibrant transparent idea

  3. # fun 2017/08/10 11:50 Delete Reply

    Thanks for finally writing about >끄적거림의 자유로움
    :: <Loved it!

  4. # 강남두바이 2017/08/12 01:19 Delete Reply

    I am truly grateful to the holder of this web site who has
    shared this enormous paragraph at here.

  5. # 아질한밤풀싸롱 2017/08/12 01:26 Delete Reply

    You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand.
    It seems too complex and very broad for me. I'm looking forward
    for your next post, I'll try to get the hang of it!

  6. # 강남풀사롱 2017/08/12 01:28 Delete Reply

    I am sure this post has touched all the internet viewers,
    its really really fastidious paragraph on building up new web site.

  7. # 강남백마출장 2017/08/12 01:39 Delete Reply

    Howdy this is kinda of off topic but I was wondering if blogs
    use WYSIWYG editors or if you have to manually code with
    HTML. I'm starting a blog soon but have no coding knowledge so
    I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  8. # 강남러시아 2017/08/12 01:40 Delete Reply

    Hi there, just wanted to say, I liked this article.
    It was helpful. Keepp on posting!

  9. # 밤주의전쟁주소 2017/08/12 02:01 Delete Reply

    Good post. I learn something totally new and challenging on blogs I stumbleupon everyday.

    It's always useful to read articles from other authors and use a little something from their sites.

  10. # 강남풀싸롱 2017/08/12 02:06 Delete Reply

    Hiya very cool website!! Man .. Beautiful .. Superb ..
    I will bookmark your website and take the feeds also? I am
    satisfied to seek out a lot of useful information here within the
    publish, we want develop more techniques on this regard,
    thank you for sharing. . . . . .

  11. # 강남야구장 2017/08/12 03:51 Delete Reply

    My relatives always say that I am wasting my time here at
    web, except I know I am getting knowledge every day by reading thes pleasant articles or reviews.

  12. # 아찔한달리기 2017/08/16 13:22 Delete Reply

    Your style is so unique compared to other
    folks I've read stuff from. I appreciate you for posting when you have the
    opportunity, Guess I'll just bookmark this web site.

  13. # 아찔한달리기 2017/08/19 06:56 Delete Reply

    Hi there! I know this is kind of off topic but I was wondering which blog
    platform are you using for this site? I'm getting sick and tired of Wordpress because I've had problems with hackers
    and I'm looking at options for another platform.
    I would be fantastic if you could point me in the direction of a good platform.

  14. # 아밤주소 2017/08/19 12:31 Delete Reply

    Thanks for sharing your info. I truly appreciate your efforts
    and I will be waiting for your further write ups thank you once again.

  15. # 강남러시아 2017/08/29 19:40 Delete Reply

    Excellent article. Keep writing such kind of information on your site.
    Im really impressed by your blog.
    Hey there, You ave done an incredible job. I will certainly digg iit
    and individually recommend to my friends. I am sure they will bbe
    benefited from this site.

  16. # 강남러시아오피 2017/08/29 19:43 Delete Reply

    That is really interesting, You're a very professional blogger.
    I've joined your rss feed and look ahead to searching for more of your excellent post.
    Additionally, I have shared your sitte in my social networks

  17. # 여탑풀싸롱 2017/08/30 10:26 Delete Reply

    Aw, this was an exceptionally nice post. Taking
    a few minutes and actual effort to generate a really good article… but what can I say… I procrastinate a whole
    lot and never manage to get nearly anything done.

  18. # 여탑 2017/08/30 10:49 Delete Reply

    Thank you for any other informative website. The
    place else may just I am getting that kind of info written in such
    an ideal way? I've a undertaking that I am just now running on, and I've been at the look out for such information.

  19. # 강남러시아 2017/08/30 11:57 Delete Reply

    First of all I would like to say great blog! I had a quick question which I'd like to
    ask if you don't mind. I was interested to find out
    how you center yourself and clear your mind before
    writing. I have had a difficult time clearing my mind in getting
    my ideas out. I truly do enjoy writing but it just
    seems like the first 10 to 15 minutes are usually wasted simply just trying to figure out how to begin. Any ideas or hints?
    Thanks!

  20. # Why is my Achilles tendon burning? 2017/09/01 00:16 Delete Reply

    fantastic points altogether, you simply received a new
    reader. What would you recommend in regards to your publish that you made some days in the past?
    Any sure?

  21. # How do you get taller? 2017/09/01 00:24 Delete Reply

    It's actually very complex in this full of activity life
    to listen news on Television, therefore I just use the web for
    that purpose, and take the most up-to-date news.

  22. # How long does Achilles tendonitis last for? 2017/09/01 18:01 Delete Reply

    I believe this is one of the most significant info for me.
    And i'm happy reading your article. But want to observation on few common things, The
    site taste is great, the articles is in reality great : D.
    Just right task, cheers

  23. # How long does Achilles tendonitis last for? 2017/09/01 18:02 Delete Reply

    Hello! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended
    up losing months of hard work due to no data backup. Do you have any methods to protect
    against hackers?

  24. # 선릉야구장 2017/09/18 09:57 Delete Reply

    What i do not realize is in truth how you are now not really
    a lot more neatly-liked than you might be right
    now. You are very intelligent. You understand therefore significantly when it comes to this
    topic, produced me for my part consider it from a lot of varied
    angles. Its like men and women aren't involved unless it's something
    to do with Woman gaga! Your own stuffs excellent. All the time take care of it up!

Leave a comment


안드로이드 스튜디오는 gradle 이 들어가면서 계속 안 익숙하고 있다.
gradle을 먼저 배워야 할까봐.

이번 프로젝트에서 QR코드 사용하는게 있어서 구글의 Zxing 라이브러리를 사용하기로 했다.
몇 년전에는 1인가 2 버전이었던듯 싶은데 지금은 3.2가 나왔네.

한참을 고민했지만...
역시나 적용하는 방법은 지극히 간단했다.

https://github.com/journeyapps/zxing-android-embedded


안드로이드에서 사용하기 위해서 최소화한 버전이다.
별도로 라이드러리를 다운로드 받을 필요없이 자동으로 다운로드 받아서 설치한다.
인터넷이 막힌곳에서는 문제이긴 하겠지만.. ^^

나는 Version 3을 사용했고
Module 에 있는 build.gradle 쪽에 아래를 추가한다.

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:support-v4:22.1.1'

compile 'com.journeyapps:zxing-android-embedded:3.0.0@aar' // 추가
compile 'com.google.zxing:core:3.2.0' // 추가
}


이렇게 설정하면 빌드할때 다운로드 받고 컴파일한다.
libs 에 추가하는것은 따로 찾아봐야할듯.
요즘 인터넷 안되는 곳 많잖아.. ㅠㅠ

참.. 이걸 Project 에 있는 build.gradle 에 추가하면

Error:(13, 0) Gradle DSL method not found: 'compile()'


이런 에러 발생한다.
참고할것..

크리에이티브 커먼즈 라이센스
Creative Commons License
2015/06/05 12:26 2015/06/05 12:26

Trackback URL : http://simplelife.pe.kr/tc/trackback/713

  1. # wastefulfondnes6.snack.ws 2017/07/12 03:33 Delete Reply

    Hi Dear, are you really visiting this web page daily, if so afterward you will
    without doubt obtain pleasant experience.

  2. # 오프홀덤 2017/09/07 01:55 Delete Reply

    I like the helpful info you provide in your articles.
    I'll bookmark your weblog and check again here regularly.
    I am quite certain I will learn many new stuff right here!
    Best of luck for the next!

  3. # 홀덤 2017/09/16 07:50 Delete Reply

    each time i used to read smaller posts that also clear their motive, and that is also happening with this paragraph which I am reading at this time.

Leave a comment

이클립스에서 안드로이드 프로젝트를 SVN에 등록하면
gen 폴더 같은것은 자동으로 제외시켜준다.

gen 폴더는 자동으로 생성되는거라서 등록할 필요가 없거든.

그런데....
자동으로 생성되는 폴더가 있는데 bin 폴더이다.
bin 폴더내에 apk 가 생성되므로 등록할수도 있겠지만서도
SVN에서 프로젝트를 내려받을때는 별 필요가 없다.



그래서... svn 등록할때 bin 폴더를 제외시켜보자.
간단하다.
사용자 삽입 이미지


bin 폴더를 선택하고
Team/Add to svn:ignore
를 선택해준다.

캡쳐화면에서는 이미 ignore로 설정했더니 비활성화되어 있다.
크리에이티브 커먼즈 라이센스
Creative Commons License
2015/02/10 08:42 2015/02/10 08:42

Trackback URL : http://simplelife.pe.kr/tc/trackback/712

Leave a comment


이번주에 겪은 일인데...

안드로이드에 보면
@TargetApi(Build.VERSION_CODES.GINGERBREAD)
이런것을 사용할때가 있다.

android.annotation 패키지쪽에 정의되어 있는것인데
갑자기 android.annotation 를 못 찾는는거다.

the import android.annotation cannot be resolved

이런식으로 에러가 뜨는데
프로젝트 속성에서 안드로이드 빌드타켓을 변경하면 인식을 하다가
프로젝트를 종료하고 다시 실행하면 똑같이 오류가 뜨고..

구글 검색에 들어갔다.
동일한 증상은 못 찾겠고 연관되서 계속 찾다가 간단히 해결을 했다.

.metadata\.plugins\org.eclipse.jdt.core\.org.eclipse.jdt.core.external.folders
에 가면 .project 라는 파일이 있을 거다.
내용 확인해보고 아무 내용없으면 파일을 지워버린다.

그리고 다시 이클립스를 실행해보면 제대로 될거다.

만일 안된다면.. 나와는 다른 문제이니 구글에게 물어보기 바란다...

끝~
크리에이티브 커먼즈 라이센스
Creative Commons License
2014/12/05 12:45 2014/12/05 12:45

Trackback URL : http://simplelife.pe.kr/tc/trackback/711

Leave a comment

.classpath (Access is denied)

Posted 2012/02/21 18:51, Filed under: 나의 길/Android


다른 사람이 작업하던 프로젝트를 받아서 처리하다보면 예상치 못한 에러를 보게 된다.

안드로이드 프로젝트에 라이브러리를 변경하고 저장하려고 하니
.classpath (액세스가 거부되었습니다)

이런 에러가 나오고 변경을 거부한다.

권한이 이상한가 해서 파일 권한을 살펴봤지만 이상없다.
뭐가 문제지... ㅡㅡa

구글에서 역시 답을 줬다.
http://www.coderanch.com/t/446590/vc/MyEclipse-adding-jar-build-path 


해결방법은
.class 파일을 보고 hidden 설정이 되어 있으면 hidden 설정을 없애고 다시 하면 된다.

끝.

크리에이티브 커먼즈 라이센스
Creative Commons License
2012/02/21 18:51 2012/02/21 18:51

Trackback URL : http://simplelife.pe.kr/tc/trackback/696

  1. # 홀덤바 2017/09/21 11:18 Delete Reply

    You ought to take part in a contest for one of the most useful sites on the internet.
    I am going to highly recommend this blog!

Leave a comment


뚜는 지금.. 사랑해사랑해
아.. 열심히 살자..
남자B형염소자리인천

Categories

전체 (504)
뚜.. 서툰.. (258)
폰 이야기 (13)
나의 길 (85)
읽을거리 (21)
사진갤러리 (124)

Recent Posts

  1. Android Studio 2.2 에서 layout 미리...
  2. mac 에서 ssh 접속시 한글 입력이 안될때.
  3. Android Studio. Zxing 라이브러리 사...
  4. 안드로이드 프로젝트를 SVN 등록시 bin...
  5. 안드로이드에서 android.annotation 를...

Recent Comments

  1. Hi there, I enjoy reading through yo... 오프홀덤 09/21
  2. You ought to take part in a contest ... 홀덤바 09/21
  3. Very good information. Lucky me I re... 포커 09/20
  4. Hello, i think that i noticed you vi... free backlink tool review 09/20
  5. What i do not realize is in truth ho... 선릉야구장 09/18

Recent Trackbacks

Bookmarks

  1. ATOMOS
  2. c3cc3's Homepage
  3. 봄실
  4. 우중산보... 그 싱그러운 여유

671

322

google chart api graph

-30 days

today : 312

Site Stats

TOTAL 413377 HIT
TODAY 312 HIT
YESTERDAY 319 HIT