java - SugarOrm and MultiDex -
i developed app , used sugarorm database. working fine till started use multidex. after that, couldn't create new tables. did crashed ever time. error.
android.database.sqlite.sqliteexception: no such table: hava_durumu_orm
my application class
public class application47 extends com.orm.sugarapp { @override public void oncreate() { super.oncreate(); sugarcontext.init(this); } @override protected void attachbasecontext(context base) { super.attachbasecontext(base); multidex.install(this); } }
- i tired not overriding oncreate method same error.
here how give subclass app.
<application android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsrtl="true" android:theme="@style/theme.appcompat.light.noactionbar" android:name=".application47">
- i tried giving exact package "com.lior.izuapp.application47" didn't help.
i tried cleaning project, didn't work. delete app device , reinstall device. tables gone. there no database.
i couldn't find solution in web. there know how handle this?
Comments
Post a Comment