我已将 airpush 集成到我的应用程序中,几乎我已经使用新的 Airpush sdk 完成了所有类型的广告,如横幅广告、智能墙、全屏、对话广告等,但最后我被推送通知类型卡住了。这里出现这样的错误。
Airpush airpush;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
b = (Button) findViewById(R.id.button1);
b.setOnClickListener(this);
airpush=new Airpush(getApplicationContext(), null);
airpush.startPushNotification(false);
}
eclipse 显示 airpush 无法解析为类型。我已经通过谷歌和堆栈溢出发现了很多问题,我已经应用了之前提供的解决方案。但是这个错误仍然存在。我在库中添加了新的 Airpush sdk,并且有几次我清理并构建了项目。任何帮助都可以得到赞赏。