728x90 해결6 [Unity] CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 📝 Unity에서 만든 프로그램을 안드로이드에 빌드하면서 이런 에러가 떴다. CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 1. 지금 테스트하려고 하는 단말기에 이미 설치된 버전이랑 맞지 않아서 발생 2. 현재 핸드폰의 용량 부족 3. etc. 1. 핸드폰에 있는 앱을 지우고 다시 컴파일한다. 2. 핸드폰 용량을 정리 후 빌드한다. 3. [다른 .. 2023. 4. 18. [GitHub] (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/build.yml` without `workflow` scope) 해결 방법 📝 git push를 하고 있는데 에러가 발생했다. ! [remote rejected] feature/STC-134 -> feature/STC-134 (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/build.yml` without `workflow` scope) error: failed to push some refs to 'https://github.com/haiicorp/strokcare-app-unity.git' 발급받은 Access token(푸시할때 사용하는 개인 액세스 토큰(PAT, Personal Access.. 2023. 3. 8. [Unity] InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings. 해결 방법 유니티 스크롤을 페이지 단위로 처리하는 것을 YouTube 영상을 보면서 만들고 실행을 시켜봤는데 InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings. 이런 에러가 발생했다. 에러를 찾아본 끝에 해결책을 찾았다. 1. File > Build Settings 클릭 2. Player Settings... 클릭 3. Player > Other Settings에서 밑으로 내려보면 4. Active Input Handling* 이 I.. 2023. 2. 3. [C#, Unity] NullReferenceException: Object reference not set to an instance of an object 해결 방법 실습 도중 이런 에러가 발생했다. NullReferenceException: Object reference not set to an instance of an object 👉 NullReferenceException: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다. null의 값을 가질 수 없는 object에 null을 할당했기 때문에 발생한다. 💡 방법 1 : 내가 해결한 방법 이런 식으로 오브젝트를 할당을 해주지 않아서 None 값으로 표시될수도 있고 MissingData처럼 스크립트에서 오브젝트 이름을 바꾸면 초기화가 될 수도 있으니 해당 오브젝트를 다시 할당해주어야 한다. 💡 방법 2 : 인터넷에서 찾아 본.. 2022. 12. 2. 디자인 패턴 (Design Pattern) 🤔 디자인 패턴이란? 효율적인 코드를 만들기 위한 방법론 라이브러리나 프레임워크가 도와주지 못하는 부분을 도와주는 것 상황에 맞는 올바른 설계를 더 빠르게 적용할 수 있다. 각 패턴의 장단점을 통해서 설계를 선택하는데 도움을 얻을 수 있다. 설계 패턴에 이름을 붙임으로써 시스템의 문서화, 이해, 유지 보수에 도움을 얻을 수 있다. 😊 디자인 패턴 사용 목적 및 이유 1. 우리 주변에서 자주 반복해서 발생하는 문제와 그 문제를 해결하는 핵심을 기술하여 동일한 일을 두 번 다시 하지 않고 해결할 수 있도록 한다. 2. 구체적인 설명없이 구조화된 패턴에 대한 사전 지식으로 개발자 간의 커뮤니케이션이 원할해질 수 있다. 3. 이미 검증된 구조를 사용하므로 설계 과정의 속도를 높일 수 있다. 🙂 디자인 패턴의 장.. 2022. 8. 11. [GitHub] Push 에러 해결하기 (error: failed to push some refs to) 📝 github에 commit을 하다가 git push origin master 를 입력했는데 갑자기 에러가 발생했다. ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/jiyeong1004/JAVA200_Intermediate.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You.. 2021. 7. 5. 이전 1 다음 728x90