“错误”;“应用程序意外停止”;从我的Android应用程序

“错误”;“应用程序意外停止”;从我的Android应用程序,android,android-emulator,android-logcat,Android,Android Emulator,Android Logcat,日志类别: 06-08 22:10:24.930: E/Zygote(32): setreuid() failed. errno: 2 06-08 22:10:39.451: E/Zygote(32): setreuid() failed. errno: 17 06-08 22:10:41.590: E/BatteryService(61): usbOnlinePath not found 06-08 22:10:41.600: E/BatteryService(

日志类别:

    06-08 22:10:24.930: E/Zygote(32): setreuid() failed. errno: 2
    06-08 22:10:39.451: E/Zygote(32): setreuid() failed. errno: 17
    06-08 22:10:41.590: E/BatteryService(61): usbOnlinePath not found
    06-08 22:10:41.600: E/BatteryService(61): batteryVoltagePath not found
    06-08 22:10:41.600: E/BatteryService(61): batteryTemperaturePath not found
    06-08 22:10:41.610: E/SurfaceFlinger(61): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    06-08 22:10:41.860: E/SensorService(61): couldn't open device for module sensors (Invalid argument)
    06-08 22:10:50.050: E/System(61): Failure starting core service
    06-08 22:10:50.050: E/System(61): java.lang.SecurityException
    06-08 22:10:50.050: E/System(61):   at android.os.BinderProxy.transact(Native Method)
    06-08 22:10:50.050: E/System(61):   at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    06-08 22:10:50.050: E/System(61):   at android.os.ServiceManager.addService(ServiceManager.java:72)
    06-08 22:10:50.050: E/System(61):   at com.android.server.ServerThread.run(SystemServer.java:206)
    06-08 22:10:50.090: E/EventHub(61): could not get driver version for /dev/input/mouse0, Not a typewriter
    06-08 22:10:50.090: E/EventHub(61): could not get driver version for /dev/input/mice, Not a typewriter
    06-08 22:10:50.700: E/SoundPool(61): error loading /system/media/audio/ui/Effect_Tick.ogg
    06-08 22:10:50.710: E/SoundPool(61): error loading /system/media/audio/ui/KeypressStandard.ogg
    06-08 22:10:50.720: E/SoundPool(61): error loading /system/media/audio/ui/KeypressSpacebar.ogg
    06-08 22:10:50.730: E/SoundPool(61): error loading /system/media/audio/ui/KeypressDelete.ogg
    06-08 22:10:50.740: E/SoundPool(61): error loading /system/media/audio/ui/KeypressReturn.ogg
    06-08 22:10:50.790: E/UsbObserver(61): java.lang.NullPointerException
    06-08 22:10:50.790: E/UsbObserver(61):  at com.android.server.UsbObserver.init(UsbObserver.java:131)
    06-08 22:10:50.790: E/UsbObserver(61):  at com.android.server.UsbObserver.<init>(UsbObserver.java:65)
    06-08 22:10:50.790: E/UsbObserver(61):  at com.android.server.ServerThread.run(SystemServer.java:402)
    06-08 22:10:52.010: E/ThrottleService(61): Could not open GPS configuration file /etc/gps.conf
    06-08 22:10:53.540: E/logwrapper(154): executing /system/bin/tc failed: No such file or directory
    06-08 22:10:53.660: E/logwrapper(155): executing /system/bin/tc failed: No such file or directory
    06-08 22:10:53.740: E/logwrapper(158): executing /system/bin/tc failed: No such file or directory
    06-08 22:11:30.560: E/Database(320): Failure 1 (near "(": syntax error) on 0x29bd78 when preparing 'create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);'.
    06-08 22:11:30.610: E/AndroidRuntime(320): FATAL EXCEPTION: main
    06-08 22:11:30.610: E/AndroidRuntime(320): java.lang.RuntimeException: Unable to start activity ComponentInfo{poo.sushie.ourproject/poo.sushie.ourproject.MyprojectActivity}: android.database.sqlite.SQLiteException: near "(": syntax error: create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.os.Handler.dispatchMessage(Handler.java:99)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.os.Looper.loop(Looper.java:123)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread.main(ActivityThread.java:3683)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at java.lang.reflect.Method.invokeNative(Native Method)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at java.lang.reflect.Method.invoke(Method.java:507)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at dalvik.system.NativeStart.main(Native Method)
    06-08 22:11:30.610: E/AndroidRuntime(320): Caused by: android.database.sqlite.SQLiteException: near "(": syntax error: create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.database.sqlite.SQLiteDatabase.native_execSQL(Native Method)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1763)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at poo.sushie.ourproject.MyDBAdaptera$DatabaseHelper.onCreate(MyDBAdaptera.java:88)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at poo.sushie.ourproject.MyDBAdaptera.open(MyDBAdaptera.java:41)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at poo.sushie.ourproject.MyprojectActivity.onCreate(MyprojectActivity.java:24)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    06-08 22:11:30.610: E/AndroidRuntime(320):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
    06-08 22:11:30.610: E/AndroidRuntime(320):  ... 11 more
