-
Notifications
You must be signed in to change notification settings - Fork 10
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
multi-dex option #31
Comments
can you show me the code of your Rakefile (the gradle block) please ? |
app.gradle do |
are you sure you need all google play services ?
Envoyé de mon iPhone
… Le 12 déc. 2016 à 13:18, Rafael Iga ***@***.***> a écrit :
app.gradle do
dependency 'com.android.support:appcompat-v7:24.0.0'
dependency 'com.android.support:design:24.0.0'
dependency 'com.android.support:support-v4:24.0.0'
dependency 'com.facebook.android:facebook-android-sdk:4.16.1'
dependency 'com.squareup.picasso:picasso:2.5.2'
repository 'https://jitpack.io'
dependency 'com.github.PhilJay:MPAndroidChart:v3.0.0'
dependency "commons-io:commons-io:+"
dependency 'com.bozapro.circular-slider-range:library:1.2.0'
dependency 'com.google.android.gms:play-services:10.0.1'
end
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Not right now, but in the future Im going to use the other Play Services, I tried this too, same error: app.gradle do |
@MarkVillacampa @Watson1978 I have the feeling this I mean the problem is not when we pull dependencies, it works, but when we build the app I think. So there's should probably be a flag in RMA config 'multi_dex', and the only thing motion-gradle should do automatically is (pseudo code):
But adding the ./cc @rafaeliga |
Hey,
I was trying to add the Google maps library to my project and Im getting this error:
"trouble writing output: Too many field references: 67853; max is 65536. You may try using --multi-dex option"
Reference: https://developer.android.com/studio/build/multidex.html
I tried to look at motion-gradle code to add the option that Google suggests: add "multiDexEnabled true" to build.gradle, but seems that the motion-gradle's build.gradle its a java one and I cant add android options, Im not sure about this java part, but that was I found googling/searching for the error too.
Thanks!
The text was updated successfully, but these errors were encountered: