유튜브 연동 개발 관련 레퍼런스

2015. 4. 28. 17:30안드로이드 개발


* Eclipse - Maven 연동

http://krespo.net/172

http://freestrokes.tistory.com/35

http://cranix.net/374

http://duongame.blogspot.kr/2014/09/android-maven.html


*M2_HOME 에러 발생시 대응법

http://stackoverflow.com/questions/29330577/maven-3-3-1-eclipse-dmaven-multimoduleprojectdirectory-system-propery-is-not-s


* OSX에서 자바 버전 문제 발생시 대응법

http://stackoverflow.com/questions/27973436/maven-cant-cant-compile-java-1-8


* NoClassDefFoundError 발생시 대응법 --> maven 3.0.5 버전 설치하면 해결됨

[WARNING] Error injecting: com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo

java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;

at java.lang.Class.getDeclaredFields0(Native Method)

http://msbaek.tumblr.com/page/2


Could not find tool 'aapt' 발생시 대응법

Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0-alpha-13:generate-sources (default-generate-sources) on project YoutubeUploadExam: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0-alpha-13:generate-sources failed: Could not find tool 'aapt'. Please provide a proper Android SDK directory path as configuration parameter <sdk><path>...</path></sdk> in the plugin <configuration/>. As an alternative, you may add the parameter to commandline: -Dandroid.sdk.path=... or set environment variable ANDROID_HOME. -> [Help 1]

http://stackoverflow.com/questions/16927306/could-not-find-tool-aapt-please-provide-proper-android-sdk-directory-path-as-co

http://stackoverflow.com/questions/20638699/maven-invalid-sdk-platform-api-level-16-not-available


* trouble processing "javax/xml/namespace/QName.class" 대응법

http://stackoverflow.com/questions/8487061/building-android-project-with-maven-dexer-fails-on-simple-xml-dependency

http://stackoverflow.com/questions/13543108/android-on-eclipse-trouble-processing-javax-xml-namespace-qname-class


* Youtube 연동 


Google+ Platform for Android

https://developers.google.com/+/mobile/android/getting-started


android PlusClient에서  accessToken을 얻는 방법

http://stackoverflow.com/questions/18096934/get-access-token-from-google-plus-android

http://stackoverflow.com/questions/15950054/android-plusclient-implementation-getting-a-token


https://developers.google.com/identity/protocols/OAuth2ForDevices

https://developers.google.com/identity/protocols/OAuth2InstalledApp

https://developers.google.com/android-publisher/authorization

https://developers.google.com/api-client-library/java/google-api-java-client/oauth2


OAuth 2.0 인증 구현 절차

https://developers.google.com/youtube/v3/guides/authentication?hl=ko#server-side-apps

https://github.com/nattachart/itcs208-2-2013-projects/blob/master/code/youtube/src/Auth.java

http://stackoverflow.com/questions/11602334/get-userinfo-from-oauth2-google-contacts-api

http://stackoverflow.com/questions/10112939/login-required-401-unauthorized-message-when-calling-the-v3-google-calendar-ap

http://stackoverflow.com/questions/9084840/google-analytics-authorization-in-java

http://stackoverflow.com/questions/28635457/com-google-api-client-auth-oauth2-tokenresponseexception-400-bad-request-invali


http://googledevkr.blogspot.kr/2013/05/youtube-api-quicket.html

https://developers.google.com/youtube/v3/code_samples/java?hl=ko#upload_a_video

https://developers.google.com/youtube/v3/libraries?hl=ko

https://developers.google.com/api-client-library/java/apis/youtube/v3

https://developers.google.com/android-publisher/authorization


쓸만한 예제이긴 하지만, 2년 동안 업데이트가 안되어 인증 부분이 변경된 사항이 반영되지 않은 것으로 보인다.

https://github.com/sohnkh/YoutubeUploadAndroidSampleV3