ChartBoost rewarded video problem( Corona Enterprise)

Hi,
I’ve tried to setup chartboost ad system on my app. When I set my type of ad to the ‘rewardedVideo’, I get these logs and errors:

plugin.chartboost: 1.0.5 (SDK 6.5.1) Could not find method android.app.Activity.checkSelfPermission, referenced from method com.chartboost.sdk.c.b VFY: unable to resolve virtual method 86: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I Could not find method org.json.JSONArray.\<init\>, referenced from method com.chartboost.sdk.Libraries.e$a.b VFY: unable to resolve direct method 52282: Lorg/json/JSONArray;.\<init\> (Ljava/lang/Object;)V

Additional Info:
I’ve build a test app that was provided by corona support by my corona sdk. On that, after loading rewarded video, I get ‘No_AD_FOUND’ error message but on my real app that was built with corona enterprise(last version), I got mentioned errors. Other ad types work fine.
 

What Android version is your device running?

I’ve tested on different versions like 4.3, 5, 6

Unfortunately I cannot reproduce your issue.

I’ve tested on Android 4.4 and 7.0, also using Corona Enterprise (Android Studio).

The old ant build system is deprecated, and it’s therefore recommended to migrate old ant projects to Android Studio.

We can only offer very limited help with ant projects.

Here’s a Corona Enterprise (Android Studio) sample project with Chartboost fully configured.

You just need to modify main.lua with your ApiKey and then run.

https://www.dropbox.com/s/li00fnahosd3c82/AndroidStudioChartboost.zip?dl=0

Thanks for sample project and your response. We will migrate to Android Studio as soon as possible but for now, I don’t think the problem was build system, because it works well with interstitial mode. Which field or subject can produce the error about checkSelfPermission method?

I’ve tested Chartboost on Android 4.4 and 7.0, also using Corona Enterprise (Android Studio), but I cannot reproduce your issue.

It works for all ad types.

 

The only thing I can think of is that ant is building your app differently than Android Studio.

What Android version is your device running?

I’ve tested on different versions like 4.3, 5, 6

Unfortunately I cannot reproduce your issue.

I’ve tested on Android 4.4 and 7.0, also using Corona Enterprise (Android Studio).

The old ant build system is deprecated, and it’s therefore recommended to migrate old ant projects to Android Studio.

We can only offer very limited help with ant projects.

Here’s a Corona Enterprise (Android Studio) sample project with Chartboost fully configured.

You just need to modify main.lua with your ApiKey and then run.

https://www.dropbox.com/s/li00fnahosd3c82/AndroidStudioChartboost.zip?dl=0

Thanks for sample project and your response. We will migrate to Android Studio as soon as possible but for now, I don’t think the problem was build system, because it works well with interstitial mode. Which field or subject can produce the error about checkSelfPermission method?

I’ve tested Chartboost on Android 4.4 and 7.0, also using Corona Enterprise (Android Studio), but I cannot reproduce your issue.

It works for all ad types.

 

The only thing I can think of is that ant is building your app differently than Android Studio.