微信Android SDK入门 [英] Getting Started with the WeChat Android SDK

查看:15
本文介绍了微信Android SDK入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从微信网站下载了SDK示例:http://dev.wechat.com/document/gettingstart/安卓/

I have downloaded the SDK example from WeChat website: http://dev.wechat.com/document/gettingstart/android/

我在三星 Galaxy Spica i5700 上使用了 Eclipse 和 ADT,目标平台为 Android 2.2.

I used Eclipse and ADT, target platform Android 2.2 on Samsung Galaxy Spica i5700.

问题是提供的demo应用只能启动微信,其他函数调用对微信应用没有任何影响.

The problem is that the provided demo application is only capable of starting WeChat messenger, while all other function calls do not make any effect on WeChat app.

我正在通过 Eclipse 进行调试,我看到对微信的 API 调用返回成功,但微信并没有真正响应来自演示应用的任何请求.例如,如果我想在Moments"上分享文字或将图像发送到当前场景(聊天会话),什么都不会发生,但也不会发生错误.

I was debugging through Eclipse and I saw that API calls to WeChat return success, but weChat is not really responding to any request from the demo app. For example, if I want to share text on "Moments" or to send an image to current scene (chat session), nothing happens, but also no error occurs.

有人让它在这个演示应用程序中运行吗?

Has anyone made it work this demo application?

谢谢.

推荐答案

添加调试密钥库后对我有用:将微信的调试密钥(在包根文件夹中找到)添加到( Window -> Preferences -> Android -> Build -> Custom debug keystore )然后清理并重新构建

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

这篇关于微信Android SDK入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