Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Including support and libraries for native interface error

Tags:

codenameone

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 !

like image 606
mina Avatar asked Jul 15 '26 22:07

mina


1 Answers

Those hints aren't for the inclusion of the AAR. That's unnecessary. Once you include those hints the support library should "just work" and including the AAR will become redundant since we already include it.

like image 71
Shai Almog Avatar answered Jul 19 '26 23:07

Shai Almog