본문 바로가기
728x90
반응형

프로그래밍58

안드로이드 앱 서명 체크 * 명령어 keytool -printcert -jarfile ~/Downloads/Android.aab ​ * keytools Android SDK path에 있다. 버전마다 path가 다를 수 있다. ex) /Applications/Unity/Hub/Editor/2021.3.6f1/PlaybackEngines/AndroidPlayer/SDK/build-tools/30.0.2 ​* 결과 2022. 11. 22.
유니티엔진 패키지 매니저로 Newtonsoft.Json 설치 오랜만에 유니티를 설치해서 프로젝트를 진행하고 있습니다. 이전 소스들을 열어서 최신 버전으로 컨버팅 해서 개조 중인데 에러를 무지 뿜고 있습니다. 가장 저를 짜증 나게 하고 있는 건 Newtonsoft.Json입니다. 기본 프로젝트는 Newtonsoft.Json을 추가해서 쓰고 있었는데 에러를 없애기 위해서 유니티에서 제공하는 것을 쓰기로 했습니다. Package Manager를 열고 Add package by name 을 누릅니다. 패키지 네임(com.unity.nuget.newtonsoft-json)과 버전을 추가하고 Add를 누릅니다. 패키지 버전에 따라 Newtonsoft.Json이 다릅니다. https://docs.unity3d.com/Packages/com.unity.nuget.newtonso.. 2022. 6. 1.
Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation" Unity 2021.3.2f1 에러 메시지 : Assembly 'Assets/Plugins/BakingSheet/Editor/Google/Google.Apis.Drive.v3.dll' will not be loaded due to errors: Google.Apis.Drive.v3 references strong named Newtonsoft.Json Assembly references: 12.0.0.0 Found in project: 13.0.0.0. Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation" "co 2022. 5. 29.
타입스크립트 Type Aliases Type 'string | string[]' is not assignable to type 'string'. Type 'string[]' is not assignable to type 'string'.ts(2322) 타입스크립트로 작업을 하다가 위와같은 에러가 발생 했습니다. 'string | string[]’ 을 string에 넣을 수 없다는 말인데 이유는 Type Aliases때문입니다. type Fruit = "Orange" | "Apple" | "Banana"; 타입스크립트에서는 위와 같이 타입을 만들 수 있습니다. Fruit 에는 "Orange" 또는 "Apple" 또는 "Banana”을 넣을 수 있습니다. type Fruit = "Orange" | "Apple" | "Banana"; let f.. 2022. 5. 29.
nextjs 파일 다운로드 링크 만들기 nextjs 에서 파일 다운로드 링크를 만들고 싶으면 아래와 같이 코드를 작성하면 됩니다. 파일 다운로드 a 태그를 사용할때 download를 추가하면 됩니다. “download=파일이름” 을 지정해서 다운로드할 파일 이름을 변경할 수도 있습니다. 하지만 이 방법은 다른 도메인에 있는 파일을 다운로드할 때는 동작하지 않습니다. 해결 방법 const request = require("request"); export default (req, res) => { const pipeline = promisify(stream.pipeline); export default async (req: NextApiRequest, res: NextApiResponse) => { const id:string = req.quer.. 2022. 5. 28.
깃허브 코스스페이스 - GitHub Codespaces 언제 신청했는지 기억도 나지 않는데 깃허브 코드 스페이스를 사용할 수 있다는 이메일을 받았습니다. Welcome to Codespaces! You're off the waitlist and can start using Codespaces. Read on for more info before you get going. Getting started with Codespaces With Codespaces, you can load your favorite Visual Studio Code extensions and language tooling, customize your development environment with your own dotfiles, and run your app and debug fr.. 2022. 5. 17.
728x90
반응형