Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some missing Proguard rules?

See original GitHub issue

Describe the bug I get a systematic crash on any build using Proguard when I try to launch a Chucker intent like this for example: context.startActivity(Chuck.getLaunchIntent(context, SCREEN_HTTP))

I don’t have any issue if I don’t use Proguard, so that’s why I guess it may be related to some Proguard rules missing.

Crash logs:

E/AndroidRuntime: FATAL EXCEPTION: ModernAsyncTask #2
    java.lang.RuntimeException: An error occurred while executing doInBackground()
        at androidx.i.b.d$3.done(
        at java.util.concurrent.FutureTask.finishCompletion(
        at java.util.concurrent.FutureTask.setException(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
     Caused by: android.database.sqlite.SQLiteException: no such column: tag (code 1 SQLITE_ERROR[1]): , while compiling: SELECT _id, tag, clazz, message, date FROM 'd' ORDER BY date DESC
        at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
        at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(
        at android.database.sqlite.SQLiteConnection.prepare(
        at android.database.sqlite.SQLiteSession.prepare(
        at android.database.sqlite.SQLiteProgram.<init>(
        at android.database.sqlite.SQLiteQuery.<init>(
        at android.database.sqlite.SQLiteDirectCursorDriver.query(
        at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(
        at android.database.sqlite.SQLiteDatabase.queryWithFactory(
        at android.database.sqlite.SQLiteDatabase.query(
        at e.a.a.f$a.a(
        at e.a.a.f.a(
        at e.a.a.f.a(
        at e.a.a.f$b.a(
        at e.a.a.f$b.b(
        at android.content.ContentProvider.query(
        at android.content.ContentProvider.query(
        at android.content.ContentProvider$Transport.query(
        at android.content.ContentResolver.query(
        at android.content.ContentResolver.query(
        at androidx.core.content.a.a(
        at androidx.i.b.b.h(
        at androidx.i.b.b.d(
        at androidx.i.b.a.e(
        at androidx.i.b.a$a.a(
        at androidx.i.b.a$a.a(
        at androidx.i.b.d$

To Reproduce Steps to reproduce the behavior: Enable Proguard and try to launch any Chucker intent.

Thanks a lot in advance for your help! 🙂👋

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

cortinicocommented, Jun 28, 2019

Awesome 👍 Hopefully we’ll release a 3.0.0 stable in the near future.

HappyDr0idcommented, Jun 28, 2019

@cortinico It works with the 3.0.0-alpha1 version, no issue with Proguard 👏 I’ll stay on this version until a stable one will be published, thanks a lot! 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web file missing - Android Studio 1.0.1
1) in the buildTypes create a "debug" section. Set minifyEnabled to "true" and only include the file with the lines specified in the...
Read more >
Android's Built-in ProGuard Rules: The Missing Guide
First up: proguard-android.txt · dontusemixedcaseclassnames - Just tells it not to use mixed cases in class names so they don't go awry if ......
Read more >
Missing Android consumer proguard rules #2431 - GitHub
The short explanation is that Detox relies on some dependencies in the main app apk like Kotlin and React-Native that the test apk...
Read more >
Troubleshooting ProGuard issues on Android - Medium
In some cases ProGuard can't know that a class or method is being used, such as when it's only referenced by reflection, from...
Read more >
proguard rules get lost when running assembleRelease ...
First of all: I wanted to create this issue under Gradle plugin but I have don't rights for that space. Studio Build: //...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found