Jump to content
과거의 기술자료(읽기 전용): https://tech.devgear.co.kr ×
과거의 기술자료(읽기 전용): https://tech.devgear.co.kr
  • 0

델파이11-안드로이드 패치후 결재라이브러리3이상이 적용되지 않는것 같습니다.


박영근

질문

델파이 10.4.2 결제 라이브러리 버전 3은 문제 없이 잘 작동되었는데.

11월 1일 이후 구글에서 라이브러리 3이상 으로 업데이트 하라하여

델파이 11 설치 후 라이브러리 4로 업그레이드 후 구글에 올린결과 라이브러리 3이상으로 업그레이드 하라는 오류 메시지가 나오네요.

지금 라이브러리가 제대로 적용이 안되고 있는 버그가 있는 건가요?

라이브러리4 적용.JPG

라리브러리 오류.JPG

Edited by 박영근
이 댓글 링크
다른 사이트에 공유하기

3 answers to this question

Recommended Posts

  • 0

우선 델파이 11은 안드로이드 API 30을 지원합니다. 그리고 그안에 billing 라이브러리 4.0이 포함되어 있습니다.

인용하기

Compile for Android API 30!

Android API and Libraries updated - API 30, Google Play V3, Android X. Keep current with the latest requirements for Android as the platform evolves.

This includes the latest billing API (required by Google Play Store). Enhanced Delphi and C++ RTL for Android, with support for Android API level 30. Support for the new “AndroidX” libraries. In-app purchase component to help monetize your applications. Android solution Google Play Billing Library Version 4. Enhanced FireMonkey Application Platform for creating native Android ARMv7 applications for Android 11, 10, Pie (9.0), Oreo (8.1)

참조 https://www.embarcadero.com/products/rad-studio/whats-new-in-11-alexandria 

 

하지만, 다음글의 질문과 같이 다른 개발자들도 배포 시 오류("이 앱은 지원되지 않는 버전의 play 결제를 사용합니다. 앱을 게시하려면 결제 라이브러리 버전 3 이상으로 업그레이드하세요")가 발생하는 것 같습니다.

https://en.delphipraxis.net/topic/5627-d11-android-new-app-billing-service/

위 Q&A 중 Dave Nottage 의견이 문제해결에 도움이 될 것 같습니다.

제안하는 솔루션

 AndroidManifest.template.xml의 <application> </apllication> 사이에 다음 태그를 추가하시기 바랍니다.

        <meta-data
            android:name="com.google.android.play.billingclient.version"
            android:value="4.0.0" />

그리고, classes.dex 파일에서 com.android.billingclient가 있는지 확인하세요.
(제가 직접 델파이 11에서 Android 64bit로 컴파일한 classes.dex 파일을 살펴보니 다음과 같이 포함됨을 확인했습니다.)
image.png

직접 확인하려면 다음 도구를 설치해 진행하시기 바랍니다.
해당 글에서 제안한 도구: https://github.com/skylot/jadx
또는, 제가 참고한 글의 도구: https://visu4l.tistory.com/412

위 이슈는 작성자가 엠바카데로 퀄리티 포털에 등록하였습니다.

https://quality.embarcadero.com/browse/RSP-35834

 

위 내용으로 시도해 보시고 결과 답변 부탁드립니다.

이 댓글 링크
다른 사이트에 공유하기

이 토의에 참여하세요

지금 바로 의견을 남길 수 있습니다. 그리고 나서 가입해도 됩니다. 이미 회원이라면, 지금 로그인하고 본인 계정으로 의견을 남기세요.

Guest
이 질문에 답변하기...

×   서식있는 텍스트로 붙여넣기.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   이전에 작성한 콘텐츠가 복원되었습니다..   편집창 비우기

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

중요한 정보

이용약관 개인정보보호정책 이용규칙 이 사이트가 더 잘 작동하기 위해 방문자의 컴퓨터에 쿠키가 배치됩니다. 쿠키 설정 변경에서 원하는 설정을 할 수 있습니다. 변경하지 않으면 쿠키를 허용하는 것으로 이해합니다.