-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android build fails: Could not find any version that matches com.android.support:multidex:25.+. #380
Comments
Glad you were able to get it working. I will monitor this issue to see if it pops up for any other partners. Thanks, |
Ok, I think it has something to do with Android Studio 2.3+ and how they structure their new dependencies but I'm not sure. Maybe the Android team is going towards less support for Mulidexing now that they allow to pick and choose more specific sdk dependencies. Also had to comment out this line otherwise the app crashed on boot. |
This is very valuable information to have. Thank you so much for your investigations. I have not worked with Android Studio 2.3+ yet, so I will add this version to my test plans to see if I can prevent this error from happening in the future. |
Hi, I have also the same described problem Hope to be solved soon ;) Regards |
Thanks for the heads up! Unfortunately, I will be out of town for the next couple of days, so I will not be able to build out a fix until next week. In the meantime, I would suggest following epetre's solution of ripping out the mulitdex references. I apologize for this inconvenience. I will get a fix out as soon as I can. |
I am having this same issue and the fix is also not working for me. |
Did you guys (@morganabel, @SeVeNDuS ) try adding/removing the plugin after you made those changes? |
I tried making the changes in a local directory and installed from there and I am still seeing the same problem. I used the lastest master, not idea why it worked for you and not me. Maybe another plugin is causing a conflict? |
Hi @epetre I tried doing those changes in a forked repository of this one and install from that fork and got the same problem. Regards |
HI @ethannef Could you work something in this? Thanks in advance |
Warning: |
cordova plugin add branch-cordova-sdk@2.4.9 |
I have submitted a fix which removes Android multidexing. Testing this was a pain, so we have decided to remove it for now to unblock everyone. We will revisit this again issue in the future to see if we can add logic around multidexing depending on which version of Android Studio. I have just updated the Branch Cordova SDK. I would recommend updating to the latest version Thanks, |
thanks for all the work, I'll try again. |
Removing this lines makes the build succeed.
https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/blob/5e329ae2ba480ad286eb5a5b7bc6bd05db681200/build.gradle#L9
Some details about my android setup (using Android Studio 2.3.3).
My SDK Tools
My platforms
The text was updated successfully, but these errors were encountered: