在android studio上构建gear s2配套应用出错



我下载了gear配套SDK (Accessory SDK)。从样本项目中创建android项目(FileTransferSender)。然后运行项目我有以下错误。

有人能帮忙吗?

 Error:Execution failed for task ':app:mergeDebugResources'.
> Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file C:Usersgovind.salviDownloadsAccessorySDK_v2.4.0SamplesAccessorySamples(Web)FileTransferSender(Android)_Receiver(Tizen)Senderappbuildintermediatesexploded-aarcom.android.supportappcompat-v723.1.1resdrawable-xhdpiabc_list_selector_disabled_holo_light.9.png into C:Usersgovind.salviDownloadsAccessorySDK_v2.4.0SamplesAccessorySamples(Web)FileTransferSender(Android)_Receiver(Tizen)Senderappbuildintermediatesresmergeddebugdrawable-xhdpiabc_list_selector_disabled_holo_light.9.png


Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file C:Usersgovind.salviDownloadsAccessorySDK_v2.4.0SamplesAccessorySamples(Web)FileTransferSender(Android)_Receiver(Tizen)Senderappbuildintermediatesexploded-aarcom.android.supportappcompat-v723.1.1resdrawable-xhdpiabc_list_selector_disabled_holo_light.9.png into C:Usersgovind.salviDownloadsAccessorySDK_v2.4.0SamplesAccessorySamples(Web)FileTransferSender(Android)_Receiver(Tizen)Senderappbuildintermediatesresmergeddebugdrawable-xhdpiabc_list_selector_disabled_holo_light.9.png

我试着安装你提到的应用程序,它对我来说工作得很好。目前我所理解的是,由于Windows操作系统的最大文件路径长度限制(240个字符)导致Failed to crunch file错误。

我建议你把你的项目移到上面的目录

相关内容

  • 没有找到相关文章

最新更新