Git Product home page Git Product logo

Comments (15)

metal-president avatar metal-president commented on May 21, 2024

これくらいしか出ていませんが...

08-21 00:50:18.460: I/MediaRecorderJNI(960): prepare: surface=0x46f138 (identity=72)
08-21 00:50:19.510: W/IMediaDeathNotifier(960): media server died

from gabubon2.

hideponmory avatar hideponmory commented on May 21, 2024

NexusOne(2.3.6)でも再現しました

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

SH-02D (2.3)の場合は[Start]をタップした後に強制終了しました。

08-22 10:40:45.501: E/MediaRecorder(1943): start failed: -16
08-22 10:40:45.501: W/dalvikvm(1943): threadid=1: thread exiting with uncaught exception (group=0x4002d560)
08-22 10:40:45.511: E/AndroidRuntime(1943): FATAL EXCEPTION: main
08-22 10:40:45.511: E/AndroidRuntime(1943): java.lang.IllegalStateException: Could not execute method of the activity
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.view.View$1.onClick(View.java:2157)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.view.View.performClick(View.java:2498)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.view.View$PerformClick.run(View.java:9157)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.os.Handler.handleCallback(Handler.java:587)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.os.Handler.dispatchMessage(Handler.java:92)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.os.Looper.loop(Looper.java:130)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.app.ActivityThread.main(ActivityThread.java:3767)
08-22 10:40:45.511: E/AndroidRuntime(1943): at java.lang.reflect.Method.invokeNative(Native Method)
08-22 10:40:45.511: E/AndroidRuntime(1943): at java.lang.reflect.Method.invoke(Method.java:507)
08-22 10:40:45.511: E/AndroidRuntime(1943): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
08-22 10:40:45.511: E/AndroidRuntime(1943): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
08-22 10:40:45.511: E/AndroidRuntime(1943): at dalvik.system.NativeStart.main(Native Method)
08-22 10:40:45.511: E/AndroidRuntime(1943): Caused by: java.lang.reflect.InvocationTargetException
08-22 10:40:45.511: E/AndroidRuntime(1943): at java.lang.reflect.Method.invokeNative(Native Method)
08-22 10:40:45.511: E/AndroidRuntime(1943): at java.lang.reflect.Method.invoke(Method.java:507)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.view.View$1.onClick(View.java:2152)
08-22 10:40:45.511: E/AndroidRuntime(1943): ... 11 more
08-22 10:40:45.511: E/AndroidRuntime(1943): Caused by: java.lang.RuntimeException: start failed.
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.media.MediaRecorder.native_start(Native Method)
08-22 10:40:45.511: E/AndroidRuntime(1943): at android.media.MediaRecorder.start(MediaRecorder.java:597)
08-22 10:40:45.511: E/AndroidRuntime(1943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:123)
08-22 10:40:45.511: E/AndroidRuntime(1943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:56)
08-22 10:40:45.511: E/AndroidRuntime(1943): ... 14 more

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

L-04C (2.2.2) の場合異なるログが出ました。

08-22 20:56:11.508: E/MediaRecorder(2511): prepare failed: -17
08-22 20:56:11.508: W/System.err(2511): java.io.IOException: prepare failed.
08-22 20:56:11.508: W/System.err(2511): at android.media.MediaRecorder._prepare(Native Method)
08-22 20:56:11.508: W/System.err(2511): at android.media.MediaRecorder.prepare(MediaRecorder.java:557)
08-22 20:56:11.508: W/System.err(2511): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:121)
08-22 20:56:11.508: W/System.err(2511): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:56)
08-22 20:56:11.508: W/System.err(2511): at java.lang.reflect.Method.invokeNative(Native Method)
08-22 20:56:11.518: W/System.err(2511): at java.lang.reflect.Method.invoke(Method.java:521)
08-22 20:56:11.518: W/System.err(2511): at android.view.View$1.onClick(View.java:2211)
08-22 20:56:11.518: W/System.err(2511): at android.view.View.performClick(View.java:2552)
08-22 20:56:11.518: W/System.err(2511): at android.view.View$PerformClick.run(View.java:8979)
08-22 20:56:11.518: W/System.err(2511): at android.os.Handler.handleCallback(Handler.java:587)
08-22 20:56:11.518: W/System.err(2511): at android.os.Handler.dispatchMessage(Handler.java:92)
08-22 20:56:11.518: W/System.err(2511): at android.os.Looper.loop(Looper.java:123)
08-22 20:56:11.518: W/System.err(2511): at android.app.ActivityThread.main(ActivityThread.java:4627)
08-22 20:56:11.518: W/System.err(2511): at java.lang.reflect.Method.invokeNative(Native Method)
08-22 20:56:11.528: W/System.err(2511): at java.lang.reflect.Method.invoke(Method.java:521)
08-22 20:56:11.528: W/System.err(2511): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:870)
08-22 20:56:11.528: W/System.err(2511): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
08-22 20:56:11.528: W/System.err(2511): at dalvik.system.NativeStart.main(Native Method)

