赞
踩
看了网上很多解决方法,都没能解决问题,结果SDKInitializer.initialize(getApplicationContext());插到setContentView(R.layout.activity_main);前面就好了
SDKInitializer.initialize(getApplicationContext());
setContentView(R.layout.activity_main);