我有一个用 Java/Kotlin 制作的桌面应用程序,具有 Firebase(特别是 Firestore 实时)连接。
它在我的笔记本电脑(通过 Parallels 的 Windows)和其他一些经过测试的 Windows 中运行正常。但是,在某些电脑上我总是遇到错误:
com.google.cloud.firestore.FirestoreException: java.lang.IllegalStateException: Could not find TLS ALPN provider; no working netty tcnative, Conscrypt, or Jetty NPN/ALPN available。
我尝试了一些 jar 的创建变体,但没有任何帮助。
这是我当前的 build.gradle 连接:
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
}
jar {
manifest {
attributes 'Main-Class': 'main.LoginActivity'
}
}
// java -cp Y:\Desktop\nwebprint\out\artifacts\nwebprint_main_jar\nwebprint.main.jar main.LoginActivity
group 'nwebprint'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
version = '1.0'
sourceCompatibility = 1.7
targetCompatibility = 1.7
//create …Run Code Online (Sandbox Code Playgroud) 在我的 React Native 项目中 react: 16.8.3 => 16.8.3 - react-native: ^0.59.5 => 0.59.10
我更新了react-reduxfor using the hooks from the version 5.xxto 7.1.3and 自更新以来,我收到了 prop-types 依赖项的错误。
错误:捆绑失败:错误:无法从“/node_modules/react-redux/lib/components/Provider.js”解析模块“../utils/PropTypes”:模块“../utils/PropTypes”不能从“/node_modules/react-redux/lib/components/Provider.js”找到。
事实上,这些文件都不存在:我已经手动安装了 prop-types 依赖项,但它对我没有帮助。