• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLexception error

 
Dave Luling
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help! I got suddenly a error with Sql exception.

Error:

Oncreate(bundle) in com.xxx.xxx.xxx.xxx clashes with Oncreate(bundle) in android.app.activity; overridden method does not throw java.sql.SQLEXCEPTION

I literally don´t understand the problem. :S Everything just worked fine yesterday and suddenly I got this.


ps: I work with Android Studio
 
Dave Tolls
Ranch Hand
Posts: 2091
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave Luling wrote:Help! I got suddenly a error with Sql exception.

Error:

Oncreate(bundle) in com.xxx.xxx.xxx.xxx clashes with Oncreate(bundle) in android.app.activity; overridden method does not throw java.sql.SQLEXCEPTION

I literally don´t understand the problem. :S Everything just worked fine yesterday and suddenly I got this.


ps: I work with Android Studio


It means exactly what it says.
Your version of onCreate(Bundle) in your Activity says it is throwing a SQLException, whereas onCreate(Bundle) in Activity does not.
So it doesn't compile.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic