I use GreenDAO to create DAO classes , but I always have the same error on the console that I cannot figure out what the problem is.
I generate DAO classes and then do in my activity:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
DevOpenHelper helper = new DaoMaster.DevOpenHelper(this.getApplicationContext(), "OneTableDB.sqlite",
null);
db = helper.getWritableDatabase();
daoMaster = new DaoMaster(db);
daoSession = daoMaster.newSession();
}
That is all that I have in my work.
My layout is also pretty simple:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="80dp"
android:orientation="vertical" >
</LinearLayout>
I have an error on my console, even if it does not work with the functional part of the application, I always know why.
Console
OpenGLRenderer - Getting MAX_TEXTURE_SIZE from GradienCache
OpenGLRenderer - MAX_TEXTURE_SIZE: 8192
OpenGLRenderer - Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
OpenGLRenderer - MAX_TEXTURE_SIZE: 8192
How can I fix this problem?
source
share