Android Application Crashing on Launch

前端 未结 1 1625
执念已碎
执念已碎 2021-01-26 06:47

My android application crashes on launch on any device, there are no noticeable errors in the Code, can anyone help?

this is the MainActivity.java

packag         


        
相关标签:
1条回答
  • 2021-01-26 07:33
    23:15:40.677: E/AndroidRuntime(24889): Process: com.example.smartfood, PID: 24889 11-26 23:15:40.677: E/AndroidRuntime(24889): java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable
    

    It would appear that you did not correctly add the appcompat-v7 library to your Eclipse project. Follow the instructions for adding a library project with resources.

    0 讨论(0)
提交回复
热议问题