安卓打包问题

wsdsg666 2021-3-10 678

下载官网自带安卓包   直接编译运行      添加好友时 输入任意字符  直接闪退到主界面    

I/mars::stn: [net_core.cc, operator, 310]:task start long short taskid:8, cmdid:11, need_authed:true, cgi:/im, channel_select:3, limit_flow:false, host:node2.wildfirechat.net, send_only:false, cmdid:11, server_process_cost:-1, retrycount:-1,  channel_strategy:1,  total_timetout:-1, network_status_sensitive:false, priority:3, report_arg:  I/mars::stn: [net_core.cc, operator, 319]:long link task count:0,      [longlink_task_manager.cc, RunOnStartTask, 324]:host ip to callback is    I/mars::proto: [stn_callback.cc, Req2Buf, 1152]:PROTO -> TASK after package:taskid:8 cmdid:11 channel_id:0 channel_select:3 cgi:/im send_only:0 need_authed:1 limit_flow:0 limit_frequency:0 network_status_sensitive:0 channel_strategy:1 priority:3 retry_count:-1 server_process_cost:-1 total_timetout:-1     type:48     topic:US     body size:3  I/mars::stn: [longlink_task_manager.cc, RunOnStartTask, 407]:task add into longlink readwrite suc cgi:/im, cmdid:11, taskid:8, size:2, timeout(firstpkg:12, rw:17, task:70), retry:1, curtime:3199822, start_send_time:3199822,  I/mars::comm: [alarm.cc, Cancel, 95]:alarm cancel id:3386920544, seq:10, after:210000  I/mars::comm: [alarm.cc, Start, 69]:alarm id:3386920544, after:210000, seq:11, po.reg.q:18446744072815946096,po.reg.s:0,po.s:83, MQ:18446744072815946096  I/mars::stn: [longlink.cc, RunReadWrite, 676]:task socket send sock:57, all send:24, count:1, sub send taskid:8, cmdid:11, /im, len(S:24, 24/24),   I/mars::stn: [longlink.cc, RunReadWrite, 765]:task socket recv sock:57, recv len:2710, buff len:2710     [longlink.cc, RunReadWrite, 784]:task socket recv sock:57, pack recv finish taskid:8, cmdid:11, /im, packlen:(2710/2710)  I/mars::proto: [stn_callback.cc, Buf2Resp, 1196]:PROTO -> TASK(taskid:8 cmdid:11 channel_id:0 channel_select:3 cgi:/im send_only:0 need_authed:1 limit_flow:0 limit_frequency:0 network_status_sensitive:0 channel_strategy:1 priority:3 retry_count:-1 server_process_cost:-1 total_timetout:-1     type:48     topic:US     body size:3     ) has response     [stn_callback.cc, Buf2Resp, 1197]:PROTO -> TASK errorcode:0     [stn_callback.cc, Buf2Resp, 1208]:PROTO -> TASK business code:0(0success, otherwise failure)  I/mars::stn: [longlink_task_manager.cc, SingleRespHandle, 441]:task end callback  long cmdid:11, err(0, 0, 0), svr(152.136.97.171:1883, DNSIP, node2.wildfirechat.net), cli(, 192.168.232.2, n:, sig:0), cost(s:2, r:2699, c:30, rw:76), all:100, retry:1, cgi:/im, taskid:8, tid:18986     [zombie_task_manager.cc, RedoTasks, 121]:-> RedoTasks   I/mars::stn: [zombie_task_manager.cc, RedoTasks, 121]:<- RedoTasks +0,   E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  E/ClientService: [, , 0]:main process died  W/: $$$$$$$$$$Mar  6 2021$$$20:24:16$$$$$$$$$$[18863,18863][2021-03-10 +0000 10:58:15]  Connected to process 19033 on device 'emulator-5554'.  Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.  I/MultiDex: VM with version 2.1.0 has multidex support     Installing application     VM has multidex support, MultiDex support library is disabled.  W/ldfirechat.chat: type=1400 audit(0.0:181): avc: denied { read } for name="anr" dev="dm-1" ino=36645 scontext=u:r:untrusted_app:s0:c85,c256,c512,c768 tcontext=u:object_r:anr_data_file:s0 tclass=dir permissive=0  W/System.err: java.lang.ClassNotFoundException: cn.wildfirechat.moment.MomentClient         at java.lang.Class.classForName(Native Method)  W/System.err:     at java.lang.Class.forName(Class.java:453)         at java.lang.Class.forName(Class.java:378)  W/System.err:     at cn.wildfire.chat.kit.WfcUIKit.initMomentClient(WfcUIKit.java:159)         at cn.wildfire.chat.kit.WfcUIKit.init(WfcUIKit.java:86)         at cn.wildfire.chat.app.MyApp.onCreate(MyApp.java:43)  W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)         at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)         at android.app.ActivityThread.access$1100(ActivityThread.java:199)         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)         at android.os.Handler.dispatchMessage(Handler.java:106)  W/System.err:     at android.os.Looper.loop(Looper.java:193)         at android.app.ActivityThread.main(ActivityThread.java:6669)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)  W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "cn.wildfirechat.moment.MomentClient" on path: DexPathList[[zip file "/data/app/cn.wildfirechat.chat-7jKTw-yLbVyXF55_7CS93g==/base.apk"],nativeLibraryDirectories=[/data/app/cn.wildfirechat.chat-7jKTw-yLbVyXF55_7CS93g==/lib/x86, /data/app/cn.wildfirechat.chat-7jKTw-yLbVyXF55_7CS93g==/base.apk!/lib/x86, /system/lib]]         at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)         at java.lang.ClassLoader.loadClass(ClassLoader.java:379)         at java.lang.ClassLoader.loadClass(ClassLoader.java:312)  W/System.err:  ... 16 more  W/ldfirechat.cha: Accessing hidden method Landroid/app/ActivityManagerNative;->getDefault()Landroid/app/IActivityManager; (light greylist, reflection)  W/BuglyThread-1: type=1400 audit(0.0:182): avc: denied { search } for name="power_supply" dev="sysfs" ino=11399 scontext=u:r:untrusted_app:s0:c85,c256,c512,c768 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0  D/NetworkSecurityConfig: No Network Security Config specified, using platform default  W/ldfirechat.cha: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (light greylist, reflection)     Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (light greylist, reflection)     Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (light greylist, reflection)  D/WfcUIKit: init end  W/System.err: java.io.FileNotFoundException: /system/build.prop (Permission denied)  W/System.err:     at java.io.FileInputStream.open0(Native Method)         at java.io.FileInputStream.open(FileInputStream.java:231)         at java.io.FileInputStream.(FileInputStream.java:165)         at cn.wildfirechat.push.PushService.getSystem(PushService.java:346)         at cn.wildfirechat.push.PushService.init(PushService.java:64)         at cn.wildfire.chat.app.MyApp.onCreate(MyApp.java:45)         at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)  W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)         at android.app.ActivityThread.access$1100(ActivityThread.java:199)         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)         at android.os.Handler.dispatchMessage(Handler.java:106)  W/System.err:     at android.os.Looper.loop(Looper.java:193)         at android.app.ActivityThread.main(ActivityThread.java:6669)  W/System.err:     at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)  E/mcssdk---: MCS-->isExistPackage NameNotFoundException:com.coloros.mcs  E/MessageViewHolderManager: re-register message view holder SimpleNotificationMessageContentViewHolder  V/xiaomi: [Thread:778] ASSEMBLE_PUSH : assemble push register  V/xiaomi: [Thread:773] empty local vid  D/AppCompatDelegate: Application config ({1.0 310mcc260mnc [en_US] ldltr sw360dp w360dp h568dp 320dpi nrml port finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 720, 1184) mWindowingMode=fullscreen mActivityType=undefined} s.5}) does not match base config ({1.0 310mcc260mnc [en_US] ldltr sw360dp w360dp h568dp 320dpi nrml port finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 720, 1184) mAppBounds=Rect(0, 0 - 720, 1184) mWindowingMode=fullscreen mActivityType=standard} s.5}), using base overlay: {0.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?ldr ?wideColorGamut ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=null mWindowingMode=undefined mActivityType=undefined}}  D/AppCompatDelegate: Applying night mode using ContextThemeWrapper and applyOverrideConfiguration(). Config: {0.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?ldr ?wideColorGamut ?orien ?uimode ?touch ?keyb/?/? ?nav/? winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=null mWindowingMode=undefined mActivityType=undefined}}  D/AppCompatDelegate: updateForNightMode [allowRecreation:false, currentNightMode:16, newNightMode:16, activityHandlingUiMode:false, baseContextAttached:true, created:false, canReturnDifferentContext:true, host:cn.wildfire.chat.app.main.MainActivity@d8459ea]     updateForNightMode not recreating Activity: cn.wildfire.chat.app.main.MainActivity@d8459ea  D/AppCompatDelegate: updateForNightMode. Skipping. Night mode: -1 for host:cn.wildfire.chat.app.main.MainActivity@d8459ea  V/xiaomi: [Thread:773] Perf_code  packetType  3010  length 270  W/ldfirechat.cha: Accessing hidden method Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets; (light greylist, linking)     Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking)     Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking)     Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking)     Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking)  W/ldfirechat.cha: Accessing hidden method Landroid/view/View;->getAccessibilityDelegate()Landroid/view/View$AccessibilityDelegate; (light greylist, linking)  W/ldfirechat.cha: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection)  W/ldfirechat.cha: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection)  E/cn.wildfirechat.remote.ChatManager: Remote service not available  W/ldfirechat.cha: Accessing hidden method Landroid/graphics/FontFamily;->()V (light greylist, reflection)  W/ldfirechat.cha: Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection)     Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection)     Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection)     Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection)     Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection)  D/AppCompatDelegate: updateForNightMode [allowRecreation:true, currentNightMode:16, newNightMode:16, activityHandlingUiMode:false, baseContextAttached:true, created:true, canReturnDifferentContext:true, host:cn.wildfire.chat.app.main.MainActivity@d8459ea]     updateForNightMode not recreating Activity: cn.wildfire.chat.app.main.MainActivity@d8459ea     updateForNightMode. Skipping. Night mode: -1 for host:cn.wildfire.chat.app.main.MainActivity@d8459ea  E/cn.wildfirechat.remote.ChatManager: Remote service not available  E/cn.wildfirechat.remote.ChatManager: Remote service not available  D/OpenGLRenderer: HWUI GL Pipeline  E/wfc: main process crashed, to restart

最新回复 (5)
  • wsdsg666 2021-3-10
    引用 2
    没有改任何东西    直接编译运行  就这样
  • x86 2021-3-10
    引用 3
    你好,请问是手机、系统版本是什么呢?

    另外,请到github提issue,那样比较好追踪
  • wsdsg666 2021-3-12
    引用 4
    模拟器  真机都是
  • wsdsg666 2021-3-12
    引用 5
    测试任意机型  都是这样
返回