• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hrloo.java



main.xml


strings.xml


i think maybe folowing code have error:


thank you!



 
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Laker the problem is in syntax here

It should be like this

And next time please provide logcat error messages while posting.
 
Pramod P Deore
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to JavaRanch
 
laker jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Pramod P Deore wrote:And welcome to JavaRanch



so thank you,deore!

the site is so likely! ilike it!

about my problem,it still have erroe, i have change it as you said.

the log is:


and i found eclips ,its "Error log" table recommd "argement cant be null"

again thank you !
 
Pramod P Deore
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just after changes in main.xml application run fines on my computer. Try one more time Copy the whole code as you had given in you first post and make changes only in EditText and Button as I told earlier application will definitely run.
 
laker jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
great deore!

after weeken,this programe have normal work!

so thank you,i don‘t know by my poor english to how to discrible my thanks, luck to you!
 
Pramod P Deore
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome
reply
    Bookmark Topic Watch Topic
  • New Topic