- Front-end developer
- postman collection variables
- postman pre-request
- c#
- Intellij
- emplace_back
- 프런트엔드
- postman excel
- MFC
- 우수한 프런트 개발자
- 다빈치 리졸브
- Android/iOS Developer
- postman csv
- postman html parse
- postman collection
- LSL_Script
- postman tests
- UI/UX Engineer
- postman session
- postman automations
- web developer
- Java
- Unity
- solidity
- Android
- Interaction developer
- postman
- C++
- oracle
- 좋은 개발자
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Today
- Total
david's daily developer note
[Unity] 구글 결제 라이브러리 버전4 업그레이드 본문
구글 플레이 콘솔에서 버전 검토 과정에서 다음 메시지를 확인하고,
구글 결제 라이브러리 버전 4로 업데이트하는 과정을 순서대로 정리하였다.
1. 구글 결제 라이브러리 4.0.0 이상의 버전을 지원하는 In App Purchasing 버전을 확인
https://docs.unity3d.com/Packages/com.unity.purchasing@4.4/changelog/CHANGELOG.html
Changelog | In App Purchasing | 4.4.1
Changelog [4.4.1] - 2022-08-11 Fixed GooglePlay - Fixed NullReferenceException and ArgumentException that would rarely occur due to a concurrency issue introduced in Unity IAP 4.2.0 Amazon - Set android:export to true to support Android API level 31+ [4.4.
docs.unity3d.com
In App Purchasing 4.4.0 이상의 버전에서 구글 결제 라이브러리 4.0.0을 지원한다고 한다.
2. 유니티에디터 ▶ Window ▶Package Manager 에서 현재 설치된 버전을 확인
3. 프로젝트 Packages폴더에서 "manifest.json" 파일을 열고, In App Purchasing 버전을 수정
(2)에서 확인한 것처럼 com.unity.purchasing 버전이 4.1.5이다. 4.4.1로 바꿔주자
(1번에서 4.4.0 부터 구글 결제 라이브러리 4.0.0을 지원을 확인하였지만, 최신 버전이 있어서 4.4.1로 선택)
5. "manifest.json"을 저장하고 유니티 에디터 복귀후, 업데이트
6. 에러 수정
현재 유니티 버전이 2019.4.1인데, IAP 4.4.1 업그레이드 이후에 몇 가지 오류가 발생한다.
혹시 같은 2019.x에서 IAP 업그레이드를 하시는 분들은..
유니티 버전을 2020.2 이상으로 업그레이드하자. (저 에러 뒤에 에러 1000000개 있다. 😫)
Reference
https://answers.unity.com/questions/1917499/unsupported-version-of-play-billing-4.html
unsupported version of Play billing 4 - Unity Answers
answers.unity.com
'[Develop] Unity' 카테고리의 다른 글
[Unity] Android 빌드 성공했는데, aab 파일이 생성되지 않는 오류 (0) | 2022.10.23 |
---|---|
[Unity] Android 게임 ISO 출시하기 1 (개발 환경 준비) (0) | 2022.09.27 |
[Unity] Unity IAP 4.1.5 Upgrade (0) | 2022.09.07 |
[Unity] Unity Ads SDK 4.0.1 Upgrade (0) | 2022.09.06 |
[Unity] EasySave Primitive Type Save/Load Function Example (0) | 2022.06.21 |