You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have another issue. I tried to create a new SQLiteOpenHelper class class DatabaseHandler < android.database.sqlite.SQLiteOpenHelper
and I have added a function to recreate the database:
def recreate
db = getWritableDatabase
db.execSQL('DROP TABLE IF EXISTS ' + TABLE_DICTIONARY)
onCreate(db)
db.close
end
On this line the app gets stuck: db = getWritableDatabase
I got these in the log:
20170508 085214.682000 D/SQLiteDatabase(17765): beginTransaction()
20170508 085215.562000 I/art (17765): Background sticky concurrent mark sweep GC freed 111908(5MB) AllocSpace objects, 2(40KB) LOS objects, 0% free, 63MB/63MB, paused 88.595ms total 722.901ms
20170508 085216.196000 I/art (17765): Background partial concurrent mark sweep GC freed 38352(2028KB) AllocSpace objects, 2(300KB) LOS objects, 19% free, 64MB/80MB, paused 91.752ms total 631.484ms
20170508 085216.198000 D/OpenGLRenderer(17765): Flushing caches (mode 0)
20170508 085216.198000 D/OpenGLRenderer(17765): Flushing caches (mode 0)
20170508 085216.201000 D/OpenGLRenderer(17765): Flushing caches (mode 0)
20170508 085217.936000 I/art (17765): Background sticky concurrent mark sweep GC freed 34018(2008KB) AllocSpace objects, 3(552KB) LOS objects, 0% free, 85MB/85MB, paused 88.699ms total 621.152ms
20170508 085218.642000 I/art (17765): Background partial concurrent mark sweep GC freed 492712(22MB) AllocSpace objects, 1(184KB) LOS objects, 19% free, 65MB/81MB, paused 98.698ms total 703.059ms
20170508 085219.653000 I/art (17765): Rejecting re-init on previously-failed class java.lang.Class<org.jruby.util.JavaNameMangler>
20170508 085220.577000 I/art (17765): Background sticky concurrent mark sweep GC freed 36882(1748KB) AllocSpace objects, 1(184KB) LOS objects, 0% free, 86MB/86MB, paused 101.472ms total 667.596ms
20170508 085221.392000 I/art (17765): Background partial concurrent mark sweep GC freed 392655(17MB) AllocSpace objects, 2(368KB) LOS objects, 18% free, 70MB/86MB, paused 122.975ms total 818.327ms
20170508 085222.354000 I/art (17765): Rejecting re-init on previously-failed class java.lang.Class<org.jruby.util.JavaNameMangler>
Could you please help me to find out what can cause the problem?
The text was updated successfully, but these errors were encountered:
Not sure what causes this. I am swamped with other projects right now. Hopefully someone else can take a look and help you. If you create a GitHub project with an example app that fails, it should be easy for others to try it and see what is wrong.
Closing this issue since it relates to Ruboto 1.x. Ruboto 2 now uses Android Studio with a much simpler setup. A guide to getting started is in the README.
I have another issue. I tried to create a new SQLiteOpenHelper class
class DatabaseHandler < android.database.sqlite.SQLiteOpenHelper
and I have added a function to recreate the database:
On this line the app gets stuck:
db = getWritableDatabase
I got these in the log:
Could you please help me to find out what can cause the problem?
The text was updated successfully, but these errors were encountered: