margelo / margelo/react-native-fast-tflite
App Crashing on Release Build [Android]
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 92
- Avg merge
- 13h 9m
- Merged PRs (30d)
- 2
Description
Issue
When building the app in release mode the app crashes on start but works on debug build.
Findings
I am able to build the app in release mode when I disable dex guard. I have tried to remove the package from pro guard but nothing is working
// proguard_rules.pro
-keepclasseswithmembers class com.tflite.** {*;}
-keepclasseswithmembers class com.mrousavy.camera.** { *; }
-keepclasseswithmembers class com.worklets.** { *; }
//dexguard version and config
dexguard {
version = '9.3.7'
license = './lib/Dexguard/dexguard-license.txt'
configurations {
release {
defaultConfiguration 'dexguard-release.pro'
configuration 'dexguard-project.pro'
}
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with proguard_rules.pro and the shown DexGuard configuration in the issue, then reproduce the release build with DexGuard enabled and compare it with the working debug build. Identify the missing configuration behind the startup crash; done means the Android release build starts successfully without disabling DexGuard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, tensorflow
- Domain
- build-system, machine-learning, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100