I got an error on my APK build
vsedzialo opened this issue · comments
Description
On my application .apk build I got the next error
Build fingerprint: 'Redmi/begonia_ru/begonia:10/QP1A.190711.020/V12.0.8.0.QGGRUXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-03-06 11:38:41+0200
pid: 6602, tid: 6696, name: mqt_js >>> com.testapp<<<
uid: 10409
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Throwing new exception 'no "I" field "height" in class "Lcom/unistyles/Dimensions;" or its superclasses' with unexpected pending exception: java.lang.NoSuchFieldError: no "I" field "width" in class "Lcom/unistyles/Dimensions;" or its superclasses
at void com.unistyles.UnistylesModule.nativeInstall(long, com.unistyles.Dimensions, java.lang.String, java.lang.String, com.unistyles.Insets, com.unistyles.Dimensions, com.unistyles.Dimensions) (SourceFile:-2)
at boolean com.unistyles.UnistylesModule.install() (SourceFile:-1)
at void com.facebook.jni.NativeRunnable.run() (SourceFile:-2)
at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:914)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:100)
at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (SourceFile:-1)
at void android.os.Looper.loop() (Looper.java:224)
at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (SourceFile:-1)
at void java.lang.Thread.run() (Thread.java:919)
Steps to reproduce
Snack or a link to a repository (optional)
No response
Unistyles version
2.4.0
React Native version
0.73.0
Platforms
Android
Engine
Hermes
Architecture
Paper (old)
Hey, take a look here: https://www.unistyl.es/reference/faq/#my-release-app-is-crashing-on-startup-android-with-proguard-enabled
and here: #153
Enjoy!