Majid_it Member Jul 21, 2023 #1 Hello I have a database But I run it on Android 12 and it works But when I run it in Android 8, it gives an error It says that column is not available What should I do to make my database work in all Android versions?
Hello I have a database But I run it on Android 12 and it works But when I run it in Android 8, it gives an error It says that column is not available What should I do to make my database work in all Android versions?
B Brian Dean Well-Known Member Licensed User Longtime User Jul 22, 2023 #2 It is very hard to imagine a change in an Android version that would affect just one column in a database. There is almost certainly some other factor involved. As you can see, nobody has come forward yet to help you. That is probably because you are providing no clues, only your own opinion of the cause. As is often suggested, the "How to post ..." item at the top of the forum is worth reading. Start by posting the full error message and the section of the code where the error occurs. Upvote 0
It is very hard to imagine a change in an Android version that would affect just one column in a database. There is almost certainly some other factor involved. As you can see, nobody has come forward yet to help you. That is probably because you are providing no clues, only your own opinion of the cause. As is often suggested, the "How to post ..." item at the top of the forum is worth reading. Start by posting the full error message and the section of the code where the error occurs.
zed Well-Known Member Licensed User Jul 22, 2023 #3 Majid_it said: What should I do to make my database work in all Android versions? Click to expand... I don't think that is the cause. My app's with database all work on different versions of android. Brian Dean said: That is probably because you are providing no clues Click to expand... Brian Dean said: Start by posting the full error message and the section of the code where the error occurs. Click to expand... We can't do anything if we don't have more information. Upvote 0
Majid_it said: What should I do to make my database work in all Android versions? Click to expand... I don't think that is the cause. My app's with database all work on different versions of android. Brian Dean said: That is probably because you are providing no clues Click to expand... Brian Dean said: Start by posting the full error message and the section of the code where the error occurs. Click to expand... We can't do anything if we don't have more information.
KMatle Expert Licensed User Longtime User Jul 22, 2023 #4 You mean SQLite? Where do you store it? (Path) Upvote 0
Majid_it Member Jul 24, 2023 #5 I upload the database with Android 11 and download it from the server with Android 8, and when I save it, it gives an error Upvote 0
I upload the database with Android 11 and download it from the server with Android 8, and when I save it, it gives an error
zed Well-Known Member Licensed User Jul 25, 2023 #6 Brian Dean said: Start by posting the full error message and the section of the code where the error occurs. Click to expand... If you don't show an example and the error message, we can't do anything. Click on file and export in zip. Post the zip and the log. Upvote 0
Brian Dean said: Start by posting the full error message and the section of the code where the error occurs. Click to expand... If you don't show an example and the error message, we can't do anything. Click on file and export in zip. Post the zip and the log.