eycorsican / kitsunebi-android

A fully-featured V2Ray client for Android.
MIT License
1.78k stars 316 forks source link

启动后点击右下角开始按钮需等待10秒左右才生效 #39

Closed windy1lee closed 5 years ago

windy1lee commented 5 years ago

1.zip

你正在使用哪个版本?

1.3.4

使用最新版本是否还遇到同样的问题?

是,至少1.3.3和1.3.4均存在此问题

你的手机型号和手机操作系统版本是多少?

华为mate9,安卓9

你遇到了什么问题?

如题,已上传log

你遇到的问题可以用固定步骤重现吗?

每次启动均此现象

windy1lee commented 5 years ago

其他同类app基本是点击运行按钮大约2秒钟内均实现功能,没办法谁让我更爱kitsunebi呢

eycorsican commented 5 years ago

你新建并选中一个空的规则集,然后看看启动是否还慢?

windy1lee commented 5 years ago

空规则集果然启动速度直接就快了!难道这个规则集处理这么慢吗?

eycorsican commented 5 years ago

再试一下刚更新的 1.3.6,用正常的规则集,主要是优化了下启动的处理

windy1lee commented 5 years ago

启动速度有提升,用的默认规则,但感觉还有空间。感谢作者频繁处理更新。。

eycorsican commented 5 years ago

你说的10秒是指开关从播放图标变成暂停图标的时间?还是说很快变成暂停图标了,但实际上网络没办法立刻连接需要再等10秒?

我用两个设备都没办法重现这个问题完全猜不着什么回事。

windy1lee commented 5 years ago

很快变成暂停图标,但实际网络没办法立刻连接,大约需要10秒时间!使用的这个规则:https://raw.githubusercontent.com/ConnersHua/Profiles/master/Kitsunebi/Pro.conf

windy1lee commented 5 years ago

最新版本刚才又测试了下,速度很快了!感谢处理。很稳了

windy1lee commented 5 years ago

