简体   繁体   English

如何解决Airpush Ad集成中的“预期表达”错误? (Android Java)

[英]How to solve “Expression expected” error in Airpush Ad integration? (Android Java)

I followed the Airpush Installation Instructions but when I use this line in Android Studio, 我遵循了《 Airpush 安装说明》,但是当我在Android Studio中使用此行时,

main=new Main(this, AdListener);

I get the error, "Expression Expected". 我收到错误“预期表达”。 What does this mean? 这是什么意思?

It should look this way: 它应该看起来像这样:

 private AdListener adListener;
 main = new Main(this, adListener);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM