http://developer.android.com/google/play/billing/billing_integrate.html#billing-download의 단계에 따라 인앱 결제 샘플 앱을 작동 시키려고했습니다.Android 인앱 결제 샘플 앱을 작동시키지 못함
내가 한 모든 것을 + 마지막에 로그를 추가 할 것입니다. 누군가 내가 잘못하고있는 것을 말할 수 있기를 바랍니다. 내 작업 공간에 내 Google 공개 키에 던전 프로젝트를 수입
: 여기
내가했던 모든 것을 (나는 그것이 오래 알고 ...하지만 난 아무것도 잊지 않았는지 확인하고 싶었)입니다 Security.java의 base64EncodedPublicKey 변수입니다. Google 개발자 계정에 추가 한 새 앱에서 공개 키를 받았습니다. 는 com.example 접두사
내가 응용 프로그램을 구축 통해 "안드로이드 도구"에 서명하지 않도록 요청에 따라
나는 응용 프로그램 패키지의 이름을 변경 -> "수출 서명 응용 프로그램 패키지를 ... "내가 내 개발자 계정에서 만든 새 응용 프로그램에 APK를 업로드 같은 ID를 가진, 나는 새로운 응용 프로그램에 응용 프로그램 제품에서 추가
(사람이있는 나는 공개 키를했다)와 같이 Dungeons 프로젝트 (sword_001, postion_001)를 실행하고 활성화했습니다.
"설정"-> "테스트 액세스 권한이있는 Gmail 계정" 내 개발자 계정에는 테스트 계정이 추가되었지만 새 계정은 내 개발자 계정이 아닙니다.
기기에 서명 된 앱을 설치했습니다. 기기를 초기화하고 개발자 계정에 추가 한 테스트 계정으로 로그인했습니다.
내 장치
나는 (이 내 시험 장치)없이 SIM 카드 안드로이드 2.3.4 장치에 응용 프로그램을 설치했습니다. 구글 플레이 버전 : 3.10.9
결과
나는 제품 중 하나를 구입하려고는, 내가 "항목을 사용할 수 없습니다"라는 에러 (실제로 두 번 그것을 얻을). 나는 참으로 DEBUG를 설정했는데, 지금은 얻을 "오류가 서버에서 정보를 검색. [RPC : S-5 : AEC-0]"(2 회 ...)
로그 :
12-06 07:58:42.255: D/Finsky(1955): [7] MarketBillingService.getPreferredAccount: com.sakal.billingtest.merchant: Account from first account.
12-06 07:58:42.275: D/Finsky(1955): [7] MarketBillingService.getPreferredAccount: com.sakal.billingtest.merchant: Account from first account.
12-06 07:58:42.325: D/Finsky(1955): [27] MarketBillingService.getPreferredAccount: com.sakal.billingtest.merchant: Account from first account.
12-06 07:58:42.335: D/Finsky(1955): [27] MarketBillingService.getPreferredAccount: com.sakal.billingtest.merchant: Account from first account.
12-06 07:58:42.991: E/Volley(1955): [15] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/details?doc=subs:com.sakal.billingtest.merchant:potion_001
12-06 07:58:44.785: D/Finsky(1955): [1] MarketBillingService.sendResponseCode: Sending response RESULT_ERROR for request 8273178932293834331 to com.sakal.billingtest.merchant.
12-06 07:58:44.785: I/BillingService(3173): handleCommand() action: com.android.vending.billing.RESPONSE_CODE
12-06 07:58:45.551: E/Volley(1955): [14] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/details?doc=inapp:com.sakal.billingtest.merchant:potion_001
12-06 07:58:46.225: D/Finsky(1955): [1] MarketBillingService.sendResponseCode: Sending response RESULT_ERROR for request 2493329704825383333 to com.sakal.billingtest.merchant.
12-06 07:58:46.245: I/BillingService(3173): handleCommand() action: com.android.vending.billing.RESPONSE_CODE
을
개발자 콘솔에서 프로젝트를 초안으로 업로드 했습니까? 매니페스트의 버전 코드가 업로드 된 응용 프로그램과 동일합니까? – Demonick
예, 초안으로 업로드했습니다. 그리고 내 장치에 이클립스에서 응용 프로그램을 실행하지 않으면 서명 된 응용 프로그램 (동일한 apk 내가 초안에 업로드)을 설치하므로 동일한 버전 코드가 있어야합니다. – dors
안녕하세요 저는 몇 분 전에 시작된 동일한 오류가 나타납니다. ... – Jai