Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackOverflowPT/status/1113954601999507457
Bumped by Community user
Ajuste na indentação do código para melhor visualização
Fonte Link
Sam
  • 80,8mil
  • 22
  • 73
  • 128
11-18 16:41:02.205 30551-30551/br.com.multiwaycursos.multiwayapp E/AndroidRuntime: FATAL EXCEPTION: main
                                                                               Process: br.com.multiwaycursos.multiwayapp, PID: 30551
                                                                               java.lang.IllegalStateException: Could not execute method for android:onClick
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
                                                                                   at android.view.View.performClick(View.java:5716)
                                                                                   at android.widget.TextView.performClick(TextView.java:10926)
                                                                                   at android.view.View$PerformClick.run(View.java:22596)
                                                                                   at android.os.Handler.handleCallback(Handler.java:739)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                   at android.os.Looper.loop(Looper.java:148)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325)
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
                                                                                Caused by: java.lang.reflect.InvocationTargetException
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
                                                                                Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
                                                                                   at android.os.Parcel.readException(Parcel.java:1620)
                                                                                   at android.os.Parcel.readException(Parcel.java:1573)
                                                                                   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
                                                                                   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4298)
                                                                                   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4245)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
                                                                                   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Process: br.com.multiwaycursos.multiwayapp, PID: 30551
java.lang.IllegalStateException: Could not execute method for android:onClick
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
   at android.view.View.performClick(View.java:5716)
   at android.widget.TextView.performClick(TextView.java:10926)
   at android.view.View$PerformClick.run(View.java:22596)
   at android.os.Handler.handleCallback(Handler.java:739)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at android.os.Looper.loop(Looper.java:148)
   at android.app.ActivityThread.main(ActivityThread.java:7325)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(Native Method)
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
   at android.view.View.performClick(View.java:5716) 
   at android.widget.TextView.performClick(TextView.java:10926) 
   at android.view.View$PerformClick.run(View.java:22596) 
   at android.os.Handler.handleCallback(Handler.java:739) 
   at android.os.Handler.dispatchMessage(Handler.java:95) 
   at android.os.Looper.loop(Looper.java:148) 
   at android.app.ActivityThread.main(ActivityThread.java:7325) 
   at java.lang.reflect.Method.invoke(Native Method) 
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
   at android.os.Parcel.readException(Parcel.java:1620)
   at android.os.Parcel.readException(Parcel.java:1573)
   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
   at android.app.Activity.startActivityForResult(Activity.java:4298)
   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
   at android.app.Activity.startActivityForResult(Activity.java:4245)
   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
   at java.lang.reflect.Method.invoke(Native Method) 
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
   at android.view.View.performClick(View.java:5716) 
   at android.widget.TextView.performClick(TextView.java:10926) 
   at android.view.View$PerformClick.run(View.java:22596) 
   at android.os.Handler.handleCallback(Handler.java:739) 
   at android.os.Handler.dispatchMessage(Handler.java:95) 
   at android.os.Looper.loop(Looper.java:148) 
   at android.app.ActivityThread.main(ActivityThread.java:7325) 
   at java.lang.reflect.Method.invoke(Native Method) 
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
11-18 16:41:02.205 30551-30551/br.com.multiwaycursos.multiwayapp E/AndroidRuntime: FATAL EXCEPTION: main
                                                                               Process: br.com.multiwaycursos.multiwayapp, PID: 30551
                                                                               java.lang.IllegalStateException: Could not execute method for android:onClick
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
                                                                                   at android.view.View.performClick(View.java:5716)
                                                                                   at android.widget.TextView.performClick(TextView.java:10926)
                                                                                   at android.view.View$PerformClick.run(View.java:22596)
                                                                                   at android.os.Handler.handleCallback(Handler.java:739)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                   at android.os.Looper.loop(Looper.java:148)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325)
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
                                                                                Caused by: java.lang.reflect.InvocationTargetException
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
                                                                                Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
                                                                                   at android.os.Parcel.readException(Parcel.java:1620)
                                                                                   at android.os.Parcel.readException(Parcel.java:1573)
                                                                                   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
                                                                                   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4298)
                                                                                   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4245)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
                                                                                   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
