赞
踩
1.
127.0.0.1 refused to connect.
Execution failed for task ':bugsnag_react-native:compileReleaseKotlin'
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bugsnag_react-native:compileReleaseKotlin'.
> Compilation error. See log for more details
重新安装 npm install bugsnag_react-native
权限问题没有下载下来
- > Task :bugsnag_react-native:compileReleaseKotlin FAILED
- e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
- class com.facebook.react.bridge.BaseJavaModule, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.NativeModule, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.Promise, unresolved supertypes: java.lang.Object
- class com.bugsnag.android.Bugsnag, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.NativeMap, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.ReadableMap, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.WritableMap, unresolved supertypes: java.lang.Object
- class com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.JavaScriptModule, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.ReactContext, unresolved supertypes: android.content.ContextWrapper
- class com.bugsnag.android.Client, unresolved supertypes: java.lang.Object
- class com.facebook.react.bridge.Arguments, unresolved supertypes: java.lang.Object
1. Clear watchman watches: watchman watch-del-all
2. Delete node_modules: rm -rf node_modules and run yarn install
3. Reset Metro's cache: yarn start --reset-cache
重新安装。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。