Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7672347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:15:52+00:00 2026-05-31T16:15:52+00:00

I am building an app that creates and communicates with an SQLite database. However,

  • 0

I am building an app that creates and communicates with an SQLite database.

However, each time the app makes a connection with the database, it shuts down due to errors.

The (in my eyes) relevant errors are these:

03-21 07:50:29.308: E/AndroidRuntime(554): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dummies.android.taskreminder/com.dummies.android.taskreminder.ReminderListActivity}: java.lang.IllegalArgumentException: column '_id' does not exist

03-21 07:50:29.308: E/AndroidRuntime(554): Caused by: java.lang.IllegalArgumentException: column '_id' does not exist

In the tutorial I used, the ID column is named “_id” but i renamed it to “ReminderID” before ever using it. The term “_id” is never used in my version and renaming the variable “ReminderID” to “_id” gives me the same errors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:15:54+00:00Added an answer on May 31, 2026 at 4:15 pm

    Your database doesn’t have to have a column called ‘_id’ but the SimpleCursorAdaptor does need to have one returned. You can do this with an alias.
    _id field is used as a unique key to make sure the data the cursor handles can be handled correctly by adapters and adapterviews etc.
    if

    ReminderID,XYZ ABC are your columns... then
    

    To query for your SimpleCursorAdapter, you can do this with a database rawQuery…

     SELECT  ReminderID as _id,XYZ,ABC FROM MY_TABLE
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building an app that creates a http connection between Android and a
I am building an app that consists of actionbar with tabs, and each tab
I'm building an app that integrates with Highrise, and so-far-so-good, however, when trying to
I am building a C# app that creates many bitmaps (System.Drawing.Image). Having the bitmaps
I'm building a desktop app that needs to communicate with a MS Access database.
I'm building an app that will trigger notifications at specific time-intervals during the users
I'm building a simple php app using OOP that creates a CSV file based
I finished building an app that allows beaming of photos, contacts and text clips
I am building an app that plays multiple video files, But I would like
I am building an app that uses the fine Urban Airship api to send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.