How to change top bar title in attribouter.xml?
hkaancaliskan opened this issue · 15 comments
How can I change title of top bar?
I'm just using attribouter.xml
You can change the title by defining the title_attribouter_about
string resource in your app, which will override the resource that Attribouter uses (you can see them all here). Unfortunately there isn't currently any way to set it dynamically. That may change this in the future, along with #62, though.
also i have a little question
when i set minifyEnabled true, it doesn't fetch infos from github about contributors etc.
i set proguard-rules.pro as you recommended in readme
Unfortunately I haven't tested this library much with minify enabled, but it should be possible to get it to function. Could you try explicitly telling it to keep me.jfenn.attribouter.data.**
?
It's midnight in Turkey. I'll let you know tomorrow.
Looks like problem is here. I tried keeping me.jfenn.attribouter.data.** but not worked.
2019-04-22 18:10:56.115 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2465ed0
2019-04-22 18:10:56.143 E/Attribouter: Class name "about" not found - you should probably check your configuration file for typos.
Here's full log.
2019-04-22 18:10:56.115 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2465ed0
2019-04-22 18:10:56.143 E/Attribouter: Class name "about" not found - you should probably check your configuration file for typos.
2019-04-22 18:10:56.143 W/System.err: java.lang.ClassNotFoundException: about
2019-04-22 18:10:56.143 W/System.err: at java.lang.Class.classForName(Native Method)
2019-04-22 18:10:56.143 W/System.err: at java.lang.Class.forName(Class.java:453)
2019-04-22 18:10:56.143 W/System.err: at java.lang.Class.forName(Class.java:378)
2019-04-22 18:10:56.143 W/System.err: at f.a.a.d.a.a(:65)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.f.b(:2544)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.a(:884)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.l(:1235)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.a(:1301)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.a.c(:710)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.a(:2071)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.b(:1861)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.c(:1816)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.s(:1723)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.a(:2624)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.u.h(:2580)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.j.a(:246)
2019-04-22 18:10:56.143 W/System.err: at b.l.a.h.onStart(:541)
2019-04-22 18:10:56.143 W/System.err: at b.b.a.m.onStart(:201)
2019-04-22 18:10:56.143 W/System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1392)
2019-04-22 18:10:56.143 W/System.err: at android.app.Activity.performStart(Activity.java:7157)
2019-04-22 18:10:56.143 W/System.err: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:2943)
2019-04-22 18:10:56.143 W/System.err: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
2019-04-22 18:10:56.143 W/System.err: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
2019-04-22 18:10:56.143 W/System.err: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
2019-04-22 18:10:56.144 W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
2019-04-22 18:10:56.144 W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
2019-04-22 18:10:56.144 W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2019-04-22 18:10:56.144 W/System.err: at android.os.Looper.loop(Looper.java:280)
2019-04-22 18:10:56.144 W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6706)
2019-04-22 18:10:56.144 W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2019-04-22 18:10:56.144 W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
2019-04-22 18:10:56.144 W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-04-22 18:10:56.144 W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "about" on path: DexPathList[[zip file "/data/app/com.kaancaliskan.guvenlinot.alpha-UHi4Dxt-AA_oLZyutkSWpA==/base.apk"],nativeLibraryDirectories=[/data/app/com.kaancaliskan.guvenlinot.alpha-UHi4Dxt-AA_oLZyutkSWpA==/lib/arm64, /system/lib64, /vendor/lib64]]
2019-04-22 18:10:56.144 W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
2019-04-22 18:10:56.144 W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
2019-04-22 18:10:56.144 W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
2019-04-22 18:10:56.144 W/System.err: ... 32 more
2019-04-22 18:10:56.248 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:10:56.256 I/chatty: uid=10847(com.kaancaliskan.guvenlinot.alpha) identical 1 line
2019-04-22 18:10:56.264 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:10:56.291 I/uvenlinot.alph: Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
2019-04-22 18:10:56.431 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:10:56.431 I/chatty: uid=10847(com.kaancaliskan.guvenlinot.alpha) identical 1 line
2019-04-22 18:10:56.431 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:10:57.009 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/google/gson
2019-04-22 18:10:57.009 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.009 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.009 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.009 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.010 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.023 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/hakkikaancaliskan/GuvenliNot
2019-04-22 18:10:57.023 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.023 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.023 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.023 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.023 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.026 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/hakkikaancaliskan/GuvenliNot
2019-04-22 18:10:57.026 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.026 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.027 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.027 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.027 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.035 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/bumptech/glide
2019-04-22 18:10:57.035 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.035 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.035 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.035 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.035 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.048 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/hakkikaancaliskan
2019-04-22 18:10:57.048 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.048 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.049 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.049 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.049 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.066 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/fennifith/Attribouter
2019-04-22 18:10:57.066 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.066 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.066 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.066 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.066 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.073 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/google/flexbox-layout
2019-04-22 18:10:57.073 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.073 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.073 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.073 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.074 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.085 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/GrenderG/Toasty
2019-04-22 18:10:57.085 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.085 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.085 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.085 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.085 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.087 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/Kotlin/anko
2019-04-22 18:10:57.087 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.087 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.087 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.087 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.087 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.090 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/null/contributors
2019-04-22 18:10:57.090 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.090 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.090 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.090 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.090 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.093 W/System.err: java.io.FileNotFoundException: https://api.github.com/licenses/apache-2.0
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.094 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.094 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.094 W/System.err: java.io.FileNotFoundException: https://api.github.com/licenses/apache-2.0
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.094 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.094 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.094 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.096 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/null/contributors
2019-04-22 18:10:57.097 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.097 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.097 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.097 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.097 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.098 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/deepakkumardk
2019-04-22 18:10:57.098 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.098 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.098 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.098 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.098 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.098 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/google/flexbox-layout
2019-04-22 18:10:57.098 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.099 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.099 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.099 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.099 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.101 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/zularizal
2019-04-22 18:10:57.101 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.101 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.101 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.101 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.102 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.115 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/Kotlin/anko
2019-04-22 18:10:57.115 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.115 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.115 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.115 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.115 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.116 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/zularizal
2019-04-22 18:10:57.116 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.116 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.116 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.117 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.117 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.122 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/bumptech/glide
2019-04-22 18:10:57.122 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.122 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.122 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.123 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.123 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.123 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/fennifith/Attribouter
2019-04-22 18:10:57.123 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.123 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.123 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.123 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.123 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.124 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/deepakkumardk
2019-04-22 18:10:57.125 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.125 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.125 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.125 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.125 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.127 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/google/gson
2019-04-22 18:10:57.127 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.127 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.127 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.128 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.128 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.138 W/System.err: java.io.FileNotFoundException: https://api.github.com/repos/GrenderG/Toasty
2019-04-22 18:10:57.138 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.138 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.139 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.139 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.139 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:10:57.139 W/System.err: java.io.FileNotFoundException: https://api.github.com/users/hakkikaancaliskan
2019-04-22 18:10:57.139 W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
2019-04-22 18:10:57.139 W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
2019-04-22 18:10:57.139 W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
2019-04-22 18:10:57.139 W/System.err: at f.a.a.b.a.e$a.b(:268)
2019-04-22 18:10:57.139 W/System.err: at f.a.a.b.a.e$a.run(:199)
2019-04-22 18:17:43.450 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:17:43.450 I/chatty: uid=10847(com.kaancaliskan.guvenlinot.alpha) identical 1 line
2019-04-22 18:17:43.450 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:17:45.471 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
2019-04-22 18:17:45.471 I/chatty: uid=10847(com.kaancaliskan.guvenlinot.alpha) identical 1 line
2019-04-22 18:17:45.472 W/Glide: Load failed for null with size [-1x-1]
class c.a.a.c.b.y: Received null model
That seems related to the XML parser. I wonder if you might need to keep all of the classes referenced from the config file as well... Ugh, last attempt, try with just me.jfenn.attribouter.**
If this doesn't work, then I have two thoughts:
- Could you provide a copy of your config file? I don't think that you have any errors in it as the warning suggests, especially if it works without minification, but there could be something weird that the parser's doing here.
- I really need to rewrite the XML parser. It's a piece of crap.
me.jfenn.attribouter.**
not worked :( https://github.com/hakkikaancaliskan/GuvenliNot here is my repo.
Oh, after reading the full log, those java.io.FileNotFoundException
s seem more relevant. Based on the stack trace, it looks like your proguard config isn't properly excluding all of the classes in me.jfenn.attribouter.data
, as the obfuscated f.a.a.b.a.e$a.run
method being referenced is inside the data package here.
I'm not sure why that would cause a FileNotFoundException
though. This may seem a bit of an obvious question, but have you declared the internet permission & have a working connection? I'll try to reproduce it on my end in a bit, but I'm laden with final exams at the moment so I unfortunately can't promise that I'll have the time to troubleshoot.
I was added Internet permission and looks like it has gone idk, added it and tried with keeping data class but not worked :(
I believe I have found the problem: your GitHub token is invalid. If you set the token to null, then the requests are resolved properly (albeit with a request limit).
If you commit your auth token to GitHub, it will be invalidated automatically. It should be kept out of your source code and should not be publicly accessible. I would recommend defining it as a variable in your gradle file or a weakly-referenced resource which is present at build-time but is not versioned in git.
I've removed token and same :(
pushed latest version of code, you can check
Are you saying that it is fixed, or that the problem still occurs? I cannot reproduce it anymore in the latest version, debug build variant. See: https://i.imgur.com/iUaat7V.png
No problem on debug variant because minify not enabled on debug variant. Problem still occur.
Build times with proguard/minifyEnabled are ridiculous, and make debugging a major pain. IMO they really aren't worth any benefit they might offer in apk size. But I digress.
Add the proguard rules as follows:
-keep class com.google.gson.** { *; }
-keep class me.jfenn.attribouter.** { *; }
Worked! Thanks :)