Release build crash using 2.31-alpha
See original GitHub issueHi,
My release version runs just fine with 2.30.1-alpha
. However, with the new version, the release version fails (at app startup) with this stacktrace:
java.lang.IllegalAccessError: Interface e.b.b.c.c.a$a implemented by class com.peterlaurence.trekme.TrekMeApp_HiltComponents$ActivityC is inaccessible (declaration of 'com.peterlaurence.trekme.TrekMeApp_HiltComponents$ActivityC' appears in base.apk)
at com.peterlaurence.trekme.DaggerTrekMeApp_HiltComponents_SingletonC$ActivityRetainedCImpl.activityComponentBuilder(Unknown Source:0)
at e.b.b.c.d.a.a(Unknown Source:79)
at e.b.b.c.d.a.generatedComponent(Unknown Source:11)
at com.peterlaurence.trekme.Hilt_MainActivity.generatedComponent(Unknown Source:4)
at com.peterlaurence.trekme.Hilt_MainActivity.inject(Unknown Source:7)
at com.peterlaurence.trekme.Hilt_MainActivity.onCreate(Unknown Source:0)
at com.peterlaurence.trekme.MainActivity.onCreate(Unknown Source:0)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3404)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7660)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Is there some proguard rule I should add?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:19 (3 by maintainers)
Top Results From Across the Web
Dagger Hilt 'Assisted' and 'ViewModelInject' is deprecated. in ...
In alpha03, Use the new @HiltViewModel and the normal @Inject now as shown below. @HiltViewModel class MyViewModel @Inject constructor( ...
Read more >GreenStash (#2125) · Issues - F-Droid - GitLab
The app complies with the inclusion criteria. The app is not already listed in the repo or issue tracker. The app has not...
Read more >Version history - Official 7 Days to Die Wiki - Fandom
Alpha 20.6. Released on August 16, 2022 ... Alpha 20.2. Released on February 7, 2022 ... Alpha 17 Experimental B221. Experimental build.
Read more >The Colored Lens #29 – Autumn 2018
The sea crashed against the pillars and made the world quake and Sita, prone, ... We scampered across the rooftops with slate shingles...
Read more >Modified Room runtime library for Proguard/R8 obfuscation
Implement room-runtime with how-to, Q&A, fixes, code snippets. kandi ratings ... build Reuse. room-runtime releases are available to install and integrate.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@peterLaurence I use a
keepnames
proguard rule !I got a same issue when release build.
Added proguard rules and output logs.