게시 모드에서android를 구축할 때 알 수 없는 모듈 "react native audio"가 필요합니다.

27137 단어 react-native-audio
안녕하세요.
실행 중

묘사

오류 발생: react-native run-androidRequiring unknown module "react-native-audio".에 대해 다음 오류가 있습니다.
Requiring unknown module "react-native-audio".
Module AppRegistry is not a registered callable module (calling runApplication)
사실, 내 장치에서 react-native log-android 옵션을 실행하면 정상적으로 작동할 수 있다.
나는 이 도서관에서만 이 문제가 있다.무슨 생각 있어요?ReloadPD: 디버깅이 아닌 발표 APK를 배치하려고 하면 오류가 계속 발생하고 프로그램이 닫힙니다.

토론 #1

라이브러리의

토론 #2

에서도 다음 오류가 발생합니다.
screenshot_20160930-144202 AudioExample 키를 눌렀을 때 프로젝트가 잘 작동합니다.
screenshot_20160930-144249
로그Reload:
Requiring unknown module "react-native-audio".
Module AppRegistry is not a registered callable module (calling runApplication)
누르기adb logcat 시:
Running application "AudioExample" with appParams: {"initialProps":{},"rootTag":1}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
Reload당신의 댓글에 감사 드립니다. 저는 지금 안드로이드에서 테스트를 할 수 없습니다. 하지만 가능하다면 다음 주 일찌감치 확인하겠습니다. @RakanNimer에서 그것을 찾을 수 없으면!

토론 #셋

내일 확인할 수 있습니다!기사 고마워요

토론 #4

@jsierles@RakanNimer:)

토론 #5

헤이@cavilaho, 방금 복제repo하고 아무 문제 없이 시도해 봤어요.다음은 내가 한 일이다.
git clone https://github.com/jsierles/react-native-audio
cd AudioExample
npm install
react-native link react-native-audio
react-native run-android
이것은 설비와 시뮬레이터에서 모두 정상적으로 작동한다.
너는 나에게 너의 설정에 대한 세부 사항을 더 많이 줄 수 있니? 그러면 내가 더 많은 디버깅을 도울 수 있니?
윈도우즈에 있어요?당신은 어떤 시뮬레이터, 설비를 사용하고 있습니까?
아마도 당신은 Audio Example 디렉터리에서 npm 설치를 실행하는 것을 잊었을 것입니다.
복제할 수 있도록 내가 알아야 할 것이 있는지, 그리고 상술한 절차를 실행해서 그것들이 효과가 있는지 확인해 보자.
좋은 하루 되세요!
건배!

토론 #6

안녕하세요 @RakanNimer.
클라이언트

토론 #7

가 최신(36)이기 때문에 서버 쪽(32)의 업데이트adb를 통해 이 문제를 해결했습니다.이후 adbreact-native start를 운행하면 된다.react-native run-android만 실행하면 다음 오류가 발생합니다.
Could not get BatchedBridge, make sure your bundle is packaged properly
그래서 디버깅 모드에서 문제가 해결되었다.지금...내 프로그램에서 버전 변체를 가져오려고 시도했을 때, 문제는 여전히 존재한다
Requiring unknown module "react-native-audio".
Module AppRegistry is not a registered callable module (calling runApplication)
그래서 파일을 묶는 데 문제가 있는 것 같습니다.길을 잃었습니다.
Ubuntu 16 04에서 개발한 안드로이드 6.0.1 물리적 장치를 사용했습니다.
비록 문제는 도서관에서 온 것 같지는 않지만, 너는 어떻게 이 문제를 해결하는지 아니?너는 이 잘못을 본 적이 있니?
감사합니다!react-native run-android 첫 번째 질문:
Could not get BatchedBridge, make sure your bundle is packaged properly
이것은adb에 문제가 발생하고react 패키지가 실행 중인 프로그램과 통신할 수 없을 때 발생합니다.시도:

토론 #8

