java.lang.ClassNotFoundException in AsyncTask on API 16 to 19
问题 I have an error that only happens in android 4 (API 16 to 19). I use the following code private class AcceptBooking extends AsyncTask<String, Void, String> { int response; @Override protected void onPreExecute() { } @Override protected void onPostExecute(String s) { switch (response){ case NO_UPDATE: startApp(); break; case SUGEST_UPDATE: adviceUpdate(); break; case FORCE_UPDATE: forceUpdate(); break; default: startApp(); break; } } @Override protected String doInBackground(String... params)