当我尝试在eclipse中调试java google app引擎应用程序时,它没有启动并抛出以下异常.无法找到或加载主要类com.google.appengine.tools.development.DevAppServerMain
但是当我作为maven build运行/调试时它就开始了,但这并没有达到调试点......
谁能告诉我如何调试谷歌应用程序?
提前致谢
我正在尝试使用https://developers.google.com/cloud-messaging/android/client来实现GCM for android .
Created configuration file and placed under project/src..Added all the permissions in manifest file..
still onHandleIntent() method is not getting called, and token is not generated..
My intentservice file:
public class RegistrationIntentService extends IntentService {
private static final String TAG = "RegIntentService";
private static final String[] TOPICS = {"global"};
public RegistrationIntentService() {
super(TAG);
}
@Override
public void onDestroy() {
Log.d(TAG, "onDestroy()");
super.onDestroy();
}
@Override
protected void onHandleIntent(Intent intent) {
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
try { …Run Code Online (Sandbox Code Playgroud)