from gabubon2.

hideponmory avatar hideponmory commented on May 21, 2024

SH-03DのエラーはIssue #11と一緒ですね。
同じシャープ製2.3端末だから?

from gabubon2.

hideponmory avatar hideponmory commented on May 21, 2024

Xoom(4.0.4)でもエラーが発生しました。

08-23 06:06:49.500: E/MediaRecorder(10730): start failed: -19
08-23 06:06:49.500: W/dalvikvm(10730): threadid=1: thread exiting with uncaught exception (group=0x40a2a1f8)
08-23 06:06:49.500: E/AndroidRuntime(10730): FATAL EXCEPTION: main
08-23 06:06:49.500: E/AndroidRuntime(10730): java.lang.IllegalStateException: Could not execute method of the activity
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.view.View$1.onClick(View.java:3044)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.view.View.performClick(View.java:3511)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.view.View$PerformClick.run(View.java:14105)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.os.Handler.handleCallback(Handler.java:605)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.os.Handler.dispatchMessage(Handler.java:92)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.os.Looper.loop(Looper.java:137)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.app.ActivityThread.main(ActivityThread.java:4446)
08-23 06:06:49.500: E/AndroidRuntime(10730): at java.lang.reflect.Method.invokeNative(Native Method)
08-23 06:06:49.500: E/AndroidRuntime(10730): at java.lang.reflect.Method.invoke(Method.java:511)
08-23 06:06:49.500: E/AndroidRuntime(10730): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
08-23 06:06:49.500: E/AndroidRuntime(10730): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
08-23 06:06:49.500: E/AndroidRuntime(10730): at dalvik.system.NativeStart.main(Native Method)
08-23 06:06:49.500: E/AndroidRuntime(10730): Caused by: java.lang.reflect.InvocationTargetException
08-23 06:06:49.500: E/AndroidRuntime(10730): at java.lang.reflect.Method.invokeNative(Native Method)
08-23 06:06:49.500: E/AndroidRuntime(10730): at java.lang.reflect.Method.invoke(Method.java:511)
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.view.View$1.onClick(View.java:3039)
08-23 06:06:49.500: E/AndroidRuntime(10730): ... 11 more
08-23 06:06:49.500: E/AndroidRuntime(10730): Caused by: java.lang.RuntimeException: start failed.
08-23 06:06:49.500: E/AndroidRuntime(10730): at android.media.MediaRecorder.start(Native Method)
08-23 06:06:49.500: E/AndroidRuntime(10730): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:123)
08-23 06:06:49.500: E/AndroidRuntime(10730): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:56)
08-23 06:06:49.500: E/AndroidRuntime(10730): ... 14 more

from gabubon2.

hideponmory avatar hideponmory commented on May 21, 2024

c2b99d2でXoomでも問題ないことを確認しましたー

from gabubon2.

gabu avatar gabu commented on May 21, 2024

ご確認ありがとうございました。
変態端末たちでも問題なさそうなのでCloseします。

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

Galaxy S (2.3.4, 海外)で[Start]ボタンタップ後にException発生