上传logcat,感觉开启后响应还是有些慢,不知道对作者是否有帮助。 --------- beginning of main 04-13 16:35:15.868 15684 15684 D ZrHung.AppEyeUiProbe: notify runnable to start. 04-13 16:35:15.869 15684 15684 I System.out: ping sent 04-13 16:35:15.876 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:15.876 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:15.883 15684 16058 I HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false 04-13 16:35:15.898 15684 15707 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 04-13 16:35:15.912 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:15.912 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:15.932 15684 15684 W InputMethodManager: startInputReason = 1 04-13 16:35:15.954 15684 15684 I System.out: pong received 04-13 16:35:15.956 15684 15684 I System.out: pong received 04-13 16:35:16.068 15684 15707 W libEGL : EGLNativeWindowType 0x7c609d1010 disconnect failed 04-13 16:35:16.074 15684 15684 D ViewRootImpl[SettingsActivity]: surface should not be released --------- beginning of system 04-13 16:35:16.077 15684 15684 D ActivityThread: Remove activity client record, r= ActivityRecord{669d199 token=android.os.BinderProxy@34ec50a {fun.kitsunebi.kitsunebi4android/fun.kitsunebi.kitsunebi4android.ui.settings.SettingsActivity}} token= android.os.BinderProxy@34ec50a 04-13 16:35:16.486 15684 15684 V AudioManager: playSoundEffect effectType: 0 04-13 16:35:16.487 15684 15684 V AudioManager: querySoundEffectsEnabled... 04-13 16:35:16.530 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:16.530 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:16.618 15684 15707 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 04-13 16:35:16.682 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:16.683 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:17.624 15684 15684 V AudioManager: playSoundEffect effectType: 0 04-13 16:35:17.624 15684 15684 V AudioManager: querySoundEffectsEnabled... 04-13 16:35:17.666 15684 15684 D ZrHung.AppEyeUiProbe: stop checker. 04-13 16:35:17.675 15684 15684 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@28f73c1 04-13 16:35:17.676 15684 15684 D ZrHung.AppEyeUiProbe: notify runnable to start. 04-13 16:35:17.676 15684 15684 V ActivityThread: Skipping new config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1080, 1920) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1080, 1920) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:fun.kitsunebi.kitsunebi4android 04-13 16:35:17.677 15684 15684 V ActivityThread: callActivityOnCreate 04-13 16:35:17.681 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:17.681 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@42b5fd8,androidx.appcompat.view.ContextThemeWrapper@6bbcf31 04-13 16:35:17.681 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:17.681 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.681 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:17.681 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@dcd2d6d,androidx.appcompat.view.ContextThemeWrapper@6bbcf31 04-13 16:35:17.681 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:17.684 15684 15684 D ActivityThread: add activity client record, r= ActivityRecord{ffa9d1c token=android.os.BinderProxy@28f73c1 {fun.kitsunebi.kitsunebi4android/fun.kitsunebi.kitsunebi4android.ui.analysis.AnalysisActivity}} token= android.os.BinderProxy@28f73c1 04-13 16:35:17.687 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:17.687 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@a4e8887,fun.kitsunebi.kitsunebi4android.ui.analysis.AnalysisActivity@cd94a43 04-13 16:35:17.687 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:17.687 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:17.687 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:17.687 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@812623,fun.kitsunebi.kitsunebi4android.ui.analysis.AnalysisActivity@cd94a43 04-13 16:35:17.687 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:17.688 15684 15684 D ZrHung.AppEyeUiProbe: notify runnable to start. 04-13 16:35:17.691 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:17.691 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:17.702 15684 16060 I HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false 04-13 16:35:17.711 15684 15707 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 04-13 16:35:17.721 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:17.721 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:17.736 15684 15684 W InputMethodManager: startInputReason = 1 04-13 16:35:17.820 15684 15707 W libEGL : EGLNativeWindowType 0x7c609d1010 disconnect failed 04-13 16:35:17.820 15684 15707 D OpenGLRenderer: endAllActiveAnimators on 0x7c7f1e1200 (MenuPopupWindow$MenuDropDownListView) with handle 0x7c60ca6f60 04-13 16:35:17.870 15684 15707 W libEGL : EGLNativeWindowType 0x7c60ade010 disconnect failed 04-13 16:35:17.874 15684 15684 D ViewRootImpl[EndpointListActivity]: surface should not be released 04-13 16:35:18.888 15684 15684 V AudioManager: playSoundEffect effectType: 0 04-13 16:35:18.889 15684 15684 V AudioManager: querySoundEffectsEnabled... 04-13 16:35:18.921 15684 15684 D ZrHung.AppEyeUiProbe: stop checker. 04-13 16:35:18.931 15684 15684 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@167f129 04-13 16:35:18.932 15684 15684 D ZrHung.AppEyeUiProbe: notify runnable to start. 04-13 16:35:18.932 15684 15684 V ActivityThread: Skipping new config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1080, 1920) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1080, 1920) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:fun.kitsunebi.kitsunebi4android 04-13 16:35:18.934 15684 15684 V ActivityThread: callActivityOnCreate 04-13 16:35:18.937 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:18.937 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@45b2de3,androidx.appcompat.view.ContextThemeWrapper@35fe3e0 04-13 16:35:18.937 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:18.937 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.937 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:18.937 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@90f5e0c,androidx.appcompat.view.ContextThemeWrapper@35fe3e0 04-13 16:35:18.937 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:18.939 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:18.940 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@2535fd1,fun.kitsunebi.kitsunebi4android.ui.LogcatActivity@d699c6b 04-13 16:35:18.940 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:18.940 15684 15684 I FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 I FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 D FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 04-13 16:35:18.940 15684 15684 D FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 04-13 16:35:18.940 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@3f41d37,fun.kitsunebi.kitsunebi4android.ui.LogcatActivity@d699c6b 04-13 16:35:18.940 15684 15684 D HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 04-13 16:35:18.942 15684 15684 D ActivityThread: add activity client record, r= ActivityRecord{bec33c2 token=android.os.BinderProxy@167f129 {fun.kitsunebi.kitsunebi4android/fun.kitsunebi.kitsunebi4android.ui.LogcatActivity}} token= android.os.BinderProxy@167f129 04-13 16:35:18.943 15684 15684 D ZrHung.AppEyeUiProbe: notify runnable to start. 04-13 16:35:18.945 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:18.945 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:18.954 15684 16067 I HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false 04-13 16:35:18.962 15684 15707 D mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 04-13 16:35:18.965 15684 15707 D OpenGLRenderer: HWUI Binary is enabled 04-13 16:35:18.965 15684 15707 D OpenGLRenderer: disableOutlineDraw is true 04-13 16:35:18.981 15684 15684 W InputMethodManager: startInputReason = 1 04-13 16:35:19.121 15684 15707 W libEGL : EGLNativeWindowType 0x7c9389e010 disconnect failed 04-13 16:35:19.121 15684 15707 D OpenGLRenderer: endAllActiveAnimators on 0x7c60d7a700 (RippleDrawable) with handle 0x7c60d329c0 04-13 16:35:19.129 15684 15684 D ViewRootImpl[AnalysisActivity]: surface should not be released

eycorsican commented 5 years ago

0.9.2 有没有这个问题?

windy1lee commented 5 years ago

有,应该还是这个感觉

eycorsican commented 5 years ago

我还是不确定是哪方面问题。

空规则集果然启动速度直接就快了!难道这个规则集处理这么慢吗?

@windy1lee 你做过多次测试确定空规则集就没有这个问题吗?

那么你可以再测试一下,只把规则集里面所有的 geoip 规则(包括 geoip:cngeoip:private)去掉,看看效果怎样吗?

还有就是试一下用 IPIfNonMatchAsIs 路由域名策略的区别。

windy1lee commented 5 years ago

不知道为什么,感觉最新版本启动速度快多了!先这样吧