[Help] App force closes and says it has Stopped when implementing "Show external login UI" node?

Hi Spookey0188,

Ok, we already do the


serviceIntent.setPackage("com.android.vending");

in IabHelper.java. It looks like we also need a change in LicenseChecker.java found in Engine\Build\Android\Java\src\com\android\vending\licensing.

Line 149:


                    boolean bindResult = mContext
                            .bindService(
                                    new Intent(
                                            new String(
                                                    Base64.decode("Y29tLmFuZHJvaWQudmVuZGluZy5saWNlbnNpbmcuSUxpY2Vuc2luZ1NlcnZpY2U="))),
                                    this, // ServiceConnection.
                                    Context.BIND_AUTO_CREATE);


change this to:


                    boolean bindResult = mContext
                            .bindService(
                                    new Intent(
                                            new String(
                                                    Base64.decode("Y29tLmFuZHJvaWQudmVuZGluZy5saWNlbnNpbmcuSUxpY2Vuc2luZ1NlcnZpY2U=")))
											.setPackage(
													new String(
														Base64.decode("Y29tLmFuZHJvaWQudmVuZGluZw==")
													)
											),
                                    this, // ServiceConnection.
                                    Context.BIND_AUTO_CREATE);


Setting TargetSDK version to 19 would likely also fix this since this only seems to be needed for Lollipop and above. I’ll make this change for 4.11.