WEEX使用导航器跳转时发生Android ActivityNotFoundException错误

时间:2018-09-29 05:54:15

标签: weex

weex,当我使用导航器跳转时,我在android studio中报告了一个错误

    E/Navigator: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[com.taobao.android.intent.category.WEEX] dat=local://file://assets/dist/add.js (has extras) }
    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2007)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1673)
    at android.app.Activity.startActivityForResult(Activity.java:4586)
    at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult(BaseFragmentActivityApi16.java:54)
    at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:67)
    at android.app.Activity.startActivityForResult(Activity.java:4544)
    at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:720)
    at android.app.Activity.startActivity(Activity.java:4905)
    at android.app.Activity.startActivity(Activity.java:4873)
    at com.taobao.weex.appfram.navigator.WXNavigatorModule.push(WXNavigatorModule.java:132)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.taobao.weex.bridge.MethodInvoker.invoke(MethodInvoker.java:46)
    at com.taobao.weex.bridge.NativeInvokeHelper$1.run(NativeInvokeHelper.java:48)
    at com.taobao.weex.common.WXThread$SafeRunnable.run(WXThread.java:49)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

你能告诉我如何解决这个问题吗?

0 个答案:

没有答案