I am having problems running inji-wallet. These are the things I’ve done so far:
I followed the steps in the Build & Deploy | Inji documentation.
After following the steps, the project built successfully, but it failed when trying to run the app on an Android Virtual Device(Pixel 3a API 34) it crashed immediately after trying to open it and I got the following error:
java.lang.RuntimeException: Requested enabled DevSupportManager, but BridgeDevSupportManager class was not found or could not be created
After reading the README in the repo I found this paragraph: “For local build, update targetSdkVersion and compleSdkVersion to 33. There is some known issues in the debug build with targetSdk version and compleSdkVersion = 34.” I updated the version from 34 to 33, clean the project and tried to build it again and it failed with the following error:
1. Dependency 'androidx.camera:camera-video:1.4.0-alpha02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.2 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
I changed only the compileSdkVersion to 34 and kept the targetSdkVersion to 33 and the project built successfully and opened without crashing, but only showed a white screen and nothing else.
These are the logs I got after the app opened, I don’t know if they are relevant:
03-13 11:58:04.160 8196 8196 E SoLoader: Native lib dir: /data/app/~~BaQnjSAN8JvJOxRhdi7PGQ==/io.mosip.residentapp-BG0RYdXe21E20K3IHpOTFA==/lib/x86_64
03-13 11:58:04.160 8196 8196 E SoLoader: result: 0
03-13 11:58:04.331 0 0 E audit : rate limit exceeded
03-13 11:58:06.988 8196 8243 E OpenGLRenderer: Unable to match the desired swap behavior.
03-13 11:58:07.763 3596 6076 E WakeLock: GCM_HB_ALARM release without a matched acquire!
03-13 11:58:08.371 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
03-13 11:58:08.372 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'STATE' not found
03-13 11:58:08.372 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
03-13 11:58:08.373 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
03-13 11:58:09.575 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
03-13 11:58:09.576 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'STATE' not found
03-13 11:58:09.576 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
03-13 11:58:09.577 379 408 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
03-13 11:58:12.779 3596 3642 E WakeLock: GCM_CONN_ALARM ** IS FORCE-RELEASED ON TIMEOUT **
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: console.error: Credentials failed to load for user, js engine: hermes, stack:
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: _construct@1:125538
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: Wrapper@1:125182
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: _createSuperInternal@1:122326
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: SyntheticError@1:123735
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: reactConsoleErrorHandler@1:123371
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: ?anon_0_@1:1747589
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: asyncGeneratorStep@1:542431
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: _next@1:542701
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:542653
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: tryCallTwo@61:8
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: doResolve@216:24
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: Promise@82:13
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:542574
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:1747679
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3212454
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3211139
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3202858
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: handleAction@1:3186914
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: processBlock@1:3188095
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: resolveActions@1:3186594
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3235433
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3234311
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3209979
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: provide@1:3198522
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3209886
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3201170
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3220744
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3220583
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3200973
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:3211895
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: tryCallOne@53:15
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@139:26
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:249294
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: _callTimer@1:248288
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: _callReactNativeMicrotasksPass@1:248453
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: callReactNativeMicrotasks@1:250378
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: __callReactNativeMicrotasks@1:119554
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: anonymous@1:118693
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: __guard@1:119431
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: flushedQueue@1:118604
03-13 11:58:20.189 8196 8316 E unknown:ReactNative: callFunctionReturnFlushedQueue@1:118460
03-13 11:58:28.377 3596 7882 E WakeLock: GCM_HB_ALARM release without a matched acquire!
03-13 11:58:29.068 3596 7882 E WakeLock: GCM_HB_ALARM release without a matched acquire!
03-13 11:58:38.493 3596 3642 E WakeLock: GCM_CONN_ALARM ** IS FORCE-RELEASED ON TIMEOUT **
03-13 11:58:39.519 8196 8196 E unknown:ReactNative: Got DOWN touch before receiving UP or CANCEL from last gesture
03-13 11:58:40.615 8196 8196 E unknown:ReactNative: Got DOWN touch before receiving UP or CANCEL from last gesture
03-13 11:58:41.493 8196 8196 E unknown:ReactNative: Got DOWN touch before receiving UP or CANCEL from last gesture
03-13 11:58:42.097 8196 8196 E unknown:ReactNative: Got DOWN touch before receiving UP or CANCEL from last gesture
03-13 11:58:53.946 3596 7882 E WakeLock: GCM_HB_ALARM release without a matched acquire!
03-13 11:58:58.959 3596 3642 E WakeLock: GCM_CONN_ALARM ** IS FORCE-RELEASED ON TIMEOUT **
03-13 11:59:14.152 3596 6972 E WakeLock: GCM_HB_ALARM release without a matched acquire!
03-13 11:59:29.174 3596 3642 E WakeLock: GCM_CONN_ALARM ** IS FORCE-RELEASED ON TIMEOUT **
Can you help me know what I am doing wrong?