当前位置: 首页 > 知识库问答 >
问题:

[Lin phone-Android]运行所有仿真器,但停止运行我的真实设备4.4.2

周昊乾
2023-03-14

我正在构建 Linphone-Android 应用程序,我经过测试模拟器生成 apk 一切正常,但我在我的真实设备上进行了测试 Android 4.4.2 停止工作,这个日志猫

04-11 18:28:57.645 22384-22384/org.linphone W/dalvikvm: JNI WARNING: received null jstring (GetStringUTFChars)
04-11 18:28:57.645 22384-22384/org.linphone W/dalvikvm:              in Lorg/linphone/core/LinphoneFriendImpl;.setName:(JLjava/lang/String;)V (GetStringUTFChars)
04-11 18:28:57.645 22384-22384/org.linphone I/dalvikvm: "main" prio=5 tid=1 NATIVE
04-11 18:28:57.645 22384-22384/org.linphone I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x41609e58 self=0x415299f0
04-11 18:28:57.645 22384-22384/org.linphone I/dalvikvm:   | sysTid=22384 nice=0 sched=0/0 cgrp=apps handle=1074438484
04-11 18:28:57.645 22384-22384/org.linphone I/dalvikvm:   | state=R schedstat=( 899376799 405274548 3029 ) utm=55 stm=34 core=0
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #00  pc 0000132e  /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #01  pc 00063506  /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #02  pc 000574ec  /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #03  pc 0005755a  /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #04  pc 0003b65c  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #05  pc 0003b944  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #06  pc 0003c964  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #07  pc 0003ed74  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #08  pc 002d6d90  /data/app-lib/org.linphone-1/liblinphone-armeabi-v7a.so (Java_org_linphone_core_LinphoneFriendImpl_setName+32)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #09  pc 0002034c  /system/lib/libdvm.so (dvmPlatformInvoke+112)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #10  pc 00050fce  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+397)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #11  pc 000297e0  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #12  pc 00030c6c  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #13  pc 0002e304  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #14  pc 00063718  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+391)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #15  pc 0006b61e  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #16  pc 000297e0  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #17  pc 00030c6c  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #18  pc 0002e304  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #19  pc 00063434  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+335)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #20  pc 0004cbb6  /system/lib/libdvm.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #21  pc 0004d3bc  /system/lib/libandroid_runtime.so
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #22  pc 0004e1aa  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+353)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #23  pc 0000105a  /system/bin/app_process
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:   #24  pc 0000e498  /system/lib/libc.so (__libc_init+47)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm: at org.linphone.core.LinphoneFriendImpl.setName(Native Method)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm: at org.linphone.core.LinphoneFriendImpl.setName(LinphoneFriendImpl.java:129)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at org.linphone.LinphoneContact.refresh(LinphoneContact.java:394)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at org.linphone.ContactsManager.fetchContactsAsync(ContactsManager.java:246)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at org.linphone.ContactsManager.fetchContacts(ContactsManager.java:203)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at org.linphone.LinphoneActivity.onResume(LinphoneActivity.java:1239)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.Activity.performResume(Activity.java:5310)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2781)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2820)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2253)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread.access$800(ActivityThread.java:138)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.os.Handler.dispatchMessage(Handler.java:102)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.os.Looper.loop(Looper.java:136)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at android.app.ActivityThread.main(ActivityThread.java:5050)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at java.lang.reflect.Method.invokeNative(Native Method)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at java.lang.reflect.Method.invoke(Method.java:515)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
04-11 18:28:57.675 22384-22384/org.linphone I/dalvikvm:     at dalvik.system.NativeStart.main(Native Method)
04-11 18:28:57.675 22384-22384/org.linphone E/dalvikvm: VM aborting
04-11 18:28:57.675 22384-22384/org.linphone A/libc: Fatal signal 6 (SIGABRT) at 0x00005770 (code=-6), thread 22384 (org.linphone)

阅读有关此的一些stackoverflow问题有些人说这bug4.4.2版本的Android系统,但我在我的设备上测试了Linphone Play Store App工作得很好。

共有1个答案

宇文智敏
2023-03-14

模拟器是什么版本?如果这两个版本真有区别,那应该是后防线兼容性问题

 类似资料:
  • 在我的应用程序中,对于特定的< code>EditText,我希望句子的第一个字母是大写字母。所以我用了< code > Android:input type = " textCapSentences " 。 奇怪的是这适用于模拟器,但不适用于模拟器。我什至尝试了,即使它已被弃用,但它不起作用。 相关事实: > 模拟器操作系统:4.0.3 真实设备操作系统:4.0.4 应用minSdk版本:2.3

  • 有没有一种方法可以在不启动Android Studio的情况下运行模拟器。可能是从命令行。我知道这个功能在旧版本中是可用的,从那以后就消失了。但也许有人知道怎么做了?

  • 它可以在仿真器和真实设备(android版本4)上工作,但不能在真实设备(android版本7.0)上工作 相关代码: logcat: 05-23 10:31:39.464 173 42-17342/laftel.net.laftel E/AndroidRuntime:致命异常:主进程:laftel.net.laftel,pid:17342 java.lang.nullPointerExcepti

  • 我是Appium的新手,尝试使用Appium和Selenium(Java)并行运行2台android设备,但只有1台设备在运行我的测试脚本。下面是我的测试脚本(junit),我很难尝试解决这个问题。我没有同时使用任何网格或云网格(SauceLabs/BrowserStack),因为我现在想在本地监视它。 我不是很确定我需要在这里补充什么细节,但我很乐意回答任何问题和建议,将非常感谢。 提前谢谢!!

  • 那么有没有办法将flutter应用从windows机器运行到真正的ios设备呢? 我找了找,但找不到答案。我唯一发现的东西是2019年的,我认为这是一个很长的时间,也许开发了一个工具。

  • 我的Android Studio应用程序使用了OpenCV和NDK。apk太大了,所以我决定不支持x86设备(我只想支持armeabi-v7a和arm64-v8a),因此C++开发人员删除了对x86 ABI的支持,他不再可用。在我的应用程序分级中,我有: abiFilters'ARMEABI-V7A'、'ARM64-V8A' 然而,现在,该应用程序将在Google Pixel真实设备(或真实设备)