블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2731)
Unity3D (814)
Programming (474)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (57)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (51)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
03-29 07:22

[링크] https://1boon.daum.net/theable/momvideo

 

아이의 자존감을 망치는 엄마의 3가지 말버릇

아빠도 마찬가지입니다. 육아는 아빠엄마가 함께 하는 것

1boon.daum.net

 

반응형
Posted by blueasa
, |

[링크] https://news.v.daum.net/v/20200126150048816

 

돈 걱정말고 공부나 해! 이것처럼 비교육적인건 없다

━[더,오래] 신성진의 돈의 심리학(61)서울 한 기초단체에서 주관하는 ‘행복한 부자들의 머니씽킹’이라는 청소년 경제교육 프로그램을 진행하고 있습니다. 2020년 첫 교육프로그램이 아이들에게 돈에 대해서 알려주는 프로그램이라는 사실이 개인적으로 참 의미 있게 다가옵니다. 몇 년 동안 준비한 프로그램을 아이들 나이에 맞게 재구성해서 3월까지 12주 프로그램으

news.v.daum.net

 

반응형
Posted by blueasa
, |

 

[참조] https://epark.tistory.com/14

 

구글 지메일 주소의 더하기(+)와 점(.) 기호 활용하기

구글 지메일 (GMail) 계정 사용하시는 분들 많을 겁니다. 구글 지메일이 처음 나왔을때, 폴더 별로 관리하지 않고 라벨 (Label)을 이용해서 많이 생소했던 기억이 납니다. 여러가지 편리한 점들이 많은데 더하기 (..

epark.tistory.com

 

반응형
Posted by blueasa
, |

https://dl.google.com/firebase/sdk/unity/firebase_unity_sdk_${version}.zip

 

 

[출처]

https://stackoverflow.com/questions/49921164/old-versions-of-firebase-for-unity-firebase-sdk-4-5-0

 

Old versions of Firebase for Unity (Firebase SDK 4.5.0)

In my Unity project, I am using libraries that depend on Play Services 11.8.0 and they crash with 12.0.1. The latest Firebase 4.5.1 requires Play Services 12.0.1. And for some reason I can't find...

stackoverflow.com

 

반응형
Posted by blueasa
, |

Google play console에 처음 apk를 등록하는 분들이라면 한번씩 겪게되는 상황이 있습니다. 바로 keystore 생성을 하지않아 apk 업로드 실패하는 상황이죠....

 

유니티 개발자들은 별 어려움 없이 몇가지 작업으로 keystore를 생성할 수 있습니다.

 

1. File -> BuildSettings -> PlayerSetting ->Publishing setting 으로 이동하면 다음과 같은 화면을 볼 수 있습니다.

 

 

 

우리는 새 키스토어를 생성하려는 것이기 때문에

2. Create a new keystore를 눌러줍니다.

 

3. Keystore password

비밀번호를 입력하고 밑에같에 확인란 까지 같이 입력해줍니다.

 

4. Browse Keystore를 눌러줍니다. 

 

네... 몇몇분들도 저랑 같은 생각을 하시지 않을까합니다. 새로 생성한는데 '왜 키스토어파일을 찾냐..?'

 

직접해본결과 create a new keystore를 체크한 상태에서는 파일을 찾는게아니라.. 새로생성될 keystore 파일의 저장 경로와 저장될 파일명을 세팅하는 것이었습니다. 

(헤깔리게 하지마 ㅜㅜㅜㅜㅜ)

 

 

 

5.Key Alias 생성

위에서 keystore 비밀번호 입력 까지 정삭적으로 끝냈다면 Alias를 새로 생성할 수 있습니다.
Unsignes를 눌러 Create new key를 눌러줍니다.

 

6. 정보 입력

 

Alias - 아무 이름 지어서 적어 넣습니다.

password - 비밀번호 안까먹을 만한걸로 적어줍니다.

confirm - 비밀번호 재확인

validity( years) - 50년은 충분한 시간이라고 생각됩니다. 그냥 내비둡니다.

 

나머지 밑에는 건너뛰고 
 country code 만 Ko로 적고  create Key를 눌러 생성을 하였습니다.

 

이제 새로생성한 keystore와 key를 세팅해주고 비밀번호를 정상적으로 입력해줍니다.

 

7. apk 생성

네 이제 끝까지 왔습니다. 

 

 

8. apk 업로드 

 

위의 과정을 잘 따라 하셨다면 정상적으로 업로드된 화면을 볼 수 있으셨을 것 입니다. 



출처: https://enjoylifeforme.tistory.com/entry/Unity-Keystore-생성 [즐거운하룽]

 

[Unity] Keystore 생성

[Unity] Keystore 생성 Google play console에 처음 apk를 등록하는 분들이라면 한번씩 겪게되는 상황이 있습니다. 바로 keystore 생성을 하지않아 apk 업로드 실패하는 상황이죠.... 유니티 개발자들은 별 어려움..

enjoylifeforme.tistory.com

 

 

반응형
Posted by blueasa
, |

Windows7 64bit

Unity 2018.4.13f1

Firebase 6.9.0

 

Firebase 6.9.0 넣고 나온 또 다른 빌드 에러..


CommandInvokationFailure: Gradle build failed. 

...

stderr[

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':packageRelease'.
> 1 exception was raised by workers:
  java.io.UncheckedIOException: java.io.IOException: Failed to obtain compression information for entry

 


해결책은 아래와 같다.

Minify-Release/Debug가 기본 None인데, 업데이트 되면서 값을 넣어야 되나보다.

Proguard 이야기도 있긴한데, 우선 아래 보이는대로 Gradle (Experimental) 로 바꾸니 빌드가 잘 된다.

 


 

Someone in the thread from unity forum finally posted a working solution. I'm gonna share it here as well so hopefully everyone who lands on the question with this issue will not have to spend 30 hours blindfolded, resolving dex merging conflicts like I did.

Turns out that with new new version there is a few more options in the publish settings that needs to be set!

quoting RealPpTheBest s' answer

Go to player settings > Project Settings > Minify, in there, there will be an option of Release, set it to Gradle .

For some reason when choosing gradle build these two are not automatically toggled, and maybe in some cases they don't have to be. But setting minify to Grable (experimental) completely resolved all the build errors I was getting after updating unity.

EDIT: september-2019 - Solution above should still work, but:

I have lately been experimenting with choosing Proguard instead of the experimental Gradle minifier (can be selected in the dorpdown as well). When configured correctly proguard will also resolve your DEX limitation errors, and get rid of unused code and even compress your build size even more.

This post has a quite throughly detailed guide on how to enable and configure it. Keep in mind though, that the configuration will be unique to which dependencies you are using, so you will have to read up and do some custom configuration here most likely.

shareedit

edited Sep 26 '19 at 7:39

 

answered Jun 24 '19 at 15:46

Rasmus Puls

8996 silver badges19 bronze badges

 

[출처]

https://stackoverflow.com/questions/56623107/unity-gradle-build-error-while-merging-dex-archives/58012656#58012656

 

Unity gradle build - Error while merging dex archives

I'm trying to compile my project using "Build App Bundle (Google Play)" for the first time. However I am getting an error while merging dex archives. I believe it is due to some of my plugins are u...

stackoverflow.com

 

[참조]

https://forum.unity.com/threads/gradle-shenanagains.602599/

 

Gradle Shenanagains?

Honestly, I have no idea what's going wrong here. CommandInvokationFailure: Gradle build failed. C:\Program...

forum.unity.com

 

 
반응형
Posted by blueasa
, |

[복사용 명령어]

keytool -exportcert -alias androiddebugkey -keystore C:\Users\{계정이름}\.android\myKeyStore | C:\Users\{계정이름}\openssl-0.9.8e_X64\bin\openssl sha1 -binary | C:\Users\{계정이름}\openssl-0.9.8e_X64\bin\openssl base64

 

 

[링크1] https://stickyny.tistory.com/62

 

[SO] 페이스북 연동을 위한 Hash Key 등록

3번째? 4번째 등록인 것 같다. 할 때마다 복잡하고 어렵다. APK를 배포하는 PC에 이 작업이 되어 있어야 한다. 1. 개발자 페이스북에 앱 추가하기 https://developers.facebook.com/apps/ URL에 접속해서 새 앱을..

stickyny.tistory.com

[링크2] https://mytalkhome.tistory.com/658

 

[Android] FaceBook Key Hash생성하기( 디버그 / 배표용 사인키 )

Facebook SDK를 사용하기 위해서는 Key Hash가 필요합니다 Android는 개발시 키를 2개를 사용하는데요, 개발시 사용되는 디버그키 , 실제 배포에 사용되는 키 입니다. 어차피 둘다 쓰는거니까 둘다 생성해서 등록..

mytalkhome.tistory.com

[링크3]

https://velog.io/@apocaris/Facebook-API-%EB%93%B1%EB%A1%9D%EC%9D%84-%EC%9C%84%ED%95%9C-Hash-Key-%EC%83%9D%EC%84%B1-72jvvt8bwd

 

Facebook API 등록을 위한 Hash Key 생성

java 설치 2. openssl 설치 링크로 이동하여 (다운로드) 윈도우 버전에 맞게 설치 프로그램을 받는다. 받고 압축을 풀고 임의의 위치에 옮긴다. ( 작성자는 C:\Users\계정 위치에 옮겼음 ) 3. cmd 를 열고 Java 가 설치된 경로로 이동. ( C:\Program Files\Java\jdk1.8.0211\bin ) 4. 다음의...

velog.io

 

반응형

'Unity3D > Facebook SDK' 카테고리의 다른 글

[AOS] android-simple-facebook  (0) 2014.07.14
Posted by blueasa
, |

OS : Windows7 64bit

Unity : 2018.4.13f1

Firebase : 6.9.0


Generation of the Firebase Android resource file google-services.xml from Assets/Firebase/google-services.json failed.
If you have not included a valid Firebase Android resources in your app it will fail to initialize.
"C:\Project\git\ProjectName\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe" -i "Assets/Firebase/google-services.json" -l

Traceback (most recent call last):
  File "", line 446, in 
  File "", line 289, in main
  File "", line 228, in argv_as_unicode_win32
AttributeError: 'module' object has no attribute 'wintypes'
generate_xml_from_google_services_json returned -1


Firebase 6.9.0을 유니티에 Import하고 위와 같은 에러를 보게 됐다.

결론적으로 wintypes attribute가 없다는 말인데 저게 뭔지 몰라서 한참 찾아 헤메다가

아래 링크에서 답을 찾았다.

 

[해결방법] 원본 (https://github.com/firebase/quickstart-unity/issues/540)

[해결방법] Detail (https://github.com/firebase/quickstart-unity/issues/540)

 

결론적으로 Firebase 6.9.0이 Windows7을 제대로 지원하지 않는 것 같다.

그래서 generate_xml_from_google_services_json.exe 파일을 다시 컴파일하는 작업을 위해서 설명하고 있다.

Python 2.7이 필요한데, Python 2.7.9 이상을 설치해야 pip가 Python에 기본적으로 들어 있다.

나는 아래 링크의 2.7.17을 깔았다.

 

[Python 2.7.17 다운로드] https://www.python.org/downloads/release/python-2717/

 

해결방법 Detail 설명대로 다하고나니 이제 에러가 뜨지 않는다.

 

 

P.s. Windows7 지원 종료가 되면서 여기저기 다른 곳에서도 지원을 종료하면서 개발에 피해가 오고 있는 걸 체감하고 있다.

    현재 피해 당하고 있는 건 SourceTree와 Firebase..-_-

 

 
반응형
Posted by blueasa
, |

[링크] http://naver.me/5g6NRF87

 

아빠의 특별한 육아 능력 #아빠육아 - 매일아이xEBS 5분 육아

[BY 매일아이] 세상 모든 아빠들이 지닌 특별한 육아 능력이 있습니다. 그 중 하나는 아빠에게서 배우는...

m.post.naver.com

 

반응형
Posted by blueasa
, |

[링크] http://naver.me/FmpadFQ5

 

점점 인지 발달이 빨라지는 4살 아이! 홈놀이팁

[BY 차이의놀이] 1. 이것도 같은 색이에요4가지 색(빨/노/초/파)에 대해 알고, 색으로 사물을 분류합니다...

m.post.naver.com

 

반응형
Posted by blueasa
, |