Android Emulator上的解析返回null deviceToken
我想在emulator上测试我的应用程序,但我获得的设备令牌包括:Android Emulator上的解析返回null deviceToken,android,parse-platform,push-notification,Android,Parse Platform,Push Notification,我想在emulator上测试我的应用程序,但我获得的设备令牌包括: ParseInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() { @Override public void done(ParseException e) { String deviceToken = (String) ParseI
ParseInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() {
@Override
public void done(ParseException e) {
String deviceToken = (String) ParseInstallation.getCurrentInstallation().get("deviceToken");
}
}
但deviceToken在emulator上为空,如何在emulator上运行
谢谢