我正在尝试移植我已启动的功能,并将其在iOS中的React Native工作到Android。 该组件是一个Audio Sound波形可视化工具,在iOS中运行良好,但是当我尝试构建Android Studio项目时,我发现了一个问题。 在Gradle控制台中显示:
Executing tasks: [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug]
Configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:app:clean
:app:buildInfoDebugLoader
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:ReactAndroid:preBuild UP-TO-DATE
:ReactAndroid:preReleaseBuild UP-TO-DATE
:ReactAndroid:checkReleaseManifest
:ReactAndroid:preReleaseUnitTestBuild UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:ReactAndroid:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoDrawee0110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFbcore0110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoFresco0110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipeline0110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineBase0110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE
:ReactAndroid:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:ReactAndroid:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:ReactAndroid:prepareReleaseDependencies
:ReactAndroid:compileReleaseAidl UP-TO-DATE
:ReactAndroid:compileReleaseNdk UP-TO-DATE
:ReactAndroid:compileLint UP-TO-DATE
:ReactAndroid:copyReleaseLint UP-TO-DATE
:ReactAndroid:compileReleaseRenderscript UP-TO-DATE
:ReactAndroid:generateReleaseBuildConfig UP-TO-DATE
:ReactAndroid:generateReleaseResValues UP-TO-DATE
:ReactAndroid:generateReleaseResources UP-TO-DATE
:ReactAndroid:mergeReleaseResources UP-TO-DATE
:ReactAndroid:processReleaseManifest UP-TO-DATE
:ReactAndroid:processReleaseResources UP-TO-DATE
:ReactAndroid:generateReleaseSources UP-TO-DATE
:ReactAndroid:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:ReactAndroid:createNativeDepsDirectories UP-TO-DATE
:ReactAndroid:downloadBoost FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ReactAndroid:downloadBoost'.
> Could not initialize class org.apache.http.conn.ssl.SSLConnectionSocketFactory
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.945 secs
由于某种原因,它在执行时在Gradle任务中崩溃
:ReactAndroid:downloadBoost
我手动检查了https链接,我可以完美地下载zip,因此可能是其他地方的问题。
任何帮助都将非常感激。