[Ring] Android Call StatusBar Exception/MultiDex
Looks like the reply I made to my other thread actually needs to be a new different thread. * 05-03 15:27:06.947 1029-1198/? D/WifiNative-wlan0: doString: SIGNAL_POLL 05-03 15:27:07.007 1215-1215/? E/StatusBar: couldn't inflate view for notification cx.ring/0xf83e638 android.content.res.Resources$NotFoundException: File res/drawable/ic_call_end_white.xml from drawable resource ID #0x7f08006f at android.content.res.Resources.loadDrawable(Resources.java:2136) at android.content.res.Resources.getDrawable(Resources.java:715) at android.widget.TextView.setCompoundDrawablesRelativeWithIntrinsicBounds(TextView.java:2377) at android.widget.RemoteViews$TextViewDrawableAction.apply(RemoteViews.java:1417) at android.widget.RemoteViews.performApply(RemoteViews.java:2458) at android.widget.RemoteViews.apply(RemoteViews.java:2417) at android.widget.RemoteViews$ViewGroupAction.apply(RemoteViews.java:1345) at android.widget.RemoteViews.performApply(RemoteViews.java:2458) at android.widget.RemoteViews.apply(RemoteViews.java:2417) at com.android.systemui.statusbar.BaseStatusBar.inflateViews(BaseStatusBar.java:732) at com.android.systemui.statusbar.BaseStatusBar.createNotificationViews(BaseStatusBar.java:938) at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1307) at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:326) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606) at dalvik.system.NativeStart.main(Native Method) Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933) at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877) at android.content.res.Resources.loadDrawable(Resources.java:2132) at android.content.res.Resources.getDrawable(Resources.java:715) at android.widget.TextView.setCompoundDrawablesRelativeWithIntrinsicBounds(TextView.java:2377) at android.widget.RemoteViews$TextViewDrawableAction.apply(RemoteViews.java:1417) at android.widget.RemoteViews.performApply(RemoteViews.java:2458) at android.widget.RemoteViews.apply(RemoteViews.java:2417) at android.widget.RemoteViews$ViewGroupAction.apply(RemoteViews.java:1345) at android.widget.RemoteViews.performApply(RemoteViews.java:2458) at android.widget.RemoteViews.apply(RemoteViews.java:2417) at com.android.systemui.statusbar.BaseStatusBar.inflateViews(BaseStatusBar.java:732) at com.android.systemui.statusbar.BaseStatusBar.createNotificationViews(BaseStatusBar.java:938) at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1307) at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:326) at android.os.Handler.dispatchMessage(Handler.java:102)
Re: [Ring] hello !
Hi! Cool. This is some different pieces we host for Ring and you will need if wanted. 1. The name server, to be able to register pseudonyms. We host ns.ring.cx on a Ethereum blockchain. But you can do whatever you need for your case, the documentation is here: https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.php?title=Name_server_protocol (For a personal account, I just use a json hosted on my website). You will have nicknames like x...@your.name.server 2. The turn server (turn.ring.cx) used for pass through the NAT and for data transfer. We use a simple coturn server and I'm currently writing this: https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.php?title=File_transfer (incomplete). You can use a coturn server 3. Optional (and more complex): For push notifications, we host a OpenDHT proxy and a GoRUSH server to send notifications to Android and Apple devices (doc here: https://github.com/savoirfairelinux/opendht/wiki). If you want to use your own server, you will need to recompile a version for these devices with the certificate for your app. I hope it's helping. Have a nice day. Sebastien. On 05/03/2018 12:07 PM, Kitio Fofack wrote: Hello, ring Team ! I met with some of you guys yesterday at your stand @UQAM during the seminary on OSS. As promise I tried Ring last night and it worked successfully between a mac and a Linux computer. Nevertheless I have not fully achieved my use case as those clients are preconfigured to use your servers. I need to configure equivalent servers in order to have the app working in a LAN and trough a VPN. I'll keep you posted. Regards -- Kitio Fofack, PMP CEO ARETEX S.E.N.C.
Re: [Ring] Android Crash; Windows Update; Gnome Tray
Yeah, the apk I analyzed was the one that I compiled (commit e7c305c0d2f387ed66b605aefa89f63cf18fe863) Interesting that android studio 3.0.1 never complained about it during compilation, analyzed what was built and showed those numbers I mentioned earlier, installed and ran the debug apk. On Thu, May 3, 2018 at 8:57 AM, Pierre Ducheminwrote: > Hi Nathan, > > I just analyzed the apk files produced by our CI system. > I don't have the same results. > Can you tell us where did you downloaded you apk file from and explain how > you got theses results? > > Furthermore, if you try to compile such an apk, Android studio would throws > that kind of error: > > com.android.dex.DexIndexOverflowException: method ID not in [0, 0x]: 65536 > at com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502) > at com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277) > at com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491) > at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168) > at com.android.dx.merge.DexMerger.merge(DexMerger.java:189) > at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454) > at com.android.dx.command.dexer.Main.runMonoDex(Main.java:302) > at com.android.dx.command.dexer.Main.run(Main.java:245) > at com.android.dx.command.dexer.Main.main(Main.java:214) > at com.android.dx.command.Main.main(Main.java:106) > > At this time, our apk compile without any error. > > Pierre Duchemin > Free software consultant | Montreal, Qc > Savoir-faire Linux > Ring: pierreduchemin > > Confidentiality Message: This communication (including any files > transmitted with it) is intended solely for the person or entity > to whom it is addressed, and may contain confidential or > privileged information. > The disclosure, distribution or copying of this message is > strictly forbidden. Should you have received this communication > in error, kindly contact the sender promptly, destroy any copies > and delete this message from your computer system.
[Ring] Android Crash; Windows Update; Gnome Tray
I think I found the cause for the android (kitkat/4.4.2) crash when it came to calls... I came across "multidex" in my searching and when I went to analyze the apk using Android Studio, I see it say it has 29413 methods AND references 36906 methods, exceeding the 64K method limit. https://developer.android.com/studio/build/multidex