I have downloaded the SDK example from WeChat website: http://dev.wechat.com/document/gettingstart/android/
I used Eclipse and ADT, target platform Android 2.2 on Sa
It's work for me after I add debug keystore: Add wechat's debug key (found in the package root folder) into ( Window -> Preferences -> Android -> Build -> Custom debug keystore ) then clean and build again
Right now I'm trying to do same thing.
Take a look to these links (i found the first one when i accidentally clicked "Share on Moments" - "Getting Started - iOS" on page http://dev.wechat.com/document/, yeah, it's highly illogical):
http://dev.wechat.com/document/gettingstart/timeline/
http://dev.wechat.com/document/api/timeline/
It seems that api described there can be used everywhere, not only on iOS, cause this is just http-requests.
Hope it'll help you and me :-)
I had the same problem.
Mange to solve it using the following step:
Add proguard.cfg with
-keep class com.tencent.mm.sdk.openapi.WXMediaMessage { *;}
-keep class com.tencent.mm.sdk.openapi.** implements com.tencent.mm.sdk.openapi.WXMediaMessage$IMediaObject {*;}
Add wechat's debug key (found in the package root folder) into ( Window -> Preferences -> Android -> Build -> Custom debug keystore )
You might need to clean and build or even restart Eclipse.
(Optional) Run the Application, click on send message (跳转到发消息界面) follow by get token (获取微信访问Token)
Hope that this will help. :)
*****Do not remove the debug key at the Custom debug keystore after installing the wechat demo application to the phone as other application will not work due to different signature.**