Android 应用程序未正确加载到 AVD 中

标签 android android-emulator cordova emulation

我的应用程序只是在启动模式,但没有完全加载 Logcat 消息是: “跳过 33 帧!应用程序可能在其主线程上做了太多工作。” 请帮助我..

最佳答案

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends Activity {

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

        Log.d("in on create", "before thread");
        new handler().start();
    }

    private class handler extends Thread {

        @Override
        public synchronized void start() {

            super.start();
            Log.d("in handler ", "inside start");

        }

    }
}

关于Android 应用程序未正确加载到 AVD 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17761933/

相关文章:

android - 我的应用程序被杀死(致命信号 11)

自定义 fragment (NPE)内的Android Maps V2 MapView

android - onPause 停止 LocationManager

java - Android 为什么我在为启动画面膨胀图层列表时出现错误

android - 如何让我的 android 模拟器更快?

java - 如何在Android中运行jar文件中的类 Activity ?

Cordova Facebook插件: missing variables APP_ID, APP_NAME

javascript - 在本地存储中保存高分(Javascript 贪吃蛇游戏)

android - ionic 框架未能在Google Playstore中发布:Apache Cordova该漏洞已在Apache Cordova v.3.5.1中修复。

安卓工作室 : Can't run AVD because of Intel HAXM error