06-08 22:10:24.930:E/合子(32):setreuid()失败。错误:2
06-08 22:10:39.451:E/合子(32):setreuid()失败。号码:17
06-08 22:10:41.590:E/电池服务(61):未找到usbOnlinePath
06-08 22:10:41.600:E/蓄电池服务(61):未找到蓄电池电压路径
06-08 22:10:41.600:E/电池服务(61):未找到电池温度路径
06-08 22:10:41.610:E/SurfaceFlinger(61):无法打开/sys/power/wait_以等待睡眠或/sys/power/wait_以等待唤醒
06-08 22:10:41.860:E/SensorService(61):无法打开模块传感器的设备(参数无效)
06-08 22:10:50.050:E/系统(61):无法启动堆芯服务
06-08 22:10:50.050:E/System(61):java.lang.SecurityException
06-08 22:10:50.050:E/System(61):在android.os.BinderProxy.transact(本机方法)
06-08 22:10:50.050:E/System(61):在android.os.ServiceManagerProxy.addService(serviceManagerActive.java:146)
06-08 22:10:50.050:E/System(61):在android.os.ServiceManager.addService(ServiceManager.java:72)
06-08 22:10:50.050:E/System(61):位于com.android.server.ServerThread.run(SystemServer.java:206)
06-08 22:10:50.090:E/EventHub(61):无法获取/dev/input/mouse0的驱动程序版本,不是打字机
06-08 22:10:50.090:E/EventHub(61):无法获取/dev/input/mice的驱动程序版本,不是打字机
06-08 22:10:50.700:E/SoundPool(61):加载错误/system/media/audio/ui/Effect\u Tick.ogg
06-08 22:10:50.710:E/声音池(61):加载错误/系统/媒体/音频/用户界面/按键标准.ogg
06-08 22:10:50.720:E/声音池(61):加载错误/系统/媒体/音频/用户界面/按键空格键.ogg
06-08 22:10:50.730:E/SoundPool(61):加载/system/media/audio/ui/KeypressDelete.ogg时出错
06-08 22:10:50.740:E/SoundPool(61):加载错误/system/media/audio/ui/KeypressReturn.ogg
06-08 22:10:50.790:E/UsbObserver(61):java.lang.NullPointerException
06-08 22:10:50.790:E/UsbObserver(61):位于com.android.server.UsbObserver.init(UsbObserver.java:131)
06-08 22:10:50.790:E/UsbObserver(61):位于com.android.server.UsbObserver(UsbObserver.java:65)
06-08 22:10:50.790:E/UsbObserver(61):位于com.android.server.ServerThread.run(SystemServer.java:402)
06-08 22:10:52.010:E/ThrottleService(61):无法打开GPS配置文件/etc/GPS.conf
06-08 22:10:53.540:E/logwrapper(154):执行/system/bin/tc失败:没有这样的文件或目录
06-08 22:10:53.660:E/logwrapper(155):执行/system/bin/tc失败:没有这样的文件或目录
06-08 22:10:53.740:E/logwrapper(158):执行/system/bin/tc失败:没有这样的文件或目录
06-08 22:11:30.560:E/Database(320):准备“创建表(_idInteger主键自动递增,问题文本不为null,a文本不为null,b文本不为null,c文本不为null,d文本不为null,答案文本不为null,主题文本不为null)”时,0x29bd78上出现故障1(接近“(”:语法错误)。
06-08 22:11:30.610:E/AndroidRuntime(320):致命异常:主
06-08 22:11:30.610:E/AndroidRuntime(320):java.lang.RuntimeException:无法启动活动组件信息{poo.sushie.ourproject/poo.sushie.ourproject.MyprojectActivity}:android.database.sqlite.SQLiteException:接近“(”:语法错误:创建表(_idinteger主键自动递增、问题文本不为null、a文本不为null、b文本不为null、c文本不为null、d文本不为null、答案文本不为null、主题文本不为null);
06-08 22:11:30.610:E/AndroidRuntime(320):在android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
06-08 22:11:30.610:E/AndroidRuntime(320):在android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
06-08 22:11:30.610:E/AndroidRuntime(320):在android.app.ActivityThread.access$1500(ActivityThread.java:117)
06-08 22:11:30.610:E/AndroidRuntime(320):在android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
06-08 22:11:30.610:E/AndroidRuntime(320):在android.os.Handler.dispatchMessage(Handler.java:99)上
06-08 22:11:30.610:E/AndroidRuntime(320):在android.os.Looper.loop(Looper.java:123)上
06-08 22:11:30.610:E/AndroidRuntime(320):位于android.app.ActivityThread.main(ActivityThread.java:3683)
06-08 22:11:30.610:E/AndroidRuntime(320):位于java.lang.reflect.Method.Invokenactive(本机方法)
06-08 22:11:30.610:E/AndroidRuntime(320):位于java.lang.reflect.Method.invoke(Method.java:507)
06-08 22:11:30.610:E/AndroidRuntime(320):在com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-08 22:11:30.610:E/AndroidRuntime(320):在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-08 22:11:30.610:E/AndroidRuntime(320):在dalvik.system.NativeStart.main(本机方法)
06-08 22:11:30.610:E/AndroidRuntime(320):由以下原因引起:android.database.sqlite.SQLiteException:near“(”:语法错误:创建表(_idinteger主键自动递增,问题文本不为null,a文本不为null,b文本不为null,c文本不为null,d文本不为null,答案文本不为null,主题文本不为null);
06-08 22:11:30.610:E/AndroidRuntime(320):在android.database.sqlite.SQLiteDatabase.native_execSQL(native方法)
06-08 22:11:30.610:E/AndroidRuntime(320):位于android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1763)
06-08 22:11:30.610:E/AndroidRuntime(320):在poo.sushie.ourproject.MyDBAdaptera$DatabaseHelper.onCreate(MyDBAdaptera.java:88)
06-08 22:11:30.610:E/AndroidRuntime(320):位于android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
06-08 22:11:30.610:E/AndroidRuntime(320):在poo.sushie.ourproject.mydbadapter.open(mydbadapter.java:41)
06-08 22:11:30.610:E/AndroidRuntime(320):在poo.sushie.ourproject.MyprojectActivity.onCreate(MyprojectActivity.java:24)
06-08 22:11:30.610:E/AndroidRuntime(320):在android.app.Instrumentatio
create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);
CREATE TABLE MyTableName (_id int ...)
06-08 22:11:30.610: E/AndroidRuntime(320): Caused by: android.database.sqlite.SQLiteException: near "(": syntax error: create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);
06-08 22:11:30.610: E/AndroidRuntime(320): java.lang.RuntimeException: Unable to start activity ComponentInfo{poo.sushie.ourproject/poo.sushie.ourproject.MyprojectActivity}: android.database.sqlite.SQLiteException: near "(": syntax error: create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);
Caused by: android.database.sqlite.SQLiteException: near "(": syntax error: create table  (_id integer primary key autoincrement, question text not null, a text not null, b text not null, c text not null, d text not null, answer text not null, subject text not null);