Including support and libraries for native interface error

Viewed 37

I am sorry to bother you again but it still does not work with this... The new error is :

Could not find method compile() for arguments [{name=support-v4-25.0.0, ext=aar}] on DefaultExternalModuleDependency{group='com.opentok.android', name='opentok-android-sdk', version='2.11.0', configuration='default'}.

(Here is the entire Log)

In the library the properties file contains the following lines: (codenameone_library_required.properties)

codename1.arg.java.version=8
codename1.arg.android.buildToolsVersion=25.0.0
codename1.arg.android.playServicesVersion=9.8.0
codename1.arg.android.supportv4Dep=compile 'com.android.support\:support-v4\:25.+'
codename1.arg.android.gradleDep= compile 'com.opentok.android\:opentok-android-sdk\:2.11.0'

The codenameone_library_appended.properties file is empty.

We included the aar files (support-v4-25.0.0.aar, appcompat-v7-25.0.0.aar and opentok-android-sdk-2.11.0.aar) in the library in the native/android.

We are out of ideas to try, can you please help us again?

Thank you in advance !

2 Answers
Related