旋转屏幕上的Android深度重定向失败

时间:2014-06-29 17:19:51

标签: java android

我正在搜索旋转屏幕时收到的警告解决方案。每当我旋转它时,我都会收到logcat警告"深度重定向失败"。我在网上搜索但却找不到它的实际含义。该应用程序工作正常,但我不想这样离开它。任何帮助将不胜感激。

    Build Date: 07/31/12 Tue
    Local Branch:
    Remote Branch: quic/master
    Local Patches: NONE
    Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 +  NOTHING
06-29 19:13:57.293  27769-27769/com.example.application D/OpenGLRenderer﹕ Enabling debug mode 0
06-29 19:13:57.313  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000
06-29 19:13:57.313  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000
06-29 19:14:09.715  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:09.715  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:09.715  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x01030123
06-29 19:14:09.715  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x01030123
06-29 19:14:09.765  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011e => 0x0a090039, defStyleAttr=0x01010394, defStyleRes=0x01030127, style=0x01030127
06-29 19:14:09.765  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011f => 0x0a09003a, defStyleAttr=0x01010394, defStyleRes=0x01030127, style=0x01030127
06-29 19:14:09.765  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:09.765  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:09.775  27769-27769/com.example.application D/Logged﹕ true
06-29 19:14:09.845  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000
06-29 19:14:09.845  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000
06-29 19:14:11.156  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:11.156  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:11.156  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x01030123
06-29 19:14:11.156  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x01030123
06-29 19:14:11.206  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011e => 0x0a090039, defStyleAttr=0x01010394, defStyleRes=0x01030127, style=0x01030127
06-29 19:14:11.206  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011f => 0x0a09003a, defStyleAttr=0x01010394, defStyleRes=0x01030127, style=0x01030127
06-29 19:14:11.206  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:11.206  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x00000000, defStyleRes=0x00000000, style=0x01030123
06-29 19:14:11.216  27769-27769/com.example.application D/Logged﹕ true
06-29 19:14:11.326  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011c => 0x0a090014, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000
06-29 19:14:11.326  27769-27769/com.example.application W/asset﹕ deep redirect failure from 0x0103011d => 0x0a090012, defStyleAttr=0x010102ce, defStyleRes=0x01030123, style=0x00000000

这是我的onCreate功能

Boolean logged = false;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        // Check whether we're recreating a previously destroyed instance
        if (savedInstanceState != null) {
            // Restore value of members from saved state
            logged = savedInstanceState.getBoolean("LOGIN_VAL");
        } else {
            logged = false;
            Bundle extras = getIntent().getExtras();
            if (extras != null) {
                logged = extras.getBoolean("Logged");
            }
        }

        Log.d("Logged", logged.toString());

        if(logged == false)
        {
            loginUser();
        }
    }

我如何在这里查明问题?

1 个答案:

答案 0 :(得分:1)

我在互联网上搜索,但我找不到你的答案,所以我真的不知道如何解决这个问题,但我有一个想法......

也许尝试去 - > Eclipse - >项目 - >清洁..

:)