안드로이드 마켓 in-app 연동 개발을 진행하고 있습니다.

 

1. 안드로이드 마켓에 aa.aa package로 된 App을 등록하고

    인앱제품을 등록한 후 인앱제품을 게시 하고 App 또한 게시를 하였습니다.

    앱이 검색 되어 다운 받은 다음에 실행을 하니...

    Can't connect to Market

    This app cannot connect to Market. .... 팝업이 발생을 하는데

    발생 지점을 찾아 보니

 

    private boolean bindToMarketBillingService() {
        try {
            if (Consts.DEBUG) {
                Log.i(TAG, "binding to Market billing service");
            }
            boolean bindResult = bindService(
                    new Intent(Consts.MARKET_BILLING_SERVICE_ACTION),
                    this,  // ServiceConnection.
                    Context.BIND_AUTO_CREATE);

            if (bindResult) {
                return true;
            } else {
                Log.e(TAG, "Could not bind to service.");
            }
        } catch (SecurityException e) {
            Log.e(TAG, "Security exception: " + e);
        }
        return false;
    }

bindService가 되질 않네요...

 

permision 및 servicej는 manifast 파일에

 

<service android:name=".billing.BillingService" />   
        <receiver android:name=".billing.BillingReceiver">     
         <intent-filter>       
          <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />       
          <action android:name="com.android.vending.billing.RESPONSE_CODE" />       
          <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />     
         </intent-filter>   
        </receiver>

 

    <uses-permission android:name="com.android.vending.BILLING" />

 

까지 추가 한 상태입니다.

위와 같은 오류 발생 시 해결 하신 유경험자분 도움 부탁드립니다.

 

관련 오류 검색 시 어떤 분이 keystore에 60년 이상 해야한대서 그렇게 변경하고 등록을 해보았지만

마찬가지 였습니다.

 

그리고 추가로 아직 오픈 할 단계가 아니므로 게시를 하면 안되는데

실제 결제 테스트는 게시를 한 상태에서 마켓에서 다운 받아서만 테스트를 해야하나요?

 

답변 바랍니다.

감사니다.