08-25 04:41:33.542: D/dalvikvm(1301): GC_EXTERNAL_ALLOC freed 49K, 49% free 2794K/5379K, external 1596K/2108K, paused 37ms
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 1280 x 720
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 800 x 480
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 720 x 480
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 640 x 480
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 592 x 480
08-25 04:41:41.101: D/Recipe071Activity(1301): SupportedPreviewSize 352 x 288
08-25 04:41:47.660: D/MediaRecorder(1301): doCleanUp
08-25 04:41:47.667: D/AndroidRuntime(1301): Shutting down VM
08-25 04:41:47.667: W/dalvikvm(1301): threadid=1: thread exiting with uncaught exception (group=0x40015578)
08-25 04:41:47.671: E/AndroidRuntime(1301): FATAL EXCEPTION: main
08-25 04:41:47.671: E/AndroidRuntime(1301): java.lang.IllegalStateException: Could not execute method of the activity
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.view.View$1.onClick(View.java:2154)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.view.View.performClick(View.java:2538)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.view.View$PerformClick.run(View.java:9152)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.os.Handler.handleCallback(Handler.java:587)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.os.Handler.dispatchMessage(Handler.java:92)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.os.Looper.loop(Looper.java:130)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.app.ActivityThread.main(ActivityThread.java:3687)
08-25 04:41:47.671: E/AndroidRuntime(1301): at java.lang.reflect.Method.invokeNative(Native Method)
08-25 04:41:47.671: E/AndroidRuntime(1301): at java.lang.reflect.Method.invoke(Method.java:507)
08-25 04:41:47.671: E/AndroidRuntime(1301): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
08-25 04:41:47.671: E/AndroidRuntime(1301): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
08-25 04:41:47.671: E/AndroidRuntime(1301): at dalvik.system.NativeStart.main(Native Method)
08-25 04:41:47.671: E/AndroidRuntime(1301): Caused by: java.lang.reflect.InvocationTargetException
08-25 04:41:47.671: E/AndroidRuntime(1301): at java.lang.reflect.Method.invokeNative(Native Method)
08-25 04:41:47.671: E/AndroidRuntime(1301): at java.lang.reflect.Method.invoke(Method.java:507)
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.view.View$1.onClick(View.java:2149)
08-25 04:41:47.671: E/AndroidRuntime(1301): ... 11 more
08-25 04:41:47.671: E/AndroidRuntime(1301): Caused by: java.lang.RuntimeException: setAudioEncoder failed.
08-25 04:41:47.671: E/AndroidRuntime(1301): at android.media.MediaRecorder.setAudioEncoder(Native Method)
08-25 04:41:47.671: E/AndroidRuntime(1301): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:136)
08-25 04:41:47.671: E/AndroidRuntime(1301): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:75)
08-25 04:41:47.671: E/AndroidRuntime(1301): ... 14 more

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

ギャラタブ(2.2)

08-25 05:11:39.734: D/Recipe071Activity(3526): SupportedPreviewSize 800 x 600
08-25 05:11:39.742: D/Recipe071Activity(3526): SupportedPreviewSize 1024 x 600
08-25 05:11:39.742: D/Recipe071Activity(3526): SupportedPreviewSize 320 x 240
08-25 05:11:42.453: D/AndroidRuntime(3526): Shutting down VM
08-25 05:11:42.453: W/dalvikvm(3526): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
08-25 05:11:42.472: E/AndroidRuntime(3526): FATAL EXCEPTION: main
08-25 05:11:42.472: E/AndroidRuntime(3526): java.lang.IllegalStateException: Could not execute method of the activity
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.view.View$1.onClick(View.java:2072)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.view.View.performClick(View.java:2408)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.view.View$PerformClick.run(View.java:8818)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.os.Handler.handleCallback(Handler.java:587)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.os.Handler.dispatchMessage(Handler.java:92)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.os.Looper.loop(Looper.java:123)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.app.ActivityThread.main(ActivityThread.java:4627)
08-25 05:11:42.472: E/AndroidRuntime(3526): at java.lang.reflect.Method.invokeNative(Native Method)
08-25 05:11:42.472: E/AndroidRuntime(3526): at java.lang.reflect.Method.invoke(Method.java:521)
08-25 05:11:42.472: E/AndroidRuntime(3526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
08-25 05:11:42.472: E/AndroidRuntime(3526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
08-25 05:11:42.472: E/AndroidRuntime(3526): at dalvik.system.NativeStart.main(Native Method)
08-25 05:11:42.472: E/AndroidRuntime(3526): Caused by: java.lang.reflect.InvocationTargetException
08-25 05:11:42.472: E/AndroidRuntime(3526): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:75)
08-25 05:11:42.472: E/AndroidRuntime(3526): at java.lang.reflect.Method.invokeNative(Native Method)
08-25 05:11:42.472: E/AndroidRuntime(3526): at java.lang.reflect.Method.invoke(Method.java:521)
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.view.View$1.onClick(View.java:2067)
08-25 05:11:42.472: E/AndroidRuntime(3526): ... 11 more
08-25 05:11:42.472: E/AndroidRuntime(3526): Caused by: java.lang.RuntimeException: setAudioEncoder failed.
08-25 05:11:42.472: E/AndroidRuntime(3526): at android.media.MediaRecorder.setAudioEncoder(Native Method)
08-25 05:11:42.472: E/AndroidRuntime(3526): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:136)
08-25 05:11:42.472: E/AndroidRuntime(3526): ... 15 more

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

IS06 (2.2.1)
[Start]を押した時点で内部でExceptionが発生しています(落ちない)⇒[Stop]で落ちる

