klinker24 / talon-for-twitter-android

The most powerful and beautiful Twitter client available.
https://klinkerapps.com/talon-overview
1.19k stars 183 forks source link

Runtime exception on startup using the relase build ClassNotFoundException: twitter4j.TwitterImpl #152

Open dewijones92 opened 3 years ago

dewijones92 commented 3 years ago

Hi
The debug version apk runs fine but the release version crashes on startup. Suggestions please? :smile:

I used the following commands to build and install:

./gradlew  build
apksigner sign --ks wear/keystore ./app/build/outputs/apk/release/app-release-unsigned.apk
adb install  ./app/build/outputs/apk/release/app-release-unsigned.apk

Exception on app startup:

(standard input)-37536-09-20 16:59:36.747  9871  9871 D AndroidRuntime: Shutting down VM
(standard input)-37537-09-20 16:59:36.747  9871  9871 E AndroidRuntime: FATAL EXCEPTION: main
(standard input):37538:09-20 16:59:36.747  9871  9871 E AndroidRuntime: Process: com.klinker.android.twitter_l, PID: 9871
(standard input)-37539-09-20 16:59:36.747  9871  9871 E AndroidRuntime: java.lang.AssertionError: java.lang.ClassNotFoundException: twitter4j.TwitterImpl
(standard input)-37540-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at n.b1.<clinit>(Unknown Source:100)
(standard input):37541:09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at com.klinker.android.twitter_l.activities.setup.material_login.e.n(Unknown Source:24)
(standard input):37542:09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at com.klinker.android.twitter_l.activities.setup.material_login.e.onCreate(Unknown Source:27)
(standard input)-37543-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.Fragment.performCreate(Unknown Source:16)
(standard input)-37544-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.s.d(Unknown Source:49)
(standard input)-37545-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.m.A0(Unknown Source:225)
(standard input)-37546-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.v.b(Unknown Source:192)
(standard input)-37547-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.v.c(Unknown Source:18)
(standard input)-37548-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.v.C(Unknown Source:47)
(standard input)-37549-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.m.T(Unknown Source:116)
(standard input)-37550-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.m.K0(Unknown Source:84)
(standard input)-37551-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.m.R(Unknown Source:31)
(standard input)-37552-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.a.j(Unknown Source:6)
(standard input)-37553-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.fragment.app.q.finishUpdate(Unknown Source:12)
(standard input)-37554-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.viewpager.widget.ViewPager.populate(Unknown Source:382)
(standard input)-37555-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.viewpager.widget.ViewPager.populate(Unknown Source:2)
(standard input)-37556-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at androidx.viewpager.widget.ViewPager.onMeasure(Unknown Source:192)
(standard input)-37557-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.view.View.measure(View.java:25466)
(standard input)-37558-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
(standard input)-37559-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
(standard input)-37560-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.view.View.measure(View.java:25466)
(standard input)-37561-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6957)
(standard input)-37562-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
--
(standard input)-37594-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at android.app.ActivityThread.main(ActivityThread.java:7656)
(standard input)-37595-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at java.lang.reflect.Method.invoke(Native Method)
(standard input)-37596-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
(standard input)-37597-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
(standard input)-37598-09-20 16:59:36.747  9871  9871 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: twitter4j.TwitterImpl
(standard input)-37599-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at java.lang.Class.classForName(Native Method)
(standard input)-37600-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at java.lang.Class.forName(Class.java:454)
(standard input)-37601-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at java.lang.Class.forName(Class.java:379)
(standard input)-37602-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         at n.b1.<clinit>(Unknown Source:36)
(standard input)-37603-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         ... 57 more
(standard input)-37604-09-20 16:59:36.747  9871  9871 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: twitter4j.TwitterImpl
(standard input)-37605-09-20 16:59:36.747  9871  9871 E AndroidRuntime:         ... 61 more
(standard input)-37606-09-20 16:59:36.749   308   391 W EmuHWC2 : validate: layer 118 CompositionType 1, fallback
(standard input)-37607-09-20 16:59:36.751   308   391 W EmuHWC2 : No layers, exit, buffer 0xeca80290
(standard input)-37608-09-20 16:59:36.766   308   391 W EmuHWC2 : validate: layer 118 CompositionType 1, fallback
(standard input)-37609-09-20 16:59:36.767   308   391 W EmuHWC2 : No layers, exit, buffer 0xeca81a90
(standard input)-37610-09-20 16:59:36.783   308   391 W EmuHWC2 : validate: layer 118 CompositionType 1, fallback
(standard input)-37611-09-20 16:59:36.784   308   391 W EmuHWC2 : No layers, exit, buffer 0xeca80290