Open hxzAugustinus opened 8 years ago
使用ionic build编译的时候,报了下面的警告可能相关: warning: Ignoring InnerClasses attribute for an anonymous inner class (com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class. warning: Ignoring InnerClasses attribute for an anonymous inner class (com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class. warning: Ignoring InnerClasses attribute for an anonymous inner class (com.tencent.mm.sdk.b.b) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class.
@xu-li ,我下载你写的例子也有相同的停止运行问题
@xu-li 我也是 安卓直接运行例子(不改appid) “是否安装了微信”->yes, 其他闪退
安卓闪退的, 如果config.xml里包名改了(从这个demo的包名改成了你在开放平台里写的包名), 那就要重新删了/添加一下插件, 只是ionic build不行. 如果是一闪而过没有启动微信(本身安卓没有崩溃退出), 那是apk签名不对, 要签名, 然后把签名信息填到开放平台.
文字消息,发送成功,但返回时显示‘很抱歉,app已停止运行’; 图片发送,刚点击就显示停止运行。 使用的最新ionic框架,在安卓4.4下多个手机测试的结果一样