12-25 22:15:57.449: E/MediaRecorder(943): prepare failed: -17
12-25 22:15:57.449: W/System.err(943): java.io.IOException: prepare failed.
12-25 22:15:57.449: W/System.err(943): at android.media.MediaRecorder._prepare(Native Method)
12-25 22:15:57.449: W/System.err(943): at android.media.MediaRecorder.prepare(MediaRecorder.java:511)
12-25 22:15:57.449: W/System.err(943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:145)
12-25 22:15:57.449: W/System.err(943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:75)
12-25 22:15:57.449: W/System.err(943): at java.lang.reflect.Method.invokeNative(Native Method)
12-25 22:15:57.449: W/System.err(943): at java.lang.reflect.Method.invoke(Method.java:521)
12-25 22:15:57.449: W/System.err(943): at android.view.View$1.onClick(View.java:2074)
12-25 22:15:57.458: W/System.err(943): at android.view.View.performClick(View.java:2437)
12-25 22:15:57.458: W/System.err(943): at android.view.View$PerformClick.run(View.java:8847)
12-25 22:15:57.458: W/System.err(943): at android.os.Handler.handleCallback(Handler.java:587)
12-25 22:15:57.458: W/System.err(943): at android.os.Handler.dispatchMessage(Handler.java:92)
12-25 22:15:57.458: W/System.err(943): at android.os.Looper.loop(Looper.java:123)
12-25 22:15:57.458: W/System.err(943): at android.app.ActivityThread.main(ActivityThread.java:4735)
12-25 22:15:57.458: W/System.err(943): at java.lang.reflect.Method.invokeNative(Native Method)
12-25 22:15:57.458: W/System.err(943): at java.lang.reflect.Method.invoke(Method.java:521)
12-25 22:15:57.458: W/System.err(943): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
12-25 22:15:57.458: W/System.err(943): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
12-25 22:15:57.458: W/System.err(943): at dalvik.system.NativeStart.main(Native Method)
12-25 22:15:59.558: E/MediaRecorder(943): stop called in an invalid state: 0
12-25 22:15:59.558: W/dalvikvm(943): threadid=1: thread exiting with uncaught exception (group=0x2aac8830)
12-25 22:15:59.578: E/AndroidRuntime(943): FATAL EXCEPTION: main
12-25 22:15:59.578: E/AndroidRuntime(943): java.lang.IllegalStateException: Could not execute method of the activity
12-25 22:15:59.578: E/AndroidRuntime(943): at android.view.View$1.onClick(View.java:2079)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.view.View.performClick(View.java:2437)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.view.View$PerformClick.run(View.java:8847)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.os.Handler.handleCallback(Handler.java:587)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.os.Handler.dispatchMessage(Handler.java:92)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.os.Looper.loop(Looper.java:123)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.app.ActivityThread.main(ActivityThread.java:4735)
12-25 22:15:59.578: E/AndroidRuntime(943): at java.lang.reflect.Method.invokeNative(Native Method)
12-25 22:15:59.578: E/AndroidRuntime(943): at java.lang.reflect.Method.invoke(Method.java:521)
12-25 22:15:59.578: E/AndroidRuntime(943): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
12-25 22:15:59.578: E/AndroidRuntime(943): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
12-25 22:15:59.578: E/AndroidRuntime(943): at dalvik.system.NativeStart.main(Native Method)
12-25 22:15:59.578: E/AndroidRuntime(943): Caused by: java.lang.reflect.InvocationTargetException
12-25 22:15:59.578: E/AndroidRuntime(943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:72)
12-25 22:15:59.578: E/AndroidRuntime(943): at java.lang.reflect.Method.invokeNative(Native Method)
12-25 22:15:59.578: E/AndroidRuntime(943): at java.lang.reflect.Method.invoke(Method.java:521)
12-25 22:15:59.578: E/AndroidRuntime(943): at android.view.View$1.onClick(View.java:2074)
12-25 22:15:59.578: E/AndroidRuntime(943): ... 11 more
12-25 22:15:59.578: E/AndroidRuntime(943): Caused by: java.lang.IllegalStateException
12-25 22:15:59.578: E/AndroidRuntime(943): at android.media.MediaRecorder.stop(Native Method)
12-25 22:15:59.578: E/AndroidRuntime(943): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.stopRecording(Recipe071Activity.java:161)
12-25 22:15:59.578: E/AndroidRuntime(943): ... 15 more

from gabubon2.

metal-president avatar metal-president commented on May 21, 2024

Galaxy S2 SC-02C (2.3.5)
[Start]で落ちる

