android 打开SQLite库时报源代码找不到问题

桃花园主 发布于 2014/03/31 11:29
阅读 577
收藏 0

android 程序在单步执行SQLiteDatabase db=this.getReadableDatabase();   语句是提示

// Compiled from SQLiteOpenHelper.java (version 1.5 : 49.0, super bit)
public abstract class android.database.sqlite.SQLiteOpenHelper {
 
  // Method descriptor #11 (Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V
  // Stack: 3, Locals: 5
  public SQLiteOpenHelper(android.content.Context context, java.lang.String name, android.database.sqlite.SQLiteDatabase.CursorFactory factory, int version);
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 4]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 14] local: context index: 1 type: android.content.Context
        [pc: 0, pc: 14] local: name index: 2 type: java.lang.String
        [pc: 0, pc: 14] local: factory index: 3 type: android.database.sqlite.SQLiteDatabase.CursorFactory
        [pc: 0, pc: 14] local: version index: 4 type: int
 
  // Method descriptor #25 (Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;ILandroid/database/DatabaseErrorHandler;)V
  // Stack: 3, Locals: 6
  public SQLiteOpenHelper(android.content.Context context, java.lang.String name, android.database.sqlite.SQLiteDatabase.CursorFactory factory, int version, android.database.DatabaseErrorHandler errorHandler);
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 5]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 14] local: context index: 1 type: android.content.Context
        [pc: 0, pc: 14] local: name index: 2 type: java.lang.String
        [pc: 0, pc: 14] local: factory index: 3 type: android.database.sqlite.SQLiteDatabase.CursorFactory
        [pc: 0, pc: 14] local: version index: 4 type: int
        [pc: 0, pc: 14] local: errorHandler index: 5 type: android.database.DatabaseErrorHandler
 
  // Method descriptor #29 ()Ljava/lang/String;
  // Stack: 3, Locals: 1
  public java.lang.String getDatabaseName();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 6]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
 
  // Method descriptor #31 (Z)V
  // Stack: 3, Locals: 2
  public void setWriteAheadLoggingEnabled(boolean enabled);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 7]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 10] local: enabled index: 1 type: boolean
 
  // Method descriptor #35 ()Landroid/database/sqlite/SQLiteDatabase;
  // Stack: 3, Locals: 1
  public android.database.sqlite.SQLiteDatabase getWritableDatabase();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 8]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
 
  // Method descriptor #35 ()Landroid/database/sqlite/SQLiteDatabase;
  // Stack: 3, Locals: 1
  public android.database.sqlite.SQLiteDatabase getReadableDatabase();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 9]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
 
  // Method descriptor #38 ()V
  // Stack: 3, Locals: 1
  public synchronized void close();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 10]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
 
  // Method descriptor #40 (Landroid/database/sqlite/SQLiteDatabase;)V
  // Stack: 3, Locals: 2
  public void onConfigure(android.database.sqlite.SQLiteDatabase db);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 11]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 10] local: db index: 1 type: android.database.sqlite.SQLiteDatabase
 
  // Method descriptor #40 (Landroid/database/sqlite/SQLiteDatabase;)V
  public abstract void onCreate(android.database.sqlite.SQLiteDatabase arg0);
 
  // Method descriptor #45 (Landroid/database/sqlite/SQLiteDatabase;II)V
  public abstract void onUpgrade(android.database.sqlite.SQLiteDatabase arg0, int arg1, int arg2);
 
  // Method descriptor #45 (Landroid/database/sqlite/SQLiteDatabase;II)V
  // Stack: 3, Locals: 4
  public void onDowngrade(android.database.sqlite.SQLiteDatabase db, int oldVersion, int newVersion);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 14]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 10] local: db index: 1 type: android.database.sqlite.SQLiteDatabase
        [pc: 0, pc: 10] local: oldVersion index: 2 type: int
        [pc: 0, pc: 10] local: newVersion index: 3 type: int
 
  // Method descriptor #40 (Landroid/database/sqlite/SQLiteDatabase;)V
  // Stack: 3, Locals: 2
  public void onOpen(android.database.sqlite.SQLiteDatabase db);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 15]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.database.sqlite.SQLiteOpenHelper
        [pc: 0, pc: 10] local: db index: 1 type: android.database.sqlite.SQLiteDatabase

  Inner classes:
    [inner class info: #8 android/database/sqlite/SQLiteDatabase$CursorFactory, outer class info: #58 android/database/sqlite/SQLiteDatabase
     inner name: #9 CursorFactory, accessflags: 1545 public abstract static]
}

由于刚接触android开发,请高手帮忙指导解决办法,先谢过了

加载中
返回顶部
顶部