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

카테고리

분류 전체보기 (2737)
Unity3D (817)
Script (91)
Extensions (14)
Effect (3)
NGUI (77)
UGUI (8)
Physics (2)
Shader (36)
Math (1)
Design Pattern (2)
Xml (1)
Tips (200)
Link (22)
World (1)
AssetBundle (25)
Mecanim (2)
Plugins (70)
Trouble Shooting (68)
Encrypt (7)
LightMap (4)
Shadow (4)
Editor (8)
Crash Report (3)
Utility (9)
UnityVS (2)
Facebook SDK (2)
iTween (3)
Font (11)
Ad (14)
Photon (2)
IAP (1)
Google (8)
Android (45)
iOS (41)
Programming (474)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
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
04-20 00:00

[My Case]

[Error] java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/HttpHost

[수정] Unity Android Target API Level을 26으로 낮춰서 해결

 

-------------------------------------------------------------------------------------------------

 

Do any of the following:

1- Update the play-services-maps library to the latest version:

com.google.android.gms:play-services-maps:16.1.0

 

2- Or include the following declaration within the <application> element of AndroidManifest.xml.

<uses-library android:name="org.apache.http.legacy" android:required="false" />

 

 

[출처]

https://stackoverflow.com/questions/50461881/java-lang-noclassdeffounderrorfailed-resolution-of-lorg-apache-http-protocolve

 

java.lang.NoClassDefFoundError:failed resolution of :Lorg/apache/http/ProtocolVersion

I 've met such error when I use Android studio 3.1 to build an Android P 's app, the apk can be made ,but when I use it on Android P emulator , it will crash and throw below info, more details see ...

stackoverflow.com

 

반응형
Posted by blueasa
, |


[링크1]

https://m.blog.naver.com/PostView.nhn?blogId=syowoo&logNo=220518896040&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F


[링크2]

http://freecandoall.blogspot.com/2015/10/xcode.html

반응형
Posted by blueasa
, |


[링크] http://prosto.tistory.com/255


[참조] http://blueasa.tistory.com/2082

반응형
Posted by blueasa
, |

유니티에서 안드로이드 빌드 할려고 할 때

Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details

이런 에러가 뜨면서 안되는 경우 안에 내용을 살펴 보면

Main manifest has <uses-sdk android:targetSdkVersion='21'>but library uses targetSdkVersion='23' 이런 내용이 있다

무슨 뜻 이냐면 자신의 컴에 깔린 안드로이드 sdk 최신 버전은 21인데 프로젝트안에 어떤 플로그인에서 안드로이드 타겟버전을 23을 셋팅 되어서 빌드를 못한다는 뜻임.

 

그냥 안드로이드sdk버전업만 시키면 빌드가 다시 잘된다.!!



출처: http://jaehogame.tistory.com/entry/유니티-Error-building-Player-CommandInvokationFailure-Unable-to-merge-android-manifests-See-the-Console-for-more-details [재호와 함께하는 게임프로그래밍~~ㅋㅋ]

반응형
Posted by blueasa
, |

"A script behaviour (script unknown or not yet loaded) has a different serialization layout when loading.(Read 48 bytes but expected 88 bytes) 
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"


위와 같은 에러가 나서 찾아 보니 여러가지 이유로 뜨는 문제라 수정하기 힘들었는데,

내 경우는 


Resources.LoadAsync(string path); 의 path에 string.Empty(or null) 값을 넣었더니 위와 같은 에러가 났다.


path가 string.Empty(or null)면 예외처리 함.



[참조] https://issuetracker.unity3d.com/issues/serialized-scriptable-object-works-in-the-editor-but-not-in-the-build

[참조] https://docs.unity3d.com/ScriptReference/Resources.LoadAsync.html

반응형
Posted by blueasa
, |

XCode 최신 버전으로 업데이트 하고나서 빌드 하려니 GA 관련 Link 에러가 나서 찾아봤더니 아래 프레임워크가 필요하다고 한다.


리스트를 살펴보니 CoreData.framework가 빠져 있어서 수동 추가 후 정상 빌드 확인..




The Google Analytics SDK uses the CoreData and SystemConfiguration frameworks, so you will need to add the following to your application target's linked libraries:

  • libGoogleAnalyticsServices.a
  • AdSupport.framework
  • CoreData.framework
  • SystemConfiguration.framework
  • libz.dylib



[출처] https://stackoverflow.com/questions/22008892/google-analytics-doesnt-work-on-new-ios-project

반응형
Posted by blueasa
, |


[링크] http://macnews.tistory.com/4533

반응형
Posted by blueasa
, |


UnityException: Unable to install APK!

Installation failed. See the Console for details.

 

 별다른 로그 없이 위와같은 내용만 표출하고 빌드가 안되는 않는 현상이 발생하여 찾아보니,


 현재 폰에 설치 되어있는 같은 패키지 어플을 삭제하고 다시 시도하니 정상동작하였습니다.


  출처 : http://answers.unity3d.com/questions/815011/unable-to-install-apk.html



출처: http://mbseo.wo.tc/163 [생존본능의 개발이야기]

반응형
Posted by blueasa
, |



[링크] http://specialmylife.tistory.com/entry/Dictionary-value-%EB%B3%80%EA%B2%BD


[링크2] https://westwoodforever.blogspot.kr/2013/07/c-invalidoperationexception-out-of-sync.html

반응형
Posted by blueasa
, |

저도 동일한 문제로 헤매다가 
http://answers.unity3d.com/questions/1320150/unable-to-list-target-platform.html 
참고하여 해결했습니다. 
위 링크 들어가 보시면 댓글에 해결책이 있는데 
여기에 요약하면 
Android SDK tools 가 최신 버전(25.3.1)으로 업데이트 되면서 unity가 사용하던 기능이 없어진거 같다고 합니다. 
해결책은 기존 Android SDK설치 폴더에서 tools 폴더 이름을 변경한 후 [Your Android SDK root]/tools -> toolsXXXX  
http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip 를 다운로드 받아서 압축 풀고 해당 tools 폴더를 위의 
Android SDK설치 폴더에 복사합니다. 그러면 unity에서 예전처럼 잘 됩니다.



[출처] http://devkorea.co.kr/bbs/board.php?bo_table=m03_qna&wr_id=79671&&#c_81343


[참조] http://answers.unity3d.com/questions/1320150/unable-to-list-target-platform.html


[참조] https://arincblossom.wordpress.com/2017/03/25/%EC%9C%A0%EB%8B%88%ED%8B%B0-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0-unable-to-list-target-platforms-please-make-sure-the-android-sdk-path-is-correct/comment-page-1/

반응형
Posted by blueasa
, |