01-02 04:48:57.545: D/dalvikvm(4800): GC_EXTERNAL_ALLOC freed 54K, 49% free 2760K/5379K, external 0K/0K, paused 28ms
01-02 04:48:57.650: D/dalvikvm(4800): GC_EXTERNAL_ALLOC freed 1K, 49% free 2759K/5379K, external 3375K/4214K, paused 18ms
01-02 04:48:57.760: D/CLIPBOARD(4800): Hide Clipboard dialog at Starting input: finished by someone else... !
01-02 04:49:08.090: D/Recipe071Activity(4800): SupportedPreviewSize 320 x 240
01-02 04:49:08.095: D/Recipe071Activity(4800): SupportedPreviewSize 640 x 480
01-02 04:49:08.095: D/Recipe071Activity(4800): SupportedPreviewSize 720 x 480
01-02 04:49:08.095: D/Recipe071Activity(4800): SupportedPreviewSize 800 x 480
01-02 04:49:08.095: D/Recipe071Activity(4800): SupportedPreviewSize 176 x 144
01-02 04:49:08.200: E/Surface(4800): Surface::init token -2 identity 145
01-02 04:49:15.560: D/AndroidRuntime(4800): Shutting down VM
01-02 04:49:15.560: W/dalvikvm(4800): threadid=1: thread exiting with uncaught exception (group=0x4001e578)
01-02 04:49:15.590: E/AndroidRuntime(4800): FATAL EXCEPTION: main
01-02 04:49:15.590: E/AndroidRuntime(4800): java.lang.IllegalStateException: Could not execute method of the activity
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.view.View$1.onClick(View.java:2154)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.view.View.performClick(View.java:2538)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.view.View$PerformClick.run(View.java:9152)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.os.Handler.handleCallback(Handler.java:587)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.os.Handler.dispatchMessage(Handler.java:92)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.os.Looper.loop(Looper.java:130)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.app.ActivityThread.main(ActivityThread.java:3691)
01-02 04:49:15.590: E/AndroidRuntime(4800): at java.lang.reflect.Method.invokeNative(Native Method)
01-02 04:49:15.590: E/AndroidRuntime(4800): at java.lang.reflect.Method.invoke(Method.java:507)
01-02 04:49:15.590: E/AndroidRuntime(4800): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
01-02 04:49:15.590: E/AndroidRuntime(4800): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
01-02 04:49:15.590: E/AndroidRuntime(4800): at dalvik.system.NativeStart.main(Native Method)
01-02 04:49:15.590: E/AndroidRuntime(4800): Caused by: java.lang.reflect.InvocationTargetException
01-02 04:49:15.590: E/AndroidRuntime(4800): at java.lang.reflect.Method.invokeNative(Native Method)
01-02 04:49:15.590: E/AndroidRuntime(4800): at java.lang.reflect.Method.invoke(Method.java:507)
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.view.View$1.onClick(View.java:2149)
01-02 04:49:15.590: E/AndroidRuntime(4800): ... 11 more
01-02 04:49:15.590: E/AndroidRuntime(4800): Caused by: java.lang.RuntimeException: setAudioEncoder failed.
01-02 04:49:15.590: E/AndroidRuntime(4800): at android.media.MediaRecorder.setAudioEncoder(Native Method)
01-02 04:49:15.590: E/AndroidRuntime(4800): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.startRecording(Recipe071Activity.java:136)
01-02 04:49:15.590: E/AndroidRuntime(4800): at net.gabuchan.androidrecipe.recipe071.Recipe071Activity.onButtonClick(Recipe071Activity.java:75)
01-02 04:49:15.590: E/AndroidRuntime(4800): ... 14 more
01-02 04:49:15.750: D/dalvikvm(4800): GC_CONCURRENT freed 234K, 48% free 2966K/5639K, external 1851K/2288K, paused 2ms+1ms

from gabubon2.

gabu avatar gabu commented on May 21, 2024

getSupportedVideoSizes() が API Level 11以降なので、一番小さいPreviewSizeをVideoSizeにセットするという作戦ではだめな機種もあるらしい。

from gabubon2.

gabu avatar gabu commented on May 21, 2024

VideoSizeではなくsetAudioEncoder()でAMR_WBを指定していたから落ちていたらしい。AMR_NBに変更して問題ないことを確認しました!

from gabubon2.

gabu avatar gabu commented on May 21, 2024

ということで逆転勝利、getSupportedVideoSizes() が API Level 11以降なので、一番小さいPreviewSizeをVideoSizeにセットするという作戦で良いっぽい。

from gabubon2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.