Jitsi Meet Android sdk level api 21

Hello,
i need to compile jitsi meet as external lib for the sdk level 21.

I can’t find any instruction on how to compile it on android studio.
And i can’t change on build.gradle app on
targetSdkVersion 21
because i receive errors.

Can someone help me please sharing the instruction please?

Error example:

Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkerExecution.waitForCompletion(DefaultWorkerExecutor.java:285)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:115)
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:87)
at org.gradle.workers.internal.DefaultWorkerExecutor.await(DefaultWorkerExecutor.java:150)
at com.android.build.gradle.internal.tasks.Workers$WorkerExecutorAdapter.await(Workers.kt:282)
… 185 more
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:2891: AAPT: error: resource android:attr/fontStyle not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:2892: AAPT: error: resource android:attr/font not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:2893: AAPT: error: resource android:attr/fontWeight not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:2894: AAPT: error: resource android:attr/fontVariationSettings not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:2895: AAPT: error: resource android:attr/ttcIndex not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3053: AAPT: error: resource android:attr/startX not found.

/home/emulk/Scaricati/jitsi-meet-sdk-samples-master/android/java/JitsiSDKTest/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3055: AAPT: error: resource android:attr/startY not found.

at com.android.builder.internal.aapt.v2.Aapt2Exception$Companion.create(Aapt2Exception.kt:45)
at com.android.builder.internal.aapt.v2.Aapt2Exception$Companion.create$default(Aapt2Exception.kt:39)
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteException(Aapt2ErrorUtils.kt:195)
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteLinkException(Aapt2ErrorUtils.kt:126)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$AaptSplitInvoker.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.kt:848)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$AaptSplitInvoker.run(LinkApplicationAndroidResourcesTask.kt:722)
at com.android.build.gradle.internal.tasks.Workers$ActionFacade.run(Workers.kt:335)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:39)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.execute(NoIsolationWorkerFactory.java:61)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:55)
at org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:105)
at org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:99)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
... 3 more

Thank you

Hey there!

We already provide an SDK with API level 21. You can follow the instructions here: https://github.com/jitsi/jitsi-meet/blob/master/android/README.md#use-pre-build-sdk-artifactsbinaries

Thank you