Sincronização não está funcionando, aparece a seguinte mensagem:
08-20 23:28:11.028 27991-27991/br.com.alura.agenda E/SQLiteLog: (20) statement aborts at 5: [INSERT INTO Alunos(caminhoFoto,nome,nota,id,endereco,site,telefone) VALUES (?,?,?,?,?,?,?)] datatype mismatch
08-20 23:28:11.038 27991-27991/br.com.alura.agenda E/SQLiteDatabase: Error inserting caminhoFoto=null nome=Rafael nota=7.0 id=76422891-0aa4-4e69-a35b-917edadaf3d8 endereco=rua do rafael site=googlw.com telefone=98989898
android.database.sqlite.SQLiteDatatypeMismatchException: datatype mismatch (code 20)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:790)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:926)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1581)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1451)
at br.com.alura.agenda.dao.AlunoDAO.insere(AlunoDAO.java:99)
at br.com.alura.agenda.dao.AlunoDAO.sincroniza(AlunoDAO.java:174)
at br.com.alura.agenda.ListaAlunosActivity$3.onResponse(ListaAlunosActivity.java:90)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5297)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
08-20 23:28:11.038 27991-27991/br.com.alura.agenda E/SQLiteLog: (20) statement aborts at 5: [INSERT INTO Alunos(caminhoFoto,nome,nota,id,endereco,site,telefone) VALUES (?,?,?,?,?,?,?)] datatype mismatch
08-20 23:28:11.048 27991-27991/br.com.alura.agenda E/SQLiteDatabase: Error inserting caminhoFoto=null nome=caique nota=4.0 id=cf912f95-44a0-4c11-b7ec-2b382ed3b07c endereco=rua do caique site=googlem.com telefone=188182i3i
android.database.sqlite.SQLiteDatatypeMismatchException: datatype mismatch (code 20)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:790)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:926)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1581)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1451)
at br.com.alura.agenda.dao.AlunoDAO.insere(AlunoDAO.java:99)
at br.com.alura.agenda.dao.AlunoDAO.sincroniza(AlunoDAO.java:174)
at br.com.alura.agenda.ListaAlunosActivity$3.onResponse(ListaAlunosActivity.java:90)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5297)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
08-20 23:28:17.038 27991-28029/br.com.alura.agenda I/GMPM: Tag Manager is not found and thus will not be used