및 다시 로드합니다.
adb 서버를 재부팅할 수도 있습니다.
adb kill-server 
adb start-server 
두 번째 문제에 관해서는 아직 발표 모드에서 이 모듈을 포함하는 응용 프로그램을 구축하지 않았기 때문에 저는 이에 대해 도움을 제공할 수 없습니다.잠시 후에 시도해 보고 답장을 드리겠습니다. 아무 것도 손상되지 않도록 adb reverse tcp:8081 tcp:8081. 감사합니다. @ RakanNimer.답을 기다릴게요!
안녕하십니까? 저도 같은 문제가 있습니다.
디버그 모드는 정상적으로 작동할 수 있으며, 발표 모드만 붕괴됩니다.
fabric android 반환 오류

Crashlytics-Young은 2016년 10월 5일 수요일 03:43:53 GMT에서 다운로드한 순수한 텍스트 Stacktrace


사이트 주소:https://fabric.io/lizardapps/android/apps/com.reactvoizxl/issues/57f46c8e0aeb16625b25d0c5/sessions/57f46c7403a0000102ea7afc5c032005


조직:


플랫폼: 안드로이드


신청:


버전: 1.0(1)


패키지 식별자:


질문 #:1


질문 ID: 57f46c8e0aeb16625b25d0c5


세션 ID: 57F46C7403A00000EA7AFC5C032005


날짜: 2016-10-05T02:59:01Z


OS 버전: 5.0


장치: SM-G900F


메모리 없음: 37.7%


디스크 없음: 44.7%


0. 충돌: mqt\U native\u 모듈: 0 0 0 0x00000000000000

   at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:94)
   at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
   at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:139)
   at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
   at android.os.Handler.handleCallback(Handler.java:739)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
   at android.os.Looper.loop(Looper.java:145)
   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
   at java.lang.Thread.run(Thread.java:818)


치명적인 예외:com.페이스북반응을 보이다.모듈핵심JavascriptException: 알 수 없는 모듈 "react native audio"가 필요합니다.스택:
n@2:700
o@2:404
e@2:326
i@2:188
@546:228
o@2:517
e@2:326
i@2:188
@12:666
o@2:517
e@2:256
i@2:188
글로벌code@553:9
   at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:94)
   at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
   at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:139)
   at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
   at android.os.Handler.handleCallback(Handler.java:739)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
   at android.os.Looper.loop(Looper.java:145)
   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
   at java.lang.Thread.run(Thread.java:818)

0. 충돌: mqt\U native\u 모듈: 0 0 0 0x00000000000000

   at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:94)
   at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
   at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:139)
   at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
   at android.os.Handler.handleCallback(Handler.java:739)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
   at android.os.Looper.loop(Looper.java:145)
   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
   at java.lang.Thread.run(Thread.java:818)

1. WatchDogDaemon 종료

   at java.lang.Object.wait(Object.java)
   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:239)
   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:211)
   at java.lang.Thread.run(Thread.java:818)

2. 비동기식 작업 #2

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

3. 줄 서기

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:510)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.performOperation(DependencyPriorityBlockingQueue.java:197)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.get(DependencyPriorityBlockingQueue.java:236)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:65)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:46)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

4.mqt 네이티브 모듈

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:400)
   at java.util.concurrent.FutureTask.get(FutureTask.java:162)
   at com.crashlytics.android.core.CrashlyticsExecutorServiceWrapper.executeSyncLoggingException(CrashlyticsExecutorServiceWrapper.java:47)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.uncaughtException(CrashlyticsUncaughtExceptionHandler.java:235)
   at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
   at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)

