OpenGLRenderer 刷新缓存(模式 0)

OpenGLRenderer flushing caches (mode 0)

我有一个问题,我不知道原因,所以当 运行 我的应用程序在 POST 中的 asynctask 调用后我更改 activity 并且当新的 Activity 正在将主要内容设置为应用程序崩溃的屏幕以及任何日志。

活动更改代码是在 asynctask 的 onPostExecute 方法中编写的,我试图在另一个线程中执行此操作,从 activity 调用 runOnUIThread 方法,但无法正常工作。 我看到的唯一日志:

03-10 12:03:20.312: I/MyHttpClient(3160): HTTPResponse received in [1210ms]
03-10 12:03:20.367: I/my.app.package.ActivationActivity(3160): SendActivation onPostExecute: ActivationResponse [my.app.result.json.with.SUCCESS:result.code]
03-10 12:03:25.398: D/OpenGLRenderer(3160): Flushing caches (mode 0)

编辑:现在我已经更改了一些 classes 和对象的名称,但是代码对我不起作用

class MyAsincTask extends AsyncTask<String, Void, String>
{
    private Exception exception;
    private Gson gson;

    protected void onPostExecute(String response) {
        hideProgressDialog();
        if (exception != null) {
            //deleted log code here
        } else if (response != null) {
            // I manage the json response from the server
            try {
                // I manage the json response 
                // determining if the server call was SUCCESS or ERROR
                if (resultCode.equals(Constants.RESULT_ERROR)) {
                    //deleted log code here
                }else if (resultCode.equals(Constants.RESULT_SUCCESS)) {
                    launchRegistration(); // I enter Here and then crashes
                }
            } catch (Exception e) {
                //deleted log code here
            }
            //deleted log code here
        } else {
            //deleted log code here
        }
    }

}

    protected void launchRegistration(){

    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            Intent mIntent = new Intent(mContext, ActivityToOpen.class);
            mIntent.setAction(Constants.ACTION_TO_OPEN_ACTIVITY);
            mIntent.putExtra(Constants.SOME_EXTRA,  extras);
            startActivity(mIntent);
            finish();
        }
    }); 
}

在 other activity 内部,asynctask class 在 other activity class 内部。这段代码对我来说适用于许多最近的设备,具有最新的硬件和最新版本,如 4.4、5 和 4.3,但问题发生在其他硬件资源较少的 4.0 和 4.1 设备上。

`<activity android:name="com.example.Activity"
           android:excludeFromRecents="true"
           android:icon="@drawable/app_icon"
           android:label="@string/wizard.welcome.title"
           android:theme="@style/Theme.NoDisplay" /> `

我犯的错误是在清单声明中,一些 activity 的主题 "NoDisplay" 在最近版本的 android 中不起作用,但在以前的版本中有效版本。为此我遇到了一个问题。 感谢