Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法安装 #6

Open
zhangyouxin opened this issue Feb 6, 2017 · 13 comments
Open

无法安装 #6

zhangyouxin opened this issue Feb 6, 2017 · 13 comments

Comments

@zhangyouxin
Copy link

zhangyouxin commented Feb 6, 2017

device 是 魅蓝3s

@zhangyouxin
Copy link
Author

Installing APK 'app-debug.apk' on 'M3s - 5.1' for app:debug
Unable to install D:\webstorm-workspaces\elm-react-native\android\app\build\outputs\apk\app-debug.apk
com.android.ddmlib.InstallException: Failed to install all
at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:89)
at com.android.ddmlib.Device.installPackages(Device.java:904)
at com.android.builder.testing.ConnectedDevice.installPackages(ConnectedDevice.java:137)
at com.android.build.gradle.internal.tasks.InstallVariantTask.install(InstallVariantTask.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
05:07:53 E/1825717524: Error while uploading app-debug.apk : Unknown failure ([CDS]close[0])
:app:installDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:installDebug'.

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to install all

  • 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: 28.76 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:6480) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:6480) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

D:\webstorm-workspaces\elm-react-native>react-native run-android
JS server already running.
Running D:\FrameWorks\ADT/platform-tools/adb -s Y15QKCP522GGQ reverse tcp:8081 tcp:8081
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
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-blur:preBuild UP-TO-DATE
:react-native-blur:preReleaseBuild UP-TO-DATE
:react-native-blur:checkReleaseManifest
:react-native-blur:preDebugAndroidTestBuild UP-TO-DATE
:react-native-blur:preDebugBuild UP-TO-DATE
:react-native-blur:preDebugUnitTestBuild UP-TO-DATE
:react-native-blur:preReleaseUnitTestBuild UP-TO-DATE
:react-native-blur:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:react-native-blur:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:react-native-blur:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:react-native-blur:prepareComFacebookFrescoDrawee081Library UP-TO-DATE
:react-native-blur:prepareComFacebookFrescoFbcore081Library UP-TO-DATE
:react-native-blur:prepareComFacebookFrescoFresco081Library UP-TO-DATE
:react-native-blur:prepareComFacebookFrescoImagepipeline081Library UP-TO-DATE
:react-native-blur:prepareComFacebookFrescoImagepipelineOkhttp081Library UP-TO-DATE
:react-native-blur:prepareComFacebookReactReactNative0191Library UP-TO-DATE
:react-native-blur:prepareComFivehundredpxBlurringview100Library UP-TO-DATE
:react-native-blur:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:react-native-blur:prepareReleaseDependencies
:react-native-blur:compileReleaseAidl UP-TO-DATE
:react-native-blur:compileReleaseNdk UP-TO-DATE
:react-native-blur:compileLint UP-TO-DATE
:react-native-blur:copyReleaseLint UP-TO-DATE
:react-native-blur:compileReleaseRenderscript UP-TO-DATE
:react-native-blur:generateReleaseBuildConfig UP-TO-DATE
:react-native-blur:generateReleaseResValues UP-TO-DATE
:react-native-blur:generateReleaseResources UP-TO-DATE
:react-native-blur:mergeReleaseResources UP-TO-DATE
:react-native-blur:processReleaseManifest UP-TO-DATE
:react-native-blur:processReleaseResources UP-TO-DATE
:react-native-blur:generateReleaseSources UP-TO-DATE
:react-native-blur:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:react-native-blur:compileReleaseJavaWithJavac UP-TO-DATE
:react-native-blur:extractReleaseAnnotations UP-TO-DATE
:react-native-blur:mergeReleaseShaders UP-TO-DATE
:react-native-blur:compileReleaseShaders UP-TO-DATE
:react-native-blur:generateReleaseAssets UP-TO-DATE
:react-native-blur:mergeReleaseAssets UP-TO-DATE
:react-native-blur:mergeReleaseProguardFiles UP-TO-DATE
:react-native-blur:packageReleaseRenderscript UP-TO-DATE
:react-native-blur:packageReleaseResources UP-TO-DATE
:react-native-blur:processReleaseJavaRes UP-TO-DATE
:react-native-blur:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:react-native-blur:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:react-native-blur:mergeReleaseJniLibFolders UP-TO-DATE
:react-native-blur:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:react-native-blur:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:react-native-blur:bundleRelease UP-TO-DATE
:react-native-splash-screen:preBuild UP-TO-DATE
:react-native-splash-screen:preReleaseBuild UP-TO-DATE
:react-native-splash-screen:checkReleaseManifest
:react-native-splash-screen:preDebugAndroidTestBuild UP-TO-DATE
:react-native-splash-screen:preDebugBuild UP-TO-DATE
:react-native-splash-screen:preDebugUnitTestBuild UP-TO-DATE
:react-native-splash-screen:preReleaseUnitTestBuild UP-TO-DATE
:react-native-splash-screen:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:react-native-splash-screen:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:react-native-splash-screen:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:react-native-splash-screen:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:react-native-splash-screen:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoDrawee0110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoFbcore0110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoFresco0110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoImagepipeline0110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoImagepipelineBase0110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookReactReactNative0400Library UP-TO-DATE
:react-native-splash-screen:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:react-native-splash-screen:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:react-native-splash-screen:prepareReleaseDependencies
:react-native-splash-screen:compileReleaseAidl UP-TO-DATE
:react-native-splash-screen:compileReleaseNdk UP-TO-DATE
:react-native-splash-screen:compileLint UP-TO-DATE
:react-native-splash-screen:copyReleaseLint UP-TO-DATE
:react-native-splash-screen:compileReleaseRenderscript UP-TO-DATE
:react-native-splash-screen:generateReleaseBuildConfig UP-TO-DATE
:react-native-splash-screen:generateReleaseResValues UP-TO-DATE
:react-native-splash-screen:generateReleaseResources UP-TO-DATE
:react-native-splash-screen:mergeReleaseResources UP-TO-DATE
:react-native-splash-screen:processReleaseManifest UP-TO-DATE
:react-native-splash-screen:processReleaseResources UP-TO-DATE
:react-native-splash-screen:generateReleaseSources UP-TO-DATE
:react-native-splash-screen:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:react-native-splash-screen:compileReleaseJavaWithJavac UP-TO-DATE
:react-native-splash-screen:extractReleaseAnnotations UP-TO-DATE
:react-native-splash-screen:mergeReleaseShaders UP-TO-DATE
:react-native-splash-screen:compileReleaseShaders UP-TO-DATE
:react-native-splash-screen:generateReleaseAssets UP-TO-DATE
:react-native-splash-screen:mergeReleaseAssets UP-TO-DATE
:react-native-splash-screen:mergeReleaseProguardFiles UP-TO-DATE
:react-native-splash-screen:packageReleaseRenderscript UP-TO-DATE
:react-native-splash-screen:packageReleaseResources UP-TO-DATE
:react-native-splash-screen:processReleaseJavaRes UP-TO-DATE
:react-native-splash-screen:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:react-native-splash-screen:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:react-native-splash-screen:mergeReleaseJniLibFolders UP-TO-DATE
:react-native-splash-screen:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:react-native-splash-screen:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:react-native-splash-screen:bundleRelease UP-TO-DATE
:react-native-vector-icons:preBuild UP-TO-DATE
:react-native-vector-icons:preReleaseBuild UP-TO-DATE
:react-native-vector-icons:checkReleaseManifest
:react-native-vector-icons:preDebugAndroidTestBuild UP-TO-DATE
:react-native-vector-icons:preDebugBuild UP-TO-DATE
:react-native-vector-icons:preDebugUnitTestBuild UP-TO-DATE
:react-native-vector-icons:preReleaseUnitTestBuild UP-TO-DATE
:react-native-vector-icons:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:react-native-vector-icons:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:react-native-vector-icons:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoDrawee0110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoFbcore0110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoFresco0110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoImagepipeline0110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoImagepipelineBase0110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookReactReactNative0400Library UP-TO-DATE
:react-native-vector-icons:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:react-native-vector-icons:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:react-native-vector-icons:prepareReleaseDependencies
:react-native-vector-icons:compileReleaseAidl UP-TO-DATE
:react-native-vector-icons:compileReleaseNdk UP-TO-DATE
:react-native-vector-icons:compileLint UP-TO-DATE
:react-native-vector-icons:copyReleaseLint UP-TO-DATE
:react-native-vector-icons:compileReleaseRenderscript UP-TO-DATE
:react-native-vector-icons:generateReleaseBuildConfig UP-TO-DATE
:react-native-vector-icons:generateReleaseResValues UP-TO-DATE
:react-native-vector-icons:generateReleaseResources UP-TO-DATE
:react-native-vector-icons:mergeReleaseResources UP-TO-DATE
:react-native-vector-icons:processReleaseManifest UP-TO-DATE
:react-native-vector-icons:processReleaseResources UP-TO-DATE
:react-native-vector-icons:generateReleaseSources UP-TO-DATE
:react-native-vector-icons:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:react-native-vector-icons:compileReleaseJavaWithJavac UP-TO-DATE
:react-native-vector-icons:extractReleaseAnnotations UP-TO-DATE
:react-native-vector-icons:mergeReleaseShaders UP-TO-DATE
:react-native-vector-icons:compileReleaseShaders UP-TO-DATE
:react-native-vector-icons:generateReleaseAssets UP-TO-DATE
:react-native-vector-icons:mergeReleaseAssets UP-TO-DATE
:react-native-vector-icons:mergeReleaseProguardFiles UP-TO-DATE
:react-native-vector-icons:packageReleaseRenderscript UP-TO-DATE
:react-native-vector-icons:packageReleaseResources UP-TO-DATE
:react-native-vector-icons:processReleaseJavaRes UP-TO-DATE
:react-native-vector-icons:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:react-native-vector-icons:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:react-native-vector-icons:mergeReleaseJniLibFolders UP-TO-DATE
:react-native-vector-icons:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:react-native-vector-icons:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:react-native-vector-icons:bundleRelease UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareComFacebookFrescoDrawee0110Library UP-TO-DATE
:app:prepareComFacebookFrescoFbcore0110Library UP-TO-DATE
:app:prepareComFacebookFrescoFresco0110Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipeline0110Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipelineBase0110Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE
:app:prepareComFacebookReactReactNative0400Library UP-TO-DATE
:app:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:app:prepareElmReactNativeBlurUnspecifiedLibrary UP-TO-DATE
:app:prepareElmReactNativeSplashScreenUnspecifiedLibrary UP-TO-DATE
:app:prepareElmReactNativeVectorIconsUnspecifiedLibrary UP-TO-DATE
:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
: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: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 'M3s - 5.1' for app:debug
Unable to install D:\webstorm-workspaces\elm-react-native\android\app\build\outputs\apk\app-debug.apk
com.android.ddmlib.InstallException: Failed to install all
at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:89)
at com.android.ddmlib.Device.installPackages(Device.java:904)
at com.android.builder.testing.ConnectedDevice.installPackages(ConnectedDevice.java:137)
at com.android.build.gradle.internal.tasks.InstallVariantTask.install(InstallVariantTask.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
05:08:52 E/1919087757: Error while uploading app-debug.apk : Unknown failure ([CDS]close[0])
:app:installDebug FAILED

@stoneWeb
Copy link
Owner

stoneWeb commented Feb 6, 2017

你怎么装的?模拟器还是真机?

@zhangyouxin
Copy link
Author

react-native run-android在install debug时候安装失败了
真机,魅蓝3s

@stoneWeb
Copy link
Owner

stoneWeb commented Feb 6, 2017

你用Android studio装,
或者直接把D:\webstorm-workspaces\elm-react-native\android\app\build\outputs\apk\app-debug.apk
传手机上

@zhangyouxin
Copy link
Author

嗯我用adb shell可以装,这样就没办法调试啊

还有个问题,装上后卡在启动界面了。。。。

@zhangyouxin
Copy link
Author

使用AVD就可以安装了。
然后卡在启动界面的问题好像就没有了。
新的问题是红屏
Native module VectorIconsModule tried to override VectorIconsModule for module name RNVectorIconsModule . If this was your intention, set canOverrideExistingModule=true

@cshlxm
Copy link

cshlxm commented Feb 6, 2017

ios也是卡在启动界面了...

@cshlxm
Copy link

cshlxm commented Feb 6, 2017

android版,我真机也是各种不能安装...一直在google解决各式err

@cshlxm
Copy link

cshlxm commented Feb 6, 2017

elm
ios 卡在启动界面了

@stoneWeb
Copy link
Owner

stoneWeb commented Feb 7, 2017

@zhangyouxin 你的gradle的build版本是什么?我的是2.2.2

@stoneWeb
Copy link
Owner

stoneWeb commented Feb 7, 2017

@cshlxm 你这个是registerComponent名字没找到吧,你改项目名字了吗?

@zhangyouxin
Copy link
Author

@stoneWeb 版本是3.2啊,可是项目不是用的wrapper吗

@zhuchaoming
Copy link

悬浮窗开了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants