muvixalex
(Alex Itelman - Muvix)
March 20, 2017, 1:35pm
1
Having a few problems with the upgrade to 1.3.0, what I found so far which are blockers:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: android.icu.impl.IDNA2003
java.lang.IllegalStateException: missing metadata: /com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IL
at com.google.i18n.phonenumbers.PhoneNumberUtil.loadMetadataFromFile(PhoneNumberUtil.java:622)
I will update if I find more issues…
What can I do about these two?
kisg
(Gergely Kis - Migeran)
March 20, 2017, 2:15pm
2
Hi Alex,
wherer exactly do you see these errors? Are you using the 1.3.1 Gradle plugin (we had to release a hotfix of it)?
Best Regards,
Gergely
muvixalex
(Alex Itelman - Muvix)
March 20, 2017, 2:16pm
3
I get them at runtime.
I used 1.3.+ in the build.gradle
kisg
(Gergely Kis - Migeran)
March 20, 2017, 6:39pm
4
We are looking into this. Can you provide us a test project? We have not seen these issues during our tests and sample apps.
muvixalex
(Alex Itelman - Muvix)
March 20, 2017, 6:54pm
5
That will take time, but I will try. To save us both time you are always welcome to connect to my machine and see.
muvixalex
(Alex Itelman - Muvix)
March 21, 2017, 7:54am
6
Does the proguard.append.cfg still work?
muvixalex
(Alex Itelman - Muvix)
March 21, 2017, 7:56am
7
Both problems look like a proguard issue, the first one looks like com.android.okhttp is missing this class: android.icu.impl.IDNA2003
muvixalex
(Alex Itelman - Muvix)
March 21, 2017, 7:57am
8
I tried adding this:
-keep class android.icu.impl.IDNA2003 {}
to the proguard.append.cfg file under my MOE module but it didn’t help
muvixalex
(Alex Itelman - Muvix)
March 21, 2017, 8:31am
9
I tried creating a sample project that uses OkHttp but it seems to work… I guess it’s more complicated than that.
For some reason the error stack trace (in our app) shows com.android.okhttp instead of com.squareup.okhttp