Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate proguard rule file for android #927

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

amrbashir
Copy link
Member

@amrbashir amrbashir commented Apr 13, 2023

This PR requires #926

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Checklist

Other information

@amrbashir amrbashir requested a review from a team as a code owner April 13, 2023 12:14
@lok52
Copy link

lok52 commented Apr 16, 2023

Hi! After including the suggested proguard file, I am getting another error.

04-16 14:58:12.683 18445 18445 E AndroidRuntime: java.lang.NoSuchFieldError: no "Lbencher/tauri_bencher/RustWebView;" field "m_webview" in class "Lbencher/tauri_bencher/MainActivity;" or its superclasses
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at android.os.MessageQueue.nativePollOnce(Native Method)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at android.os.MessageQueue.next(MessageQueue.java:335)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:161)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7872)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
04-16 14:58:12.683 18445 18445 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
04-16 14:58:12.688   586  1994 E ActivityManager: App crashed on incremental package bencher.tauri_bencher which is 100% loaded.

@amrbashir amrbashir requested a review from wusyong April 17, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants