본문 바로가기

반응형

2014/09

(6)
[Gradle] local aar 파일 추가하기 빌드해서 aar을 생성했는데… 그냥 dependency에 넣어서는 추가가 안된다. 뭐지;; 일단 duplicate 오류가 나면 aar과 겹치는 리소스가 있어서 그렇다. 그래서 모듈 리소스명 앞에 prefix를 붙여서 해결함. 그후 빌드는 성공했는데 class를 찾을 수 없다!!!!!! 뭐지… compile fileTree(dir: 'libs', include: ['*.jar','*.jar']) compile files('libs/chope-1.0.0.aar') 이 방법 둘다 안 먹힌다. 해결 방법은 다음과 같다. aar은 꼭 repository에서만 추가되어야 하나 보다. 그래서 일단 local repository를 추가해준다. repositories { flatDir { dirs 'libs' } } 그..
[Gradle] Android 모듈 aar파일명 변경 Android Module은 빌드되면 .aar (Android ARchive) 파일로 생성됩니다. 기본으로 build/outputs/aar 위치에 [module].aar 로 생성됩니다. [module]-[version].aar 으로 변경하려면 아래와 같이 설정합시다! android { ..... buildTypes { release { project.archivesBaseName='chope' project.version=defaultConfig.versionName ..... } } }
SpringBoot 시작하기 http://blog.chopestory.net/787
Android<->Mac Bluetooth 연결하기 Mac 을 Server로 하고 Android를 Client로 하여 서로 데이터를 주고 받도록 하는 것이 1차 목표였다.둘의 통신은 BLE가 아닌 기본 Bluetooth 이다.Mac은 IOBluetooth를 사용하지 않고 Python LightBlue library를 사용하여 작성하였다.아래는 기본 테스트이므로 접속이 완료되면 데이터를 주고 받고 끝난다. Android Codepackage com.yhg.bluetoothclient; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.Bluetoo..
Install Lightblue Cross Platform 이 가능한 Bluetooth library를 찾다가 Mac, Linux, Nokia Series 60 을 지원하는 LightBlue를 발견했습니다.LightBlue는 Python bluetooth library입니다.공식사이트를 보면 몇년 전부터 지원을 중단했지만.. 개발자들이 새로 Github에 올려서 최신 OS에서도 빌드되도록 수정했습니다.여러 Github repository가 있지만 그중에서 pebble/lightblue-0.4 가 OSX 64bit 에서 오류 없이 빌드됩니다.설치과정은 간단합니다. 우선 lightblue library를 빌드하고 설치합니다. 명령어 하나로 끝납니다. 위와 같이 ** INSTALL SUCCEEDED ** 가 출력되면서 설치가 끝납니다.이제 ..
Undefined symbols for architecture x86_64: “_OBJC_CLASS_$_NSMutableOrderedSet”, referenced from: objc-class-ref in libarclite_macosx.a(arclite.o) xcode osx 10.5 -> 10.6 으로 변경한 경우 발생한 에러 문제발생 xcode osx 10.5 -> 10.6 으로 변경한 경우 발생한 에러 해결방법 In build settings set "Implicitly link Objective-C Runtime Support" to NO. 출처http://stackoverflow.com/questions/15433262/updating-older-code-from-os-x-10-6-to-10-7

반응형