先谢谢了。 当我尝试使用React native进行android构建时,我遇到了构建问题。
任何帮助将不胜感激
这在android上发生。但是我没有尝试过ios。
ReactNative\sslpin\node_modules\react-native-ssl-pinning\android\src\main\java\com\toyberman\RNSslPinn ingModule.java:221: error: cannot find symbol
@NonNull
^
symbol: class NonNull
location: class RNSslPinningModule
Note: D:\Users\Ankit\Work\ReactNative\sslpin\node_modules\react-native-ssl-pinning\android\src\main\java\com\toyberman\Uti ls\OkHttpUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-ssl-pinning:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
它应该为我提供此软件包的构建版本。