Groups
Groups
Sign in
Groups
Groups
日本Androidの会
Conversations
About
Send feedback
Help
エミュレーターでのアプリ実行の際の不具合
237 views
Skip to first unread message
michigoe
unread,
May 13, 2012, 9:37:25 AM
5/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
初めまして、michigoeといいます。
現在、AudioTrackのメゾッドを使用して、アプリケーションを作成しているのですが、エミュレーター上でアプリケーションが強制終了されてしま
す。
LogCatの所に赤字のエラーが出ている状態です。
どうすればよいでしょうか?
とても量が多いんですが申し訳ありません。
以下がエラー表示です。
05-13 21:52:38.037: E/AndroidRuntime(904): FATAL EXCEPTION: main
05-13 21:52:38.037: E/AndroidRuntime(904): java.lang.RuntimeException:
Unable to start activity ComponentInfo{org.example.mic2/
org.example.mic2.Mic2}: java.lang.IllegalStateException: Unable to
retrieve AudioRecord pointer for setMarkerPosition()
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1647)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
1663)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread.access$1500(ActivityThread.java:117)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.os.Handler.dispatchMessage(Handler.java:99)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.os.Looper.loop(Looper.java:123)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread.main(ActivityThread.java:3683)
05-13 21:52:38.037: E/AndroidRuntime(904): at
java.lang.reflect.Method.invokeNative(Native Method)
05-13 21:52:38.037: E/AndroidRuntime(904): at
java.lang.reflect.Method.invoke(Method.java:507)
05-13 21:52:38.037: E/AndroidRuntime(904): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-13 21:52:38.037: E/AndroidRuntime(904): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-13 21:52:38.037: E/AndroidRuntime(904): at
dalvik.system.NativeStart.main(Native Method)
05-13 21:52:38.037: E/AndroidRuntime(904): Caused by:
java.lang.IllegalStateException: Unable to retrieve AudioRecord
pointer for setMarkerPosition()
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.media.AudioRecord.native_set_marker_pos(Native Method)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.media.AudioRecord.setNotificationMarkerPosition(AudioRecord.java:
652)
05-13 21:52:38.037: E/AndroidRuntime(904): at
org.example.mic2.Mic2.onCreate(Mic2.java:50)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
05-13 21:52:38.037: E/AndroidRuntime(904): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1611)
05-13 21:52:38.037: E/AndroidRuntime(904): ... 11 more
michigoe
unread,
May 13, 2012, 9:46:57 AM
5/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Androidの会
すいません、ちなみにlogcatのエラーでCaused by:
java.lang.IllegalStateException: Unable to retrieve AudioRecord
pointer for setMarkerPosition() となってます
Reply all
Reply to author
Forward
0 new messages