This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Request assistance in an android program coding  RSS feed

 
Daniel Peter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having issues in creating a program using Android Studio.But i get a little coding errors. Any assistance would be appreciated.

These are a few errors i'm having.

Error  at as unreachable statement

 
Error at the 1st as unreachable statement

  
Error at the last part as not a statement  
       
   
Errors at `break label153`,`break label258` & `break label203` as undefinable label      

 

Error in as not a statement



Error in as not a statement
 
Campbell Ritchie
Marshal
Posts: 55681
162
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

After a break; statement, any following code cannot be executed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!