Top

Couldn't sync App gradle for Android Studio with com.ale.rainbow:1.40.0

Respondida

Comentários

8 comentários

  • GAURAV MISTRY

    For the 1st Question's Comment, We tried to keep all Library dependency as latest (or little OLD Version also) couldn't help it. So we finally used "com.ale:rainbowsdk:1.38.0" and only it worked but we are able to run in debug mode in mobile device but can't generate release or debug .APK.

    For the 2'nd Questions's Comment, We have some IOT related lib.so libraries for which we already use multiDexEnabled as true. Which are disturbing our Existing project. So is there any Chances that a project with number of functions more than 65536 can't use com.ale:rainbowsdk ?

    0
    Ações de comentário Permalink
  • Jonathan PETIT

    Hi,

     

    for your first problem, 

    "1)    FAILURE: Build failed with an exception.           * What went wrong:
               Execution failed for task ':app:processDebugAndroidTestManifest'.
               > Failed to create directory                        'E:\CPASS\cpass_jone\Sprngpod\app\build\intermediates\manifest\androidTest\debug'"

    is it possible for you to clean your prject? if no, maybe, you debug file (or directory) is used by another tool

    "2)      Multiple dex files define Lorg/apache/commons/codec/language/AbstractCaverphone; "

    " So is there any Chances that a project with number of functions more than 65536 can't use com.ale:rainbowsdk ?"

    Sirry, I don't understand your problem. Could you re explain, please

     

     

    0
    Ações de comentário Permalink
  • GAURAV MISTRY

    1)  We have tried with clean project and even invalidate project. It doesn't help. No the project path is totally independent for android studio. It is not used by any other Tools.

     

    2) we are facing facing following - Error:Execution failed for task :app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
    > java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

    so on research in forums, it was suggested to make "Multidexenabled true" under defaultConfig in App gradle,  which is suggested for project having number of functions more than 65536. So in our project we have more than 65536 functions and for com.ale:rainbowsdk which uses GOOGLEWEBRTC (recommended to use Multidexenabled true). So our project have more than 65536(slready using Multidexenabled true) and googlewebrtc recommends to use Multidexenabled true. So is there any chances that because of which we can't go with com.ale:rainbowsdk

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Hi back,

    About "1)

    Do the directories E:\CPASS\cpass_jone\Sprngpod\app\build\intermediates\manifest\androidTest\debug'"  exist ?
    Do you have right (yourself, not Android Studio) to write a file there ?
    Is your HDD somewhat full ?

     

    About "2) Multidex, I never build an Android app, but after a search on Google:

    "Enable multidex for apps with over 64K methods"
    https://developer.android.com/studio/build/multidex

    Could you try this ?

     

    Thanks,
    Pascal

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Hi,

    Do you still need help or can I close this ticket ?

    Regards,
    Pascal

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Closing...

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Hi Gaurav,

     

    For your first problem, in the What's new:
    https://hub.openrainbow.com/#/documentation/doc/sdk/android/guides/What_is_new
    was written

    • We have updated some libraries in this version. You could meet some issue with the manifest merger, just make sure to update the concerned libraries (for example, the support v7 libraries).

    could you please first check this ?

    Best regards,
    Pascal

    -1
    Ações de comentário Permalink
  • Jonathan PETIT

    Hi,

     

    for the second problem, could you try to remove the content of your .gradle directory and rebuild your project.

     

    It seems a dependency problem as said in many forums.

     

    Regards

     

    Jonathan

     

    -1
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem