Java nullpointer exception from Webview in android.webkit.WebViewClassic.loadDataWithBaseURL
- 阅读更多 关于 Java nullpointer exception from Webview in android.webkit.WebViewClassic.loadDataWithBaseURL
问题 Following the suggestions provided in this question I modified my AdMob code to be compliant with the recommendations, that effectively worked reducing the number of exceptions that were appearing. However a new exception is rising. The code is the following: @Override protected void onDestroy() { if ( adView != null ) { adView.destroy(); adView = null; Log.i(ApplicationData.APP_TAG, TAG + ": OnDestroy, destroying the Adview"); } super.onDestroy(); } The method adView.destroy() appears to