gpt4 book ai didi

android - React-Native 项目卡在 :app:installDebug

转载 作者:IT老高 更新时间:2023-10-28 23:09:03 48 4
gpt4 key购买 nike

每次我运行我的 react-native 项目时,它都会卡在 99%。我试图运行 ./Gradlew clean 并杀死 adb 但没有任何效果。我已经通过 USB、genymotion 和 android studio 模拟器使用了我的设备,而且它总是一样的......

Building and installing the app on the device (cd android && gradlew.bat install Debug)... Incremental java compilation is an incubating feature. :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :react-native-maps:preBuild UP-TO-DATE :react-native-maps:preReleaseBuild UP-TO-DATE :react-native-maps:checkReleaseManifest :react-native-maps:preDebugAndroidTestBuild UP-TO-DATE :react-native-maps:preDebugBuild UP-TO-DATE :react-native-maps:preDebugUnitTestBuild UP-TO-DATE :react-native-maps:preReleaseUnitTestBuild UP-TO-DATE :react-native-maps:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE :react-native-maps:prepareComAndroidSupportSupportV42400Library UP-TO-DATE :react-native-maps:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoDrawee130Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoFbcore130Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoFresco130Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoImagepipeline130Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoImagepipelineBase130Library UP-TO-DATE :react-native-maps:prepareComFacebookFrescoImagepipelineOkhttp3130Library UP-TO-DATE :react-native-maps:prepareComFacebookReactReactNative0493Library UP-TO-DATE :react-native-maps:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE :react-native-maps:prepareComGoogleAndroidGmsPlayServicesBase1024Library UP-TO-DATE :react-native-maps:prepareComGoogleAndroidGmsPlayServicesBasement1024Library UP-TO-DATE :react-native-maps:prepareComGoogleAndroidGmsPlayServicesMaps1024Library UP-TO-DATE :react-native-maps:prepareComGoogleAndroidGmsPlayServicesTasks1024Library UP-TO-DATE :react-native-maps:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE :react-native-maps:prepareReleaseDependencies :react-native-maps:compileReleaseAidl UP-TO-DATE :react-native-maps:compileReleaseNdk UP-TO-DATE :react-native-maps:compileLint UP-TO-DATE :react-native-maps:copyReleaseLint UP-TO-DATE :react-native-maps:compileReleaseRenderscript UP-TO-DATE :react-native-maps:generateReleaseBuildConfig UP-TO-DATE :react-native-maps:generateReleaseResValues UP-TO-DATE :react-native-maps:generateReleaseResources UP-TO-DATE :react-native-maps:mergeReleaseResources UP-TO-DATE :react-native-maps:processReleaseManifest UP-TO-DATE :react-native-maps:processReleaseResources UP-TO-DATE :react-native-maps:generateReleaseSources UP-TO-DATE :react-native-maps:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE :react-native-maps:compileReleaseJavaWithJavac UP-TO-DATE :react-native-maps:extractReleaseAnnotations UP-TO-DATE :react-native-maps:mergeReleaseShaders UP-TO-DATE :react-native-maps:compileReleaseShaders UP-TO-DATE :react-native-maps:generateReleaseAssets UP-TO-DATE :react-native-maps:mergeReleaseAssets UP-TO-DATE :react-native-maps:mergeReleaseProguardFiles UP-TO-DATE :react-native-maps:packageReleaseRenderscript UP-TO-DATE :react-native-maps:packageReleaseResources UP-TO-DATE :react-native-maps:processReleaseJavaRes UP-TO-DATE :react-native-maps:transformResourcesWithMergeJavaResForRelease UP-TO-DATE :react-native-maps:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE :react-native-maps:mergeReleaseJniLibFolders UP-TO-DATE :react-native-maps:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE :react-native-maps:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE :react-native-maps:bundleRelease UP-TO-DATE :app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE :app:prepareComAndroidSupportSupportV42400Library UP-TO-DATE :app:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE :app:prepareComFacebookFrescoDrawee130Library UP-TO-DATE :app:prepareComFacebookFrescoFbcore130Library UP-TO-DATE :app:prepareComFacebookFrescoFresco130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipeline130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipelineBase130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipelineOkhttp3130Library UP-TO-DATE :app:prepareComFacebookReactReactNative0493Library UP-TO-DATE :app:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE :app:prepareComGoogleAndroidGmsPlayServicesBase1024Library UP-TO-DATE :app:prepareComGoogleAndroidGmsPlayServicesBasement1024Library UP-TO-DATE :app:prepareComGoogleAndroidGmsPlayServicesMaps1024Library UP-TO-DATE :app:prepareComGoogleAndroidGmsPlayServicesTasks1024Library UP-TO-DATE :app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE :app:prepareSAGEReactNativeMapsUnspecifiedLibrary UP-TO-DATE :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:mergeDebugShaders UP-TO-DATE :app:compileDebugShaders UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources UP-TO-DATE :app:bundleDebugJsAndAssets SKIPPED :app:copyDebugIconFonts UP-TO-DATE :app:processDebugManifest UP-TO-DATE :app:processDebugResources UP-TO-DATE :app:generateDebugSources UP-TO-DATE :app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE :app:compileDebugJavaWithJavac UP-TO-DATE :app:compileDebugNdk UP-TO-DATE :app:compileDebugSources UP-TO-DATE :app:transformClassesWithDexForDebug UP-TO-DATE :app:mergeDebugJniLibFolders UP-TO-DATE :app:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE :app:validateSigningDebug :app:packageDebug UP-TO-DATE :app:assembleDebug UP-TO-DATE :app:installDebug Installing APK 'app-debug.apk' on 'LG-D690n - 5.0.2' for app:debug

Building 99% > :app:installDebug

最佳答案

您可以在终端中杀死并重新启动 adb

adb kill-server && adb start-server

开始

react-native run-android

关于android - React-Native 项目卡在 :app:installDebug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46933612/

48 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com