parse.com を介してプッシュ通知を許可する Android アプリケーションを作成しています。getIntent() をインポート android.content.Intent のメソッドとして認識していません。これを使用しているコード行は次のとおりです。
ParseAnalytics.trackAppOpened(getIntent());
そして、次のエラーメッセージが表示されます:
getIntent() method is undefined for type ParseApplication
これらは私の輸入品です:
import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseInstallation;
import com.parse.ParseObject;
import com.parse.ParseAnalytics;
import com.parse.PushService;
import android.content.Intent;
import android.content.Intent.FilterComparison;
import android.app.IntentService;
import android.app.Service;
import android.app.Activity;
import android.os.Bundle;
import com.parse.ParseUser;
import android.app.Application;
さらにインポートが必要なのか、それとも何か間違ったことをしているのかはわかりませんが、助けてください。ちなみに、プッシュ通知はそのコード行がなくても機能しますが、この行は分析用です。