S*******e 发帖数: 525 | 1 【 以下文字转载自 MobileDevelopment 讨论区 】
发信人: SwiftDove (Swift Dove), 信区: MobileDevelopment
标 题: Unable to build WeChat API's Sample with Android Studio
发信站: BBS 未名空间站 (Tue Mar 3 02:25:15 2015, 美东)
Hello there,
The sample is for pretty old Android version with Eclipse. I have been
struggling for several days to build the sample http://dev.wechat.com/wechatapi/download with Android Studio. After I imported the project, building always gave the following error:
Error:Error: com.android.ide.common.process.ProcessException: org.gradle.
process.internal.ExecException: Process 'command 'e:Androidsdkbuild-tools19.
1.0aapt.exe'' finished with non-zero exit value 42
Error:Execution failed for task ':app:mergeDebugResources'.
> C:Userszw251yAndroidStudioProjectsWeChat_SDK_sample_android_
enappsrcmainresdrawable-hdpisend_music_thumb_backup.png: Error: com.android.
ide.common.process.ProcessException: org.gradle.process.internal.
ExecException: Process 'command 'e:Androidsdkbuild-tools19.1.0aapt.exe''
finished with non-zero exit value 42
Any help/tip will be highly appreciated! |
|