微信js sdk demo 下载hxsdkhelper是什么意思

点击下载CChelper-SDK用户使用手册(iOS),ios sdk,支付宝sdk ios下载,io..
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
点击下载CChelper-SDK用户使用手册(iOS)
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口后使用快捷导航没有帐号?
暂时没有人问过相似的问题,你可以做第一个提问题的人
查看: 3584|回复: 9
集成iOS导航SDK 使用的时候报错
Undefined symbols for architecture armv7:
&&&_OBJC_CLASS_$_NSManagedObjectModel&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_OBJC_CLASS_$_NSFetchRequest&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_OBJC_CLASS_$_NSManagedObjectContext&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_OBJC_CLASS_$_NSPersistentStoreCoordinator&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_OBJC_CLASS_$_NSAttributeDescription&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_OBJC_CLASS_$_NSEntityDescription&, referenced from:
& && &objc-class-ref in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
&&&_NSSQLiteStoreType&, referenced from:
& && &-[BDETTSCoreDataHelper setupPersistentStore] in libbaiduNaviSDK.a(BDETTSCoreDataHelper.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是所有错误&&没有找到这些头文件啊
Ld /Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcdcbdglreitfumswd/Build/Products/Debug-iphoneos/MobileShop.app/MobileShop normal armv7
& & cd /Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop
& & export IPHONEOS_DEPLOYMENT_TARGET=7.0
& & export PATH=&/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin&
& & /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk -L/Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcdcbdglreitfumswd/Build/Products/Debug-iphoneos -L/Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop/NKShop/Library/AliPay -L/Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop/NKShop/Library/BaiduNaviSDK/BaiduStatistics -L/Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop/NKShop/Library/BaiduNaviSDK -F/Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcdcbdglreitfumswd/Build/Products/Debug-iphoneos -F/Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop/NKShop/Library/AliPay -filelist /Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcdcbdglreitfumswd/Build/Intermediates/MobileShop.build/Debug-iphoneos/MobileShop.build/Objects-normal/armv7/MobileShop.LinkFileList -dead_strip -Objc -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lstdc++.6.0.9 -framework MediaPlayer -framework CoreTelephony -framework CoreLocation -lbaiduNaviSDK -framework CoreMotion -framework ImageIO -framework AudioToolbox -framework AVFoundation -framework AlipaySDK -framework QuartzCore -lz.1.2.5 -framework MobileCoreServices /Users/elinliangboshuo/Documents/nkPro/xx/xx/MobileShop/NKShop/Library/BaiduNaviSDK/BaiduStatistics/BaiduMobStat.a -framework SystemConfiguration -lcrypto -framework CFNetwork -lssl -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcdcbdglreitfumswd/Build/Intermediates/MobileShop.build/Debug-iphoneos/MobileShop.build/Objects-normal/armv7/MobileShop_dependency_info.dat -o /Users/elinliangboshuo/Library/Developer/Xcode/DerivedData/MobileShop-cdvxogackitcd
已解决。需要多添加一个CoreData.framework
已解决。需要多添加一个CoreData.framework
你添加coredata之后初始化没有崩溃的问题吗?
你添加coredata之后初始化没有崩溃的问题吗?
请问你添加了coredata之后,崩溃是怎么解决的呢
添加coredata之后&&启动就崩溃啊
添加coredata之后&&启动就崩溃啊
请问解决了吗?我跟你同样的现象,添加codedata就崩溃了
请问解决了吗?我跟你同样的现象,添加codedata就崩溃了
我现在已经解决了问题了
我现在已经解决了问题了
把coredata删了&&我的问题是 -ObjC写成了-Objc..
谢谢,已解决
Powered by再用环信sdk注册时返回错误码-1(appkey is not set)
再用环信sdk注册时返回错误码-1(appkey is not set)
在注册时调用方法
EMChatManager.getInstance().createAccountOnServer(username, pwd);
时铺到了异常
Toast.makeText(getApplicationContext(), &注册失败: & + e.getMessage()+&/&+errorCode, Toast.LENGTH_SHORT).show()
* @param view
public void register(View view) {
final String username = userNameEditText.getText().toString().trim();
final String pwd = passwordEditText.getText().toString().trim();
String confirm_pwd = confirmPwdEditText.getText().toString().trim();
if (TextUtils.isEmpty(username)) {
Toast.makeText(this, &用户名不能为空!&, Toast.LENGTH_SHORT).show();
userNameEditText.requestFocus();
} else if (TextUtils.isEmpty(pwd)) {
Toast.makeText(this, &密码不能为空!&, Toast.LENGTH_SHORT).show();
passwordEditText.requestFocus();
} else if (TextUtils.isEmpty(confirm_pwd)) {
Toast.makeText(this, &确认密码不能为空!&, Toast.LENGTH_SHORT).show();
confirmPwdEditText.requestFocus();
} else if (!pwd.equals(confirm_pwd)) {
Toast.makeText(this, &两次输入的密码不一致,请重新输入!&, Toast.LENGTH_SHORT).show();
if (!TextUtils.isEmpty(username) && !TextUtils.isEmpty(pwd)) {
final ProgressDialog pd = new ProgressDialog(this);
pd.setMessage(&正在注册...&);
pd.show();
new Thread(new Runnable() {
public void run() {
// 调用sdk注册方法------------------------------------------------------------------------------------------------------------------------
EMChatManager.getInstance().createAccountOnServer(username, pwd);-----------------------------------------------------------------------------------------------------------------------------
runOnUiThread(new Runnable() {
public void run() {
if (!RegisterActivity.this.isFinishing())
pd.dismiss();
// 保存用户名
MyApplication.getInstance().setUserName(username);
Toast.makeText(getApplicationContext(), &注册成功&, 0).show();
} catch (final EaseMobException e) {
runOnUiThread(new Runnable() {
public void run() {
if (!RegisterActivity.this.isFinishing())
pd.dismiss();
int errorCode=e.getErrorCode();
if(errorCode==EMError.NONETWORK_ERROR){
Toast.makeText(getApplicationContext(), &网络异常,请检查网络!&, Toast.LENGTH_SHORT).show();
}else if(errorCode==EMError.USER_ALREADY_EXISTS){
Toast.makeText(getApplicationContext(), &用户已存在!&, Toast.LENGTH_SHORT).show();
}else if(errorCode==EMError.UNAUTHORIZED){
Toast.makeText(getApplicationContext(), &注册失败,无权限!&, Toast.LENGTH_SHORT).show();
}else{--------------------------------------------------------------------------------------------------------------------------------------------------------
Toast.makeText(getApplicationContext(), &注册失败: & + e.getMessage()+&/&+errorCode, Toast.LENGTH_SHORT).show();-------------------------------------------------------------------------------------------------------------------------------------------------------
}).start();
}原因是在MyApplication的oncreate方法里
Log.d(&rr&, hxSDKHelper.onInit(applicationContext)+&......................&);
hxSDKHelper.onInit(applicationContext);返回false,也就是说初始化sdk时出错了,进入到onInit()这个方法
* this function will initialize the HuanXin SDK
* @return boolean true if caller can continue to call HuanXin related APIs after calling onInit, otherwise false.
* 环信初始化SDK帮助函数
* 返回true如果正确初始化,否则false,如果返回为false,请在后续的调用中不要调用任何和环信相关的代码
* for example:
* public class DemoHXSDKHelper extends HXSDKHelper
* HXHelper = new DemoHXSDKHelper();
* if(HXHelper.onInit(context)){
// do HuanXin related work
public synchronized boolean onInit(Context context){
if(sdkInited){
appContext =
// create HX SDK model
hxModel = createModel();
// create a defalut HX SDK model in case subclass did not provide the model
if(hxModel == null){
hxModel = new DefaultHXSDKModel(appContext);
int pid = android.os.Process.myPid();
String processAppName = getAppName(pid);
Log.d(TAG, &process app name : & + processAppName);
// 如果app启用了远程的service,此application:onCreate会被调用2次
// 为了防止环信SDK被初始化2次,加此判断会保证SDK被初始化1次
// 默认的app会在以包名为默认的process name下运行,如果查到的process name不是app的process name就立即返回----------------------------------------------------------------------------------------------------------------------------
if (processAppName == null || !processAppName.equalsIgnoreCase(hxModel.getAppProcessName())) {
Log.e(TAG, &enter the service process!&);
// 则此application::onCreate 是被service 调用的,直接返回
|-----------------------------------------------------------------------------------------------------------------------------
// 初始化环信SDK,一定要先调用init()
EMChat.getInstance().init(context);
// 设置sandbox测试环境
// 建议开发者开发时设置此模式
if(hxModel.isSandboxMode()){
EMChat.getInstance().setEnv(EMEnvMode.EMSandboxMode);
if(hxModel.isDebugMode()){
// set debug mode in development process
EMChat.getInstance().setDebugMode(true);
Log.d(TAG, &initialize EMChat SDK&);
initHXOptions();
initListener();
sdkInited =
把框框那段注销就可以了
Laravel是一套简洁、优雅的PHP Web开发框架(PHP Web Framework)。它可以让你从面条一样杂乱的代码中解脱出来;它可以帮你构建一个完美的网络APP,而且每行代码都可以简洁、富于表达力。
Hadoop是一个由Apache基金会所开发的分布式系统基础架构。
用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力进行高速运算和存储。
Hadoop实现了一个分布式文件系统(Hadoop Distributed File System),简称HDFS。HDFS有高容错性的特点,并且设计用来部署在低廉的(low-cost)硬件上;而且它提供高吞吐量(high throughput)来访问应用程序的数据,适合那些有着超大数据集(large data set)的应用程序。HDFS放宽了(relax)POSIX的要求,可以以流的形式访问(streaming access)文件系统中的数据。
Hadoop的框架最核心的设计就是:HDFS和MapReduce。HDFS为海量的数据提供了存储,则MapReduce为海量的数据提供了计算。
产品设计是互联网产品经理的核心能力,一个好的产品经理一定在产品设计方面有扎实的功底,本专题将从互联网产品设计的几个方面谈谈产品设计
随着国内互联网的发展,产品经理岗位需求大幅增加,在国内,从事产品工作的大部分岗位为产品经理,其实现实中,很多从事产品工作的岗位是不能称为产品经理,主要原因是对产品经理的职责不明确,那产品经理的职责有哪些,本专题将详细介绍产品经理的主要职责
IThao123周刊项目语言:JAVA
权限:read-only(如需更高权限请先加入项目)
* Copyright (C)
EaseMob Technologies. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the &License&);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an &AS IS& BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
package com.easemob.
import java.util.M
import android.content.I
import android.content.IntentF
import com.easemob.EMCallB
import com.easemob.applib.controller.HXSDKH
import com.easemob.applib.model.HXSDKM
import com.easemob.chat.EMChatM
import com.easemob.chat.EMM
import com.easemob.chat.EMMessage.ChatT
import com.easemob.chat.EMMessage.T
import com.easemob.chat.OnMessageNotifyL
import com.easemob.chat.OnNotificationClickL
import com.easemob.chatuidemo.activity.ChatA
import com.easemob.chatuidemo.activity.MainA
import com.easemob.chatuidemo.domain.U
import com.easemob.chatuidemo.receiver.VoiceCallR
import com.easemob.monU
* Demo UI HX SDK helper class which subclass HXSDKHelper
* @author easemob
public class DemoHXSDKHelper extends HXSDKHelper{
* contact list in cache
private Map&String, User& contactL
protected void initHXOptions(){
super.initHXOptions();
// you can also get EMChatOptions to set related SDK options
// EMChatOptions options = EMChatManager.getInstance().getChatOptions();
protected OnMessageNotifyListener getMessageNotifyListener(){
// 取消注释,app在后台,有新消息来时,状态栏的消息提示换成自己写的
return new OnMessageNotifyListener() {
public String onNewMessageNotify(EMMessage message) {
// 设置状态栏的消息提示,可以根据message的类型做相应提示
String ticker = CommonUtils.getMessageDigest(message, appContext);
if(message.getType() == Type.TXT)
ticker = ticker.replaceAll(&\\[.{2,3}\\]&, &[表情]&);
return message.getFrom() + &: & +
public String onLatestMessageNotify(EMMessage message, int fromUsersNum, int messageNum) {
// return fromUsersNum + &个基友,发来了& + messageNum + &条消息&;
public String onSetNotificationTitle(EMMessage message) {
//修改标题,这里使用默认
public int onSetSmallIcon(EMMessage message) {
//设置小图标
protected OnNotificationClickListener getNotificationClickListener(){
return new OnNotificationClickListener() {
public Intent onNotificationClick(EMMessage message) {
Intent intent = new Intent(appContext, ChatActivity.class);
ChatType chatType = message.getChatType();
if (chatType == ChatType.Chat) { // 单聊信息
intent.putExtra(&userId&, message.getFrom());
intent.putExtra(&chatType&, ChatActivity.CHATTYPE_SINGLE);
} else { // 群聊信息
// message.getTo()为群聊id
intent.putExtra(&groupId&, message.getTo());
intent.putExtra(&chatType&, ChatActivity.CHATTYPE_GROUP);
protected void onConnectionConflict(){
Intent intent = new Intent(appContext, MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(&conflict&, true);
appContext.startActivity(intent);
protected void initListener(){
super.initListener();
IntentFilter callFilter = new IntentFilter(EMChatManager.getInstance().getIncomingVoiceCallBroadcastAction());
appContext.registerReceiver(new VoiceCallReceiver(), callFilter);
protected HXSDKModel createModel() {
return new DemoHXSDKModel(appContext);
* get demo HX SDK Model
public DemoHXSDKModel getModel(){
return (DemoHXSDKModel) hxM
* 获取内存中好友user list
public Map&String, User& getContactList() {
if (getHXId() != null && contactList == null) {
contactList = ((DemoHXSDKModel) getModel()).getContactList();
return contactL
* 设置好友user list到内存中
* @param contactList
public void setContactList(Map&String, User& contactList) {
this.contactList = contactL
public void logout(final EMCallBack callback){
super.logout(new EMCallBack(){
public void onSuccess() {
// TODO Auto-generated method stub
setContactList(null);
getModel().closeDB();
if(callback != null){
callback.onSuccess();
public void onError(int code, String message) {
// TODO Auto-generated method stub
public void onProgress(int progress, String status) {
// TODO Auto-generated method stub
if(callback != null){
callback.onProgress(progress, status);
(C)&&2013&&Alibaba&&Inc.&&All&&rights&&resvered.
Powered by}

我要回帖

更多关于 js sdk demo 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信