Linphone Android:缺少处理器库?

时间:2014-01-13 16:22:06

标签: android arm libs linphone

我对这件事感到疯狂...... 我安装了所有,编译全部,重试了很多时间,遵循各种指南.... 最后,我在没有错误的情况下完成了日食项目(最后)。 但是......嘿!它崩溃了这个logcat!

01-13 15:36:26.123: D/dalvikvm(17992): WAIT_FOR_CONCURRENT_GC blocked 0ms
01-13 15:36:26.208: D/dalvikvm(17992): GC_FOR_ALLOC freed 113K, 13% free 9552K/10951K, paused 19ms, total 20ms
01-13 15:36:26.208: I/dalvikvm-heap(17992): Grow heap (frag case) to 13.295MB for 2908176-byte allocation
01-13 15:36:26.233: D/dalvikvm(17992): GC_CONCURRENT freed <1K, 11% free 12391K/13831K, paused 2ms+2ms, total 21ms
01-13 15:36:26.303: D/dalvikvm(17992): GC_FOR_ALLOC freed 0K, 11% free 12391K/13831K, paused 16ms, total 16ms
01-13 15:36:26.308: I/dalvikvm-heap(17992): Grow heap (frag case) to 14.854MB for 1635856-byte allocation
01-13 15:36:26.333: D/dalvikvm(17992): GC_CONCURRENT freed 0K, 10% free 13988K/15431K, paused 2ms+2ms, total 24ms
01-13 15:36:26.363: I/Linphone(17992):  ==== Phone information dump ====
01-13 15:36:26.363: I/Linphone(17992): DEVICE=GT-I9100
01-13 15:36:26.363: I/Linphone(17992): MODEL=GT-I9100
01-13 15:36:26.363: I/Linphone(17992): SDK=16
01-13 15:36:26.363: I/Linphone(17992): Linphone version is null (2211)
01-13 15:36:26.373: W/Unable to load optional library lib(17992): avutil-linphone-arm
01-13 15:36:26.373: W/Unable to load optional library lib(17992): swscale-linphone-arm
01-13 15:36:26.373: W/Unable to load optional library lib(17992): avcodec-linphone-arm
01-13 15:36:26.378: W/Unable to load optional library lib(17992): crypto-linphone-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): ssl-linphone-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): srtp-armeabi-v7a
01-13 15:36:26.378: W/Unable to load optional library lib(17992): zrtpcpp-armeabi-v7a
01-13 15:36:26.378: W/dalvikvm(17992): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/linphone/core/LinphoneCoreFactoryImpl;
01-13 15:36:26.378: D/AndroidRuntime(17992): Shutting down VM
01-13 15:36:26.378: W/dalvikvm(17992): threadid=1: thread exiting with uncaught exception (group=0x410c42a0)
01-13 15:36:26.378: E/AndroidRuntime(17992): FATAL EXCEPTION: main
01-13 15:36:26.378: E/AndroidRuntime(17992): java.lang.ExceptionInInitializerError
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.Class.classForName(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.Class.forName(Class.java:217)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.Class.forName(Class.java:172)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:43)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at org.linphone.LinphoneManager.startLibLinphone(LinphoneManager.java:550)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at org.linphone.LinphoneManager.createAndStart(LinphoneManager.java:344)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at org.linphone.LinphoneService.onCreate(LinphoneService.java:157)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.app.ActivityThread.access$1700(ActivityThread.java:140)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.os.Handler.dispatchMessage(Handler.java:99)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.os.Looper.loop(Looper.java:137)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at android.app.ActivityThread.main(ActivityThread.java:4921)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.reflect.Method.invokeNative(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.reflect.Method.invoke(Method.java:511)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at dalvik.system.NativeStart.main(Native Method)
01-13 15:36:26.378: E/AndroidRuntime(17992): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load linphone-armeabi-v7a: findLibrary returned null
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.Runtime.loadLibrary(Runtime.java:365)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at java.lang.System.loadLibrary(System.java:535)
01-13 15:36:26.378: E/AndroidRuntime(17992):    at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:69)
01-13 15:36:26.378: E/AndroidRuntime(17992):    ... 18 more

我认为问题是这样的:引起:java.lang.UnsatisfiedLinkError:无法加载linphone-armeabi-v7a:findLibrary返回null

但是(因为我做了所有的事情)我不知道为什么缺少某些东西以及我可以把它拿走。 有人能帮我吗?我真的不知道该怎么做,我已经不知道了。 感谢

1 个答案:

答案 0 :(得分:0)

我有这样的问题。经过多次搜索和多次尝试,我终于将其修复。

我在这一行更改了@foreach

<!-- $index will be the 'name' we grouped by (medication name) -->
@foreach($assignedMeds->groupBy('name') as $index => $assignedMed)
<tr>
    <!-- medication name -->
    <td>{{ $index }}</td>
    <!-- yesterday's medications -->
    <td>
        @foreach($assignedMed->where('pivot.day', 'Yesterday') as $yesterdaysMeds)
            @if($yesterdaysMeds->pivot->given)
                <i class="fas fa-check green"></i>
                <strike>{{$yesterdaysMeds->pivot->time}}</strike>
                <em>{{$yesterdaysMeds->pivot->givenby}}</em>
            @else
                {{$yesterdaysMeds->pivot->time}}
            @endif
            <!-- line break -->
            <br>
        @endforeach
    </td>
    <!-- today's medications -->
    <td>
        @foreach($assignedMed->where('pivot.day', 'Today') as $todaysMeds)
            @if($todaysMeds->pivot->given)
                <i class="fas fa-check green"></i>
                <strike>{{$todaysMeds->pivot->time}}</strike>
                <em>{{$todaysMeds->pivot->givenby}}</em>
            @else
                <form method="post" action="/mar/{{$todaysMeds->id}}">
                    @csrf
                    @method('PATCH')
                    <input hidden name="givenby" id="givenby" value="1">
                    <button>{{$todaysMeds->pivot->time}}</button>
                </form>
            @endif
            <!-- line break -->
            <br>
        @endforeach
    </td>
    <!-- tomorrow's medications -->
    <td>
        @foreach($assignedMed->where('pivot.day', 'Tomorrow') as $tomorrowsMeds)
            {{ $tomorrowsMeds->pivot->time }}
            <!-- line break -->
            <br>
        @endforeach
    </td>
</tr>
@endforeach

我解决了这个问题,然后再次运行prepare.py,在lib目录中找到了x86和x86-x64目录和* .so文件。我可以在所有android设备上运行linphone android应用。

希望我能帮助您解决问题。