5. 줄 서기

   at libcore.io.Posix.android_getaddrinfo(Posix.java)
   at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
   at java.net.InetAddress.lookupHostByName(InetAddress.java:438)
   at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
   at java.net.InetAddress.getAllByName(InetAddress.java:215)
   at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:29)
   at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)
   at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)
   at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:361)
   at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:289)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:323)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:491)
   at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
   at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
   at io.fabric.sdk.android.services.network.HttpRequest.code(HttpRequest.java:1352)
   at io.fabric.sdk.android.services.settings.DefaultSettingsSpiCall.handleResponse(DefaultSettingsSpiCall.java:103)
   at io.fabric.sdk.android.services.settings.DefaultSettingsSpiCall.invoke(DefaultSettingsSpiCall.java:90)
   at io.fabric.sdk.android.services.settings.DefaultSettingsController.loadSettingsData(DefaultSettingsController.java:80)
   at io.fabric.sdk.android.services.settings.DefaultSettingsController.loadSettingsData(DefaultSettingsController.java:64)
   at io.fabric.sdk.android.services.settings.Settings.loadSettingsData(Settings.java:155)
   at io.fabric.sdk.android.Onboarding.retrieveSettingsData(Onboarding.java:123)
   at io.fabric.sdk.android.Onboarding.doInBackground(Onboarding.java:99)
   at io.fabric.sdk.android.Onboarding.doInBackground(Onboarding.java:45)
   at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:63)
   at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:28)
   at io.fabric.sdk.android.services.concurrency.AsyncTask$2.call(AsyncTask.java:311)
   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

6. 풀-2-스레드-1

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

7.mqt_js

   at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
   at android.os.MessageQueue.next(MessageQueue.java:143)
   at android.os.Looper.loop(Looper.java:130)
   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
   at java.lang.Thread.run(Thread.java:818)

8.줄 서기

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:510)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.performOperation(DependencyPriorityBlockingQueue.java:197)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.get(DependencyPriorityBlockingQueue.java:236)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:65)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:46)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

9. Crashlytics 예외 처리 프로그램 1

   at dalvik.system.VMStack.getThreadStackTrace(VMStack.java)
   at java.lang.Thread.getStackTrace(Thread.java:580)
   at java.lang.Thread.getAllStackTraces(Thread.java:522)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeSessionEvent(CrashlyticsUncaughtExceptionHandler.java:1024)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeFatal(CrashlyticsUncaughtExceptionHandler.java:766)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.handleUncaughtException(CrashlyticsUncaughtExceptionHandler.java:262)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.access$100(CrashlyticsUncaughtExceptionHandler.java:55)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:238)
   at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$5.call(CrashlyticsUncaughtExceptionHandler.java:235)
   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75)
   at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
   at java.lang.Thread.run(Thread.java:818)

10. 비동기식 작업 #1

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

11. 알다몬

   at java.lang.Object.wait(Object.java)
   at java.lang.Object.wait(Object.java:422)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:173)
   at java.lang.Thread.run(Thread.java:818)

12.HeapTrimmerDaemon

   at java.lang.Object.wait(Object.java)
   at java.lang.Daemons$HeapTrimmerDaemon.run(Daemons.java:310)
   at java.lang.Thread.run(Thread.java:818)

13.GCDaemon

   at java.lang.Object.wait(Object.java)
   at java.lang.Daemons$GCDaemon.run(Daemons.java:341)
   at java.lang.Thread.run(Thread.java:818)

14. 대기열 데몬 참조

   at java.lang.Object.wait(Object.java)
   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:133)
   at java.lang.Thread.run(Thread.java:818)

15. 응답자 1

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1048)
   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:776)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75)
   at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
   at java.lang.Thread.run(Thread.java:818)

16. 줄 서기

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:510)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.performOperation(DependencyPriorityBlockingQueue.java:197)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.get(DependencyPriorityBlockingQueue.java:236)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:65)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:46)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

17. 줄 서기

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
   at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:510)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.performOperation(DependencyPriorityBlockingQueue.java:197)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.get(DependencyPriorityBlockingQueue.java:236)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:65)
   at io.fabric.sdk.android.services.concurrency.DependencyPriorityBlockingQueue.take(DependencyPriorityBlockingQueue.java:46)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

