본문 바로가기
[Kotlin Tutorial] Kotlin 소개 - Kotlin : what and why [Kotlin Tutorial] Kotlin 소개 - Kotlin : what and why 참조 : Kotlin in Action -Kotlin 은 Java platform 을 targeting 한 새로운 프로그래밍 언어.Java 코드와 함께 쓰일 수 있다.Android 개발 뿐만 아니라 Server-side 개발에도 쓰일 수 있다. -Java 의 iib, framework 와 함께 쓰일 수 있고, Java 와 비교해 Performance 도 거의 동일하다. 1.1. A Taste of Kotlin -http://try.kotl.in 을 통해 코드 실습을 할 수 있다. -data class Person(val name: String, val age: Int? = null) fun main(args: A.. 2017. 7. 12.
[android] Google Play Service 는 나쁜놈이었다. Google Play Service 는 나쁜놈이었다. Google Play Service 가 현재( 2015-09-12 기준 ) 7.x 버전까지 나왔다. 그런데 이 구글 플레이 서비스가 5.0 ~ 6.5 미만까지는 골치덩어리였다. 여러가지 기능들이 추가되어 편리하게 구글이 제공하는 기능, 서비스들을 제공받는 것은 좋았지만,dex 파일의 method 갯수 제약 측면에서 노답인 상황이었다. 한 dex 파일은 65k 개의 method 만 가질 수 있는데, Google Play Service 5.0 버전에서는 이 녀석 혼자 20k 이상의 method 를 가지고 있다. 그래서 구글 플레이 서비스 library 를 사용하면서다른 3rd party library 를 사용하면method limit 에 걸려 문제가 될 .. 2015. 9. 16.
이클립스 실행시 Java was started but returned exit code=1 에러가 날때 이클립스 실행시 Java was started but returned exit code=1 에러가 날때 eclipse 폴더 에 있는 eclipse.ini 파일에 아래 구문을 추가해주자. -vmC:\Program Files\Java\jdk1.8.0_05\bin\javaw.exe eclipse, eclipse.ini, Java was started but returned exit code=1, vm, 이클립스 실행시 Java was started but returned exit code=1 에러가 날때 2015. 6. 23.
No repository found error in Installing ADT in eclipse I just encountered following error message in the Eclipse "" No repository found error in Installing ADT in eclipse "". I removed the http://dl-ssl.google.com/android/eclipse/ site and then re-added it, then everything downloaded fine. Eclipse 에서 "" No repository found error in Installing ADT in eclipse "" 와 같은 에러를 마딱뜨렸다. 다음 ADT 를 다운받는 주소를 삭제했다가 다시 add 하니 제대로 다운로드를 시작한다.http://dl-ssl.google.com/.. 2015. 3. 28.
Eclipse 에서 Support v4 Javadoc 연결하기 Eclipse 에서 Support v4 Javadoc 연결하기 android-support-v4.jar 가 위치한 libs 폴더에 아래 파일을 생성하고,그 안에 src 와 doc 에 대한 정보를 기입해준다. 파일명 : android-support-v4.jar.properties doc=[android SDK folder]\\docs\\referencesrc=[android SDK folder]\\extras\\android\\support\\v4\\src 저 경로는 OS 종류에 따라 조금씩 다르겠죠?포인트는 빨간색으로 표시된 부분!! android SDK folder 를 잘 연결해서 support api 부분에서도 javadoc 을 봐서 더 편리하게 개발하시길~ Android, android-suppor.. 2015. 1. 6.
Android Studio 로 이사하세요. Android Studio 로 이사하세요. 원문 : https://developer.android.com/sdk/installing/migrate.html 만약 당신이 이클립스를 IDE 로 쓰고 있다면 신속하게 Android Studio 로 이사하세요. 왜냐면 Eclipse 를 위한 ADT Plugin 은 이제 더 이상 활발하게 개발되지 않을 꺼니까요. 기존 Android Project 를 Android Studio 에서 사용하려면 다음의 스탭을 따라하세요. 1. Android Studio 에서 현재 열려있는 어떤 프로젝트든 닫아주세요. 그러면 "Welcome to Android Studio" 윈도우를 볼 수 있을 겁니다. 2. "Import Non-Android Studio Project" 를 clic.. 2014. 12. 10.
이클립스 로딩 중 멈출 때 해결 방법 이클립스 로딩 중 멈출 때 해결 방법 일반적으로 .metadata 폴더를 다 날리곤 했다.이 경우 eclipse 기본 설정들을 다시 세팅해야 해서 짜증이 났는데,.metadata/.plugins/org.eclipse.core.resource 폴더만 날려도 된다. 이 방법으로 해결이 안 된다면, eclipse 폴더에서 > eclipse -clean -refresh 명령어로 eclipse 를 실행하면 해결된다. Clean, eclipse, freezing, metadata, refresh, 이클립스, 프리징 2014. 8. 13.
Eclipse 에서 Android Studio 로 넘어가기. Eclipse 에서 Android Studio 로 넘어가기. Work spaces 와 Sub-Projects 여 안녕~ Eclipse 에서는 Workspace 와 library projects 개념이 친숙했을 것이다.Android Studio 에서는 projects 들은 Modules, library project 들은 Library Modules 이라는 개념으로 통한다. Module 안뇽~ 반가워~ : ) Module 은 독립적으로 실행 가능하고, 테스트 되고, 디버그 되는 녀석을 이야기한다.각 모듈은 각각의 gradle build file이 필요하다.gradle build file 은 android version range, dependency, meta data 등을 포함한다. 개선된 Interfa.. 2014. 3. 27.
Error executing aapt: Return code -1073741819 @ eclipse Error executing aapt: Return code -1073741819 @ eclipse How to fix :change the order of libraries. originally base library has come first and then google-play-service_lib.But after changing the order of them, the problem has disappeared. I don't know which libraries you use, but change the order of them and then try to build again.I think it will solve your problem with saving time : ) 107374181.. 2014. 3. 24.
반응형