启动ZopimChatActivity zendesk时应用崩溃

时间:2019-06-24 04:08:42

标签: java android chat zendesk zopim

我已经集成了Zopim Chat Zendesk。我正在关注this guide,但是当我开始进行聊天的新活动时,我崩溃了:

public class Chatv2Activity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chat_v2);

        ZopimChat.init("vzKHQP3WS8ldNzAn5hkzbntL64RwOlE7");

        Button btChat = findViewById(R.id.chatButtonV2);

        btChat.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(getApplicationContext(), ZopimChatActivity.class));
            }
        });


    }
}
2019-06-24 11:03:05.836 10525-10525/? E/Zygote: isWhitelistProcess - Process is Whitelisted
2019-06-24 11:03:05.836 10525-10525/? E/libpersona: scanKnoxPersonas
2019-06-24 11:03:05.836 10525-10525/? E/libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory

0 个答案:

没有答案