18. 주요

   at java.lang.ref.Reference.getReferent(Reference.java)
   at java.lang.ref.Reference.get(Reference.java:203)
   at java.util.WeakHashMap.get(WeakHashMap.java:459)
   at com.facebook.react.bridge.JavaScriptModuleRegistry.getJavaScriptModule(JavaScriptModuleRegistry.java:49)
   at com.facebook.react.cxxbridge.CatalystInstanceImpl.getJSModule(CatalystInstanceImpl.java:282)
   at com.facebook.react.cxxbridge.CatalystInstanceImpl.getJSModule(CatalystInstanceImpl.java:277)
   at com.facebook.react.bridge.ReactContext.getJSModule(ReactContext.java:101)
   at com.facebook.react.modules.appstate.AppStateModule.sendAppStateChangeEvent(AppStateModule.java:73)
   at com.facebook.react.modules.appstate.AppStateModule.onHostResume(AppStateModule.java:51)
   at com.facebook.react.bridge.ReactContext.onHostResume(ReactContext.java:161)
   at com.facebook.react.XReactInstanceManagerImpl.moveToResumedLifecycleState(XReactInstanceManagerImpl.java:561)
   at com.facebook.react.XReactInstanceManagerImpl.moveReactContextToCurrentLifecycleState(XReactInstanceManagerImpl.java:925)
   at com.facebook.react.XReactInstanceManagerImpl.setupReactContext(XReactInstanceManagerImpl.java:740)
   at com.facebook.react.XReactInstanceManagerImpl.access$700(XReactInstanceManagerImpl.java:103)
   at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.onPostExecute(XReactInstanceManagerImpl.java:213)
   at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.onPostExecute(XReactInstanceManagerImpl.java:182)
   at android.os.AsyncTask.finish(AsyncTask.java:632)
   at android.os.AsyncTask.access$600(AsyncTask.java:177)
   at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:145)
   at android.app.ActivityThread.main(ActivityThread.java:5832)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

19.OkHttp 연결 풀

   at java.lang.Object.wait(Object.java)
   at java.lang.Thread.parkFor(Thread.java:1220)
   at sun.misc.Unsafe.park(Unsafe.java:299)
   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2055)
   at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:435)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:818)

토론 #9

release APK를 장치에 설치하고 실행할 때 저도 오류 메시지를 얻는 문제에 부딪혔습니다(react native: 0.34.1, 화석 Zenfone 5, 안드로이드: 5.0.1)
오류 메시지:
Requiring unknown module "react-native-audio".
Module AppRegistry is not a registered callable module (calling runApplication)

토론 #10

는 이 저장소에서 제공하는 AudioExample에 따라 APK를 구축하려고 시도했습니다.나도 같은 오류를 얻었는데 모듈을 찾지 못했다.
반응: 0.34.1
안드로이드:5.0.1
노드 js:6.6.0 npm:3.10.3
오류 로그:
보아하니 내가 문제를 찾은 것 같다.
파일

토론 #11

의 이름을

토론 #12

로 변경해야 합니다.
가방의 항목

토론 #13

Audio.ios.js으로 변경했습니다.json
새로 생성된 APK를 디바이스에 설치했고 애플리케이션이 정상적으로 시작되었습니다.위대했어index.js 나는 번식할 수 있다.오늘 업데이트를 복구하고 전송합니다!이 문제를 제기해 주셔서 감사합니다: D, @ahaus에서 제기한 해결 방안에 감사 드립니다!... "main": "Audio.ios.js" ... 마스터에서 복구되었습니다. npm에 발표하기 전에 시도해 보시겠습니까@cavilaho@ahaus@ahyong87.... "main":"index.js" ...@RakanNimer는 현재 메인 지점 코드의 발표 모드에서 저에게 매우 효과적입니다.감사합니다!
PS: 솔루션 @ahaus;

좋은 웹페이지 즐겨찾기