• Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLexception error  RSS feed

 
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 Foreman
Posts: 3003
37
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!