What does "W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@eb23963" mean?

Viewed 4725
1 Answers

Please check for any infinite loop in your Second Activity where you want to go on Button Click.

I was facing the same issue with rewardVideoAd:

Before:

private void loadRewardedVideoAd() {
    if (!mRewardedVideoAd.isLoaded()) {
        //Demo ad
        mRewardedVideoAd.loadAd("ca-app-pub-3940256099942544/5224354917",
                new AdRequest.Builder().build());

        if (ad.getVisibility() == View.VISIBLE) {
            ad.setVisibility(View.INVISIBLE);
        }
        loadRewardedVideoAd();
    }
    else {
        //Toast.makeText(this, "Ad Already loaded", Toast.LENGTH_SHORT).show();

    }
}

After

private void loadRewardedVideoAd() {
    if (!mRewardedVideoAd.isLoaded()) {
        //Demo ad
        mRewardedVideoAd.loadAd("ca-app-pub-3940256099942544/5224354917",
                new AdRequest.Builder().build());

        if (ad.getVisibility() == View.VISIBLE) {
            ad.setVisibility(View.INVISIBLE);
        }
        //loadRewardedVideoAd(); // I removed this line
    }
    else {
        //Toast.makeText(this, "Ad Already loaded", Toast.LENGTH_SHORT).show();

    }
}

Hope it helps!!

Related