cuihaoliang / android-smspopup

Automatically exported from code.google.com/p/android-smspopup
0 stars 0 forks source link

smspopup crash when new message is coming in #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install smspopup in my android phone
2. send a new message to android
3. a popuping message saying it's going to shutdown

What version of the product are you using? On what operating system?
I just checked out the latest code from googlecode to compile a app.

Please provide any additional information below.
12-02 16:42:55.325: W/dalvikvm(602): threadid=1: thread exiting with uncaught 
exception (group=0x409951f8)
12-02 16:42:55.405: E/AndroidRuntime(602): FATAL EXCEPTION: main
12-02 16:42:55.405: E/AndroidRuntime(602): java.lang.RuntimeException: Unable 
to start activity 
ComponentInfo{net.everythingandroid.smspopup/net.everythingandroid.smspopup.SmsP
opupActivity}: android.view.InflateException: Binary XML file line #30: Error 
inflating class com.viewpagerindicator.CirclePageIndicator
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1955)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1980)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread.access$600(ActivityThread.java:122)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1146)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.os.Looper.loop(Looper.java:137)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread.main(ActivityThread.java:4340)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
java.lang.reflect.Method.invokeNative(Native Method)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
java.lang.reflect.Method.invoke(Method.java:511)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
dalvik.system.NativeStart.main(Native Method)
12-02 16:42:55.405: E/AndroidRuntime(602): Caused by: 
android.view.InflateException: Binary XML file line #30: Error inflating class 
com.viewpagerindicator.CirclePageIndicator
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.createView(LayoutInflater.java:606)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.inflate(LayoutInflater.java:489)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.inflate(LayoutInflater.java:396)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.inflate(LayoutInflater.java:352)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251
)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.Activity.setContentView(Activity.java:1835)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
net.everythingandroid.smspopup.SmsPopupActivity.onCreate(SmsPopupActivity.java:1
24)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.Activity.performCreate(Activity.java:4465)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1919)
12-02 16:42:55.405: E/AndroidRuntime(602):  ... 11 more
12-02 16:42:55.405: E/AndroidRuntime(602): Caused by: 
java.lang.reflect.InvocationTargetException
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
java.lang.reflect.Constructor.constructNative(Native Method)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
java.lang.reflect.Constructor.newInstance(Constructor.java:417)
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
android.view.LayoutInflater.createView(LayoutInflater.java:586)
12-02 16:42:55.405: E/AndroidRuntime(602):  ... 22 more
12-02 16:42:55.405: E/AndroidRuntime(602): Caused by: 
java.lang.NoClassDefFoundError: com.viewpagerindicator.R$attr
12-02 16:42:55.405: E/AndroidRuntime(602):  at 
com.viewpagerindicator.CirclePageIndicator.<init>(CirclePageIndicator.java:70)
12-02 16:42:55.405: E/AndroidRuntime(602):  ... 25 more

Original issue reported on code.google.com by ballack...@gmail.com on 3 Dec 2011 at 2:42

GoogleCodeExporter commented 9 years ago
If you want a stable release use one of the tags:
http://code.google.com/p/android-smspopup/source/browse/#svn%2Ftags%2FSMSPopup%2
0v1.1.0

The latest code now requires Jake Wharton's viewpager indicator library, you 
will need that to successfully build and run sms popup now:
https://github.com/JakeWharton/Android-ViewPagerIndicator

Original comment by adam.eve...@gmail.com on 27 Dec 2011 at 4:43