11-18 16:41:02.205 30551-30551/br.com.multiwaycursos.multiwayapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: br.com.multiwaycursos.multiwayapp, PID: 30551
java.lang.IllegalStateException: Could not execute method for android:onClick
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
   at android.view.View.performClick(View.java:5716)
   at android.widget.TextView.performClick(TextView.java:10926)
   at android.view.View$PerformClick.run(View.java:22596)
   at android.os.Handler.handleCallback(Handler.java:739)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at android.os.Looper.loop(Looper.java:148)
   at android.app.ActivityThread.main(ActivityThread.java:7325)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(Native Method)
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
   at android.view.View.performClick(View.java:5716) 
   at android.widget.TextView.performClick(TextView.java:10926) 
   at android.view.View$PerformClick.run(View.java:22596) 
   at android.os.Handler.handleCallback(Handler.java:739) 
   at android.os.Handler.dispatchMessage(Handler.java:95) 
   at android.os.Looper.loop(Looper.java:148) 
   at android.app.ActivityThread.main(ActivityThread.java:7325) 
   at java.lang.reflect.Method.invoke(Native Method) 
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
   at android.os.Parcel.readException(Parcel.java:1620)
   at android.os.Parcel.readException(Parcel.java:1573)
   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
   at android.app.Activity.startActivityForResult(Activity.java:4298)
   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
   at android.app.Activity.startActivityForResult(Activity.java:4245)
   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
   at java.lang.reflect.Method.invoke(Native Method) 
   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
   at android.view.View.performClick(View.java:5716) 
   at android.widget.TextView.performClick(TextView.java:10926) 
   at android.view.View$PerformClick.run(View.java:22596) 
   at android.os.Handler.handleCallback(Handler.java:739) 
   at android.os.Handler.dispatchMessage(Handler.java:95) 
   at android.os.Looper.loop(Looper.java:148) 
   at android.app.ActivityThread.main(ActivityThread.java:7325) 
   at java.lang.reflect.Method.invoke(Native Method) 
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
adicionou 7898 caracteres ao conteúdo
Fonte Link

Log de Erro:

11-18 16:41:02.205 30551-30551/br.com.multiwaycursos.multiwayapp E/AndroidRuntime: FATAL EXCEPTION: main
                                                                               Process: br.com.multiwaycursos.multiwayapp, PID: 30551
                                                                               java.lang.IllegalStateException: Could not execute method for android:onClick
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
                                                                                   at android.view.View.performClick(View.java:5716)
                                                                                   at android.widget.TextView.performClick(TextView.java:10926)
                                                                                   at android.view.View$PerformClick.run(View.java:22596)
                                                                                   at android.os.Handler.handleCallback(Handler.java:739)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                   at android.os.Looper.loop(Looper.java:148)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325)
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
                                                                                Caused by: java.lang.reflect.InvocationTargetException
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
                                                                                Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
                                                                                   at android.os.Parcel.readException(Parcel.java:1620)
                                                                                   at android.os.Parcel.readException(Parcel.java:1573)
                                                                                   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
                                                                                   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4298)
                                                                                   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4245)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
                                                                                   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 

Log de Erro:

11-18 16:41:02.205 30551-30551/br.com.multiwaycursos.multiwayapp E/AndroidRuntime: FATAL EXCEPTION: main
                                                                               Process: br.com.multiwaycursos.multiwayapp, PID: 30551
                                                                               java.lang.IllegalStateException: Could not execute method for android:onClick
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
                                                                                   at android.view.View.performClick(View.java:5716)
                                                                                   at android.widget.TextView.performClick(TextView.java:10926)
                                                                                   at android.view.View$PerformClick.run(View.java:22596)
                                                                                   at android.os.Handler.handleCallback(Handler.java:739)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                   at android.os.Looper.loop(Looper.java:148)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325)
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
                                                                                Caused by: java.lang.reflect.InvocationTargetException
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
                                                                                Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=com.sec.android.app.camera/.Camera } from ProcessRecord{c668b6b 30551:br.com.multiwaycursos.multiwayapp/u0a138} (pid=30551, uid=10138) with revoked permission android.permission.CAMERA
                                                                                   at android.os.Parcel.readException(Parcel.java:1620)
                                                                                   at android.os.Parcel.readException(Parcel.java:1573)
                                                                                   at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3181)
                                                                                   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1541)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4298)
                                                                                   at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:54)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
                                                                                   at android.app.Activity.startActivityForResult(Activity.java:4245)
                                                                                   at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:708)
                                                                                   at br.com.multiwaycursos.multiwayapp.actAutoCadastroCamera.TirarFoto(actAutoCadastroCamera.java:52)
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 
                                                                                   at android.view.View.performClick(View.java:5716) 
                                                                                   at android.widget.TextView.performClick(TextView.java:10926) 
                                                                                   at android.view.View$PerformClick.run(View.java:22596) 
                                                                                   at android.os.Handler.handleCallback(Handler.java:739) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:7325) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
tags editadas
Link
ramaral
  • 44,7mil
  • 14
  • 60
  • 110
Fonte Link
Carregando