PingPlusPlus / pingpp-android

414 stars 190 forks source link

RuntimeException on latest version 2.1.6 #34

Closed username4gh closed 7 years ago

username4gh commented 8 years ago

While using this version, it throws an exception described below:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.xxx/com.pingplusplus.android.PaymentActivity}: java.lang.ClassCastException: android.webkit.WebView cannot be cast to com.pingplusplus.android.WebViewEx at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2423) .... Caused by: java.lang.ClassCastException: android.webkit.WebView cannot be cast to com.pingplusplus.android.WebViewEx at com.pingplusplus.android.q.(Unknown Source) at com.pingplusplus.android.PaymentActivity.b(Unknown Source) ...

Such an obvious error should have been detected by any tests if there were any.

username4gh commented 8 years ago

update: same issue on version 2.1.5

dong11 commented 8 years ago

在更新ping++的jar包同时 也需要更新相应的资源文件

javalue commented 7 years ago

@dong11 更新哪里的资源?

dong11 commented 7 years ago

资源文件中的layout @javalue