From EAS Build to Classic Build

In my last project i’ve used for the first time the EAS build to build a standalone app to upload to the stores. All the process is gone very well without any error messages. Now on android i’m experimenting a app crash that i’m not able to reproduce on Expo Go. I want to make the build with the classic way expo build:android that how i was used to do with previous version of the project. I tried, but i respond Let’s expo do the job when asked for credentialis. Now when i uploaded the build a signing error occurs telling me tha the app bundle was signed with a different key. How can i use the same eas credentials for android with the classic build way ?

i’d recommend trying to figure out why your app is crashing rather than trying to move to expo build:android. sdk 46 will be the last sdk to support the classic build service so you will be setting yourself up to need to migrate away from it pretty quick anyways. check out the troubleshooting build errors & crashes guide instead

@notbrent thank you very much for the answer. I’ve read the page of the guide you suggested. I’m in this case " Why does my app work in Expo Go and expo build:[android|ios] but not with EAS Build?". But I can’t understand how i can figure it out if with Expo Go and testing the app on a real android phone the problem doesn’t happen. I’ve not skills of specific android app development so is why i’m using expo and the managed way of development. Can you help me in some way if i give you the source of the project or the build artifact ?

Downgrade from EAS build to Classic build if you first use the EAS build and you have app crashes that you don’t experiment in Expo Go with Android

  • eas credentials choose android, following the menu and download the .jfk file in the root of the project

  • when it asked to show the Sensitive Keystore information respond yes and save this information

  • make a expo build:android --clear-credentials and when it asked for Keystore choose to upload a file.

  • After you insert the anme of the .jfk file, it asked you the Keystore password, Key alias, Key password copy and paste from the file where you save the Sensitive Keystore information.

At the end of the process you will get a build with the same credentials used and created by EAS Build and you can solve the signing problems i’ve experimented.
As @notbrent suggest this is just a workaround not a real solution, but at the moment i can’t figured out why the EAS build for android crashes: i don’t know witch instruments i can use to see a log or an error message. As i said with Expo Go on a real android phone the crashes don’t happen as the Classic build.
Reading the Expo documentation and this expo blog post they write about an Expo Development Client with which you will run an EAS Build.

What dependencies do you have?

When you run the app that was built by EAS Build and it crashes, what do you get if you run the following? Try searching for “fatal”:

adb logcat -d

@wodin thank you for the reply. This is my package.json:

{
  "name": "tennis-ronchi",
  "version": "22.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@babel/plugin-transform-react-jsx-source": "^7.2.0",
    "@react-native-async-storage/async-storage": "~1.15.0",
    "@react-native-community/datetimepicker": "3.5.2",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/stack": "^6.0.11",
    "expo": "^44.0.0",
    "expo-app-loading": "~1.3.0",
    "expo-constants": "~13.0.0",
    "expo-font": "~10.0.4",
    "expo-linking": "~3.0.0",
    "expo-notifications": "~0.14.0",
    "expo-web-browser": "~10.1.0",
    "moment": "^2.20.1",
    "native-base": "^2.13.12",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-autocomplete-input": "4.1.0",
    "react-native-elements": "^0.19.0",
    "react-native-gallery-swiper": "^1.21.0",
    "react-native-gesture-handler": "~2.1.0",
    "react-native-masked-text": "^1.6.5",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.10.1",
    "react-native-vector-icons": "^4.2.0",
    "react-native-webview": "11.15.0",
    "react-redux": "^7.2.5",
    "redux": "^4.1.1",
    "redux-thunk": "^2.3.0",
    "expo-splash-screen": "~0.14.1"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.1",
    "eslint": "^4.15.0",
    "eslint-plugin-flowtype": "^2.41.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-prettier": "^2.4.0",
    "eslint-plugin-react": "^7.5.1",
    "prettier-eslint": "^8.7.4"
  },
  "private": true
}

I don’t run the EAS Build in any simulator. I’m used to test the app with Expo Go on a real android phone and i see error message on console of expo start. The EAS build i submit it manually to the Google Paly Store. I’m used to develop the app on a Mac with iOS Simulator e test on a real phone for Android part with Expo Go.
The EAS Build for iOS doesn’t crash it runs as expected.
I’ve some question:

  • EAS Build use npm or yarn to install dependecies ?

  • If it use yarn is possibile to specify to use npm ?

Thank you @wodin fo your help and time.

OK, I’m a bit confused. I thought you said it was working fine in Expo Go and that the standalone version was crashing? If you’re getting an error message in the console when you run expo start, please post it here.

OK. And you’re saying that this build crashes when you run it on an Android device? If so, connect the device to your computer with a USB cable and enable USB debugging. Then run adb devices to make sure it can “see” the phone. Then run adb logcat -d >logcat.txt and open logcat.txt in a text editor. There will be a lot of unrelated information in the file, but try searching for “fatal” to see if there’s some information about your app.

If you have a yarn.lock file it will install dependencies with yarn.
If you have package-lock.json file it will use npm install.
You should not have both of those files. If you do, you should get rid of the one you’re not using, remove node_modules and re-install your dependencies.

Nothing about your dependencies immediately jumps out at me, except the above. That should definitely not be in your dependencies. I don’t think you should have it at all, even in your devDependencies, but I think you need to add the following to your devDependencies:

    "@babel/core": "^7.12.9"

I don’t think this is the cause of your current problems, though.

I tried installing the above dependencies in a new project and then ran expo doctor, which output the following:

% expo doctor
Some dependencies are incompatible with the installed expo package version:
 - @react-native-community/datetimepicker - expected version: 4.0.0 - actual version installed: 3.5.2
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo install [package-name ...]

This could potentially cause a crash when building with EAS Build. So you should follow the instructions:

% expo install @react-native-community/datetimepicker
Installing 1 SDK 44.0.0 compatible native module using npm.
> npm install

added 1 package, changed 1 package, and audited 1203 packages in 26s
[...]

If the above doesn’t fix it, try getting the adb logcat output and also post the error log from the console when you run expo start.

Yes it is so, the app on Expo Go on android phone is working fine is the standalone app created with EAS build for android that is crashing. Sorry probably i confused you with my bad english.

Yes i know this warning but because i use native-base version 2 i must use the 3.5.2 version of @react-native-community/datetimepicker: i think this is not the reason of the crash in android. The Classic Build on android does not crash.

Yes, I will try to do what you suggest and i will report. Thank you so much @wodin for your help.

i use only npm, so in the root of the project there is only package-lock.json.

Actually i’ve the EAS build .aab saved locally (the one that crashes). The official app on Play Store at the moment is the Classic Buld. Do you know how i can install the EAS Build on the phone ?

OK, but if you’re getting an error message when you run expo start, you should post that here.

Expo Go includes the native code from version 4.0.0 of @react-native-community/datetimepicker:

With EAS Build the app will include the version you specify. i.e. 3.5.2. So I think there’s a possibility that this will be causing you some problems. If native-base version 2 needs a lower version of the datetimepicker then it seems you should probably upgrade to a later version of native-base. But as a start, see what happens if you just upgrade to version 4 of the datetimepicker.

That’s fine. Then EAS Build will use npm to install your dependencies.

It is possible to convert a .aab file to a .apk file, but it involves downloading your credentials and running something like this:

% bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks --ks=/MyApp/keystore.jks --ks-pass=file:/MyApp/keystore.pwd --ks-key-alias=MyKeyAlias --key-pass=file:/MyApp/key.pwd
% bundletool install-apks --apks=/MyApp/my_app.apks

It’s easier to get EAS Build to build a .apk in the first place. The easiest way to do this is to build a “preview” version of the app:

eas build -p android --profile preview

Sorry we are misunderstanding: i’m NOT getting any error message when i run expo start in Expo Go the app doesn’t crash either in Expo Go on android phone and in iOS Simulator. Even the classic builds made with expo build:[ios:android] have not problems: no crashes no error messsage.

Yes i’ve tried and comes out an error message: the app doesn’t start, it doesn’t compile either in iOS Simulator and in Expo Go on Android. The solution i’ve found is to include the version 3.5.2, the warning you showed comes out but the app doesn’t have any problems even in the screen where i use that component. I should rewrite heavely the entire app because i use native-base 2 in every screen so i will upgrade to native base 3 (that is totally different from version 2) in the near future but at the moment i found this workaround. The problem raised when i’ve upgrade the project from Expo SDK 43 to Expo SDK 44.

Thank you @wodin for your suggestions i will try to do it to investigate on fatal error message, after installing the preview version of the app generated as you said.

1 Like

Thank you so much @woding for your suggestions. I finally done the connection via usb with the android phone and dump the logcat. I think the first cause of crash is something related with the WebView. When i selected something in the WebView the app crash showing the splash screen. The normal behavior: the selection in the webview → pass some information to the app and base to this information i show a new screen.

--------- beginning of crash

01-31 18:26:40.735 11686 11686 W ContentCatcher: **Failed to notify a WebView**
01-31 18:26:40.740 11686 11686 D ForceDarkHelper: updateByCheckExcludeList: pkg: it.tennisronchi.eisapp activity: it.tennisronchi.eisapp.MainActivity@462cd3
01-31 18:26:40.743 11686 11686 I ReactNative: [GESTURE HANDLER] Tearing down gesture handler registered for root view com.facebook.react.ReactRootView{f0e485 V.E...... ......ID 0,0-1080,2130 #1}
01-31 18:26:40.765  1953  2096 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=18436, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10284] ] (release request)
01-31 18:26:40.777   755   755 E lowmemorykiller: Error writing /proc/11829/oom_score_adj; errno=22
01-31 18:26:40.779  1953  2089 I chatty  : uid=1000(system) MiuiNetworkPoli expire 5 lines
01-31 18:26:40.780   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:26:40.780   755   755 E lowmemorykiller: Error writing /proc/11829/oom_score_adj; errno=22
01-31 18:26:40.780   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:26:40.781   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:26:40.785  1953  2567 I ActivityManager: Killing 11829:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0a284i203 (adj 0): isolated not needed
01-31 18:26:40.788   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:26:40.788   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:26:40.789   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:26:40.802 30041 30041 I Zygote  : Process 11829 exited cleanly (0)
01-31 18:26:40.808   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:26:40.808   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:26:40.809   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:26:42.536  1094  1094 D OemNetd : setLimit: enable, rate=0
01-31 18:26:43.684  1953  2001 D AutomaticBrightnessControllerInjector: AmbientLux=87.01877, mAmbientDarkeningThreshold=17.403753, mAmbientBrighteningThreshold=117.01877, angle_xy2horizon=3.2584987
01-31 18:26:43.684  1953  2001 D AutomaticBrightnessController: updateAutoBrightness: mScreenAutoBrightness=1301, newScreenAutoBrightness=1334
01-31 18:26:43.685  1953  1953 V SettingsProvider: Notifying for 0: content://settings/system/screen_brightness
01-31 18:26:44.142   717   717 I chatty  : uid=1000(system) light@2.0-servi expire 70 lines
01-31 18:26:45.142 11898 11898 I chatty  : uid=1000(system) /system/vendor/bin/subsystem_ramdump expire 4 lines
01-31 18:26:45.142 11898 11898 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:26:45.142 11898 11898 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:26:45.142 11898 11898 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:26:45.142 11898 11898 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:26:45.132 11898 11898 W subsystem_ramdu: type=1400 audit(0.0:813783): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-31 18:26:45.769 20259 20259 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.safetynet.service.START pkg=com.google.android.gms }
01-31 18:26:45.774 23758 23844 I BtGatt.ScanManager: msg.what = 6
01-31 18:26:45.775   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:26:45.776   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:26:45.777   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:26:46.635  1953  2159 I chatty  : uid=1000(system) PhotonicModulat expire 10 lines
01-31 18:26:47.641   717   717 D qdlights: entry write_int path = /sys/class/leds/lcd-backlight/brightness, value=1333
01-31 18:26:47.641   717   717 E libc    : Access denied finding property "persist.sys.display_debug"
01-31 18:26:47.632   717   717 W light@2.0-servi: type=1400 audit(0.0:813806): avc: denied { read } for name="u:object_r:system_prop:s0" dev="tmpfs" ino=16850 scontext=u:r:hal_light_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0
01-31 18:26:47.759   717   717 D qdlights: entry write_int path = /sys/class/leds/lcd-backlight/brightness, value=1334
01-31 18:26:47.759   717   717 E libc    : Access denied finding property "persist.sys.display_debug"
01-31 18:26:48.542 11394 11394 I chatty  : uid=1000(system) com.android.thememanager expire 10 lines
01-31 18:26:50.149 11900 11900 I chatty  : uid=1000(system) /system/vendor/bin/subsystem_ramdump expire 4 lines
01-31 18:26:50.149 11900 11900 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:26:50.149 11900 11900 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:26:50.149 11900 11900 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:26:50.149 11900 11900 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:26:50.142 11900 11900 W subsystem_ramdu: type=1400 audit(0.0:813810): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-31 18:26:53.198   588   588 I chatty  : uid=1000(system) hwservicemanage expire 15 lines
01-31 18:26:53.345  1953  3485 I chatty  : uid=1000(system) Binder:1953_10 expire 3 lines
01-31 18:26:53.360  1953  3485 D CompatibilityInfo: mCompatibilityFlags - 0
01-31 18:26:53.360  1953  3485 D CompatibilityInfo: applicationDensity - 440
01-31 18:26:53.360  1953  3485 D CompatibilityInfo: applicationScale - 1.0
01-31 18:26:53.468  1094 11902 E ResolverController: No valid NAT64 prefix (115, <unspecified>/0)
01-31 18:26:53.492 20175  8144 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-31 18:26:53.512 20175  8144 W Conscrypt: 	at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):2)
01-31 18:26:53.513 20175  8144 W Conscrypt: 	at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):0)
01-31 18:26:53.549 20175  8144 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-31 18:26:53.550 20175  8144 W Conscrypt: 	at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):2)
01-31 18:26:53.550 20175  8144 W Conscrypt: 	at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):0)
01-31 18:26:53.688  1953  4379 D CompatibilityInfo: mCompatibilityFlags - 0
01-31 18:26:53.688  1953  4379 D CompatibilityInfo: applicationDensity - 440
01-31 18:26:53.688  1953  4379 D CompatibilityInfo: applicationScale - 1.0
01-31 18:26:53.734  1094 11905 E ResolverController: No valid NAT64 prefix (115, <unspecified>/0)
01-31 18:26:53.766 20175  8196 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-31 18:26:53.766 20175  8196 W Conscrypt: 	at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):2)
01-31 18:26:53.766 20175  8196 W Conscrypt: 	at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):0)
01-31 18:26:53.821 20175  8196 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-31 18:26:53.821 20175  8196 W Conscrypt: 	at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):2)
01-31 18:26:53.822 20175  8196 W Conscrypt: 	at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@214815028@21.48.15 (100400-414534850):0)
01-31 18:26:55.153 11907 11907 I chatty  : uid=1000(system) /system/vendor/bin/subsystem_ramdump expire 4 lines
01-31 18:26:55.153 11907 11907 I subsystem_ramdump: [arg3]: (1/0) 1: Enable qdss ramdump / 0: Disable qdss ramdump
01-31 18:26:55.153 11907 11907 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:26:55.153 11907 11907 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:26:55.153 11907 11907 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:26:55.153 11907 11907 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:26:56.144  3169  3169 I CNSS    : cnss_open_log_file: directory /data/vendor/wlan_logs/ created
01-31 18:26:58.700   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:26:58.832 11394 11394 I chatty  : uid=1000(system) com.android.thememanager expire 2 lines
01-31 18:26:59.205  2463  2463 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
01-31 18:26:59.206 29372 29372 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED
01-31 18:26:59.207  5146  5588 D PowerCheckerService: onBatteryChanged, mBatteryLevel = 94, status = 2, level = 94, plug = 2, scale = 100
01-31 18:26:59.208 29829 29829 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
01-31 18:27:00.003 29829 29829 D KeyguardUpdateMonitor: handleTimeUpdate
01-31 18:27:00.161 11909 11909 I chatty  : uid=1000(system) /system/vendor/bin/subsystem_ramdump expire 4 lines
01-31 18:27:00.161 11909 11909 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:27:00.161 11909 11909 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:27:00.161 11909 11909 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:27:00.161 11909 11909 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:27:00.152 11909 11909 W subsystem_ramdu: type=1400 audit(0.0:813822): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-31 18:27:00.622  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 99173, uidState = 11
01-31 18:27:00.624   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:00.624   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:00.625   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:00.626   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:00.627   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:00.627   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:00.882 11394 11394 W TcmReceiver: type=1400 audit(0.0:813823): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:01.368   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:01.370  1953  3485 D CompatibilityInfo: mCompatibilityFlags - 0
01-31 18:27:01.370  1953  3485 D CompatibilityInfo: applicationDensity - 440
01-31 18:27:01.370  1953  3485 D CompatibilityInfo: applicationScale - 1.0
01-31 18:27:01.371   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:01.377   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:01.922 11394 11394 W TcmReceiver: type=1400 audit(0.0:813824): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:01.982  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 99202, uidState = 9
01-31 18:27:01.982  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10102, uidState = 9
01-31 18:27:01.983   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:01.984   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:01.984   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:01.985   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:01.985   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:01.985   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:01.986   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:01.986   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:01.986   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:01.988   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:01.988   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:01.988   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:02.120  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10155, uidState = 20
01-31 18:27:02.122   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:02.123   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:02.123   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:02.125   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:02.125   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:02.125   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:02.932 11394 11394 W TcmReceiver: type=1400 audit(0.0:813825): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:03.029 29372 29372 W BatteryHistoryManager: checkReset
01-31 18:27:03.029 29372 29467 W BatteryHistoryManager: check reset inner : 2022.1.31  18:27
01-31 18:27:03.055  1953  1998 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
01-31 18:27:03.084  1094  1094 I netd    : tetherGetStats() <1.36ms>
01-31 18:27:03.107 29372 29467 I PowerRankHelperHolder: refreshStats begin
01-31 18:27:03.132  1094  1094 I netd    : tetherGetStats() <1.30ms>
01-31 18:27:03.189  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10030, uidState = 6
01-31 18:27:03.210 29372 29467 I PowerRankHelperHolder: refreshStats end
01-31 18:27:03.393  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10014, uidState = 11
01-31 18:27:03.393  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 9801, uidState = 20
01-31 18:27:03.394   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:03.395   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:03.395   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:03.396   752 28213 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:03.396   752 28213 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:03.397   752 28213 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:03.779 11524 11566 I GH.ConnLoggerV2: Stopped session ac53ee70-7bbe-4e9e-8c3c-c663bdd4eb92
01-31 18:27:03.793   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:03.806   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:03.972 11394 11394 W TcmReceiver: type=1400 audit(0.0:813826): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:04.992 11394 11394 W TcmReceiver: type=1400 audit(0.0:813827): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:05.168 11911 11911 I subsystem_ramdump: Usage:./system/bin/subsystem_ramdump [arg1] [arg2] [arg3]
01-31 18:27:05.168 11911 11911 I subsystem_ramdump: [arg1]: (1/2) Ramdump location: 1: eMMC: /data/vendor/ramdump or 2: SD card: /sdcard/ramdump
01-31 18:27:05.168 11911 11911 I subsystem_ramdump: [arg2]: (1/0) 1: Enable RPM log / 0: Disable RPM log
01-31 18:27:05.169 11911 11911 I subsystem_ramdump: [arg3]: (1/0) 1: Enable qdss ramdump / 0: Disable qdss ramdump
01-31 18:27:05.169 11911 11911 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:27:05.162 11911 11911 W subsystem_ramdu: type=1400 audit(0.0:813828): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-31 18:27:05.169 11911 11911 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:27:05.169 11911 11911 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:27:05.169 11911 11911 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:27:06.032 11394 11394 W TcmReceiver: type=1400 audit(0.0:813829): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:06.248 15133 15145 W hbox:interacto: Reducing the number of considered missed Gc histogram windows from 819 to 100
01-31 18:27:07.072 11394 11394 W TcmReceiver: type=1400 audit(0.0:813830): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:07.539  1094  1094 D OemNetd : setLimit: disable, rate=0
01-31 18:27:08.112 11394 11394 W TcmReceiver: type=1400 audit(0.0:813831): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:08.397   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:08.401   588   588 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.servicetracker@1.0::IServicetracker/default in either framework or device manifest.
01-31 18:27:08.517  1953  3485 D WificondControl: Scan result ready event
01-31 18:27:08.517  1205  2528 I LOWI-8.6.0.67: [LOWI-Scan] lowi_close_record:Scan done in 5096684584ms, 2 APs in scan results
01-31 18:27:08.525  1953  2149 E AppScanObserverService: Result available, null observers for user: 0
01-31 18:27:09.132 11394 11394 W TcmReceiver: type=1400 audit(0.0:813832): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:03.118  1953  1998 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
01-31 18:27:09.731 29829 29829 I MiuiChargeManager: notifyBatteryStatusChanged:  status: 2 isPlugged: 2 level: 95 wireState: 11 chargeSpeed: 0 mWiredChargeType: 0 mWirelessChargeType: 0 chargeDeviceType: -1
01-31 18:27:09.732 29829 29829 D KeyguardUpdateMonitor: handleBatteryUpdate
01-31 18:27:09.732 29829 29829 I MiuiChargeController: checkBatteryStatus: chargeType 11 status 2 plugged 2 isRapidCharge false isSuperCharge false isCarMode false mChargeDeviceType -1 mChargeDeviceForAnalytic -1
01-31 18:27:09.732 29829 29829 I KeyguardIndication: updateIndication: mVisible false mDozing false mTransientIndication null mPowerPluggedIn true mUpArrowIndication null
01-31 18:27:09.733 29372 29372 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED
01-31 18:27:09.734  5146  5146 D PowerChecker_Service: battery status = 2 plug = 2 level = 95
01-31 18:27:09.734 29372   554 W BatteryHistoryLoadMgr: getHistoryInfo begin
01-31 18:27:09.734  2463  2463 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
01-31 18:27:09.734  5146  5588 D PowerCheckerService: onBatteryChanged, mBatteryLevel = 94, status = 2, level = 95, plug = 2, scale = 100
01-31 18:27:09.742  1953  1993 D CompatibilityInfo: mCompatibilityFlags - 0
01-31 18:27:09.742  1953  1993 D CompatibilityInfo: applicationDensity - 440
01-31 18:27:09.742  1953  1993 D CompatibilityInfo: applicationScale - 1.0
01-31 18:27:09.743  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10031, uidState = 12
01-31 18:27:09.745 29829 29829 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
01-31 18:27:09.746  1953  2089 I MiuiNetworkPolicy: updateUidState uid = 10031, uidState = 20
01-31 18:27:09.748   752  5699 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:09.749   752  5699 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:09.750   752  5699 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:09.752   752  5699 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
01-31 18:27:09.753   752  5699 V AudioFlinger: AudioFlinger::setRecordSilenced(uid:10064, silenced:0)
01-31 18:27:09.753   752  5699 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10064
01-31 18:27:09.754  1953  1998 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
01-31 18:27:09.781  1094  1094 I netd    : tetherGetStats() <1.34ms>
01-31 18:27:09.803 29372   554 W BatteryHistoryLoadMgr: get firstHistoryInfo time: 5028625906
01-31 18:27:09.803 29372   554 D BatteryHistoryLoadMgr: getHistoryInfo end
01-31 18:27:09.803 29372   554 I BatteryInfoReceiver: update charge detail 15
01-31 18:27:09.810 29372   554 I PowerUtils: Device name:lavender
01-31 18:27:09.810 29372   554 W PowerUtils: should not use this capacity value 4000
01-31 18:27:09.812 29372   554 I BatteryChargeTimeHelper: Don't use maxChargeTime in CV level
01-31 18:27:09.813 29372   554 I PowerUtils: Device name:lavender
01-31 18:27:09.813 29372   554 W PowerUtils: should not use this capacity value 4000
01-31 18:27:09.814 29372   554 I PowerUtils: Device name:lavender
01-31 18:27:09.815 29372   554 W PowerUtils: should not use this capacity value 4000
01-31 18:27:09.816 29372   554 I BatteryChargeTimeHelper: Only use maxChargeTime in CV level
01-31 18:27:09.816 29372   554 I BatteryChargeTimeHelper: Mixed(default) charge time 0.05 24m22s117ms
01-31 18:27:10.152 11394 11394 W TcmReceiver: type=1400 audit(0.0:813833): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:10.173 11912 11912 I subsystem_ramdump: Usage:./system/bin/subsystem_ramdump [arg1] [arg2] [arg3]
01-31 18:27:10.173 11912 11912 I subsystem_ramdump: [arg1]: (1/2) Ramdump location: 1: eMMC: /data/vendor/ramdump or 2: SD card: /sdcard/ramdump
01-31 18:27:10.173 11912 11912 I subsystem_ramdump: [arg2]: (1/0) 1: Enable RPM log / 0: Disable RPM log
01-31 18:27:10.173 11912 11912 I subsystem_ramdump: [arg3]: (1/0) 1: Enable qdss ramdump / 0: Disable qdss ramdump
01-31 18:27:10.173 11912 11912 I subsystem_ramdump:  Using default ramdump location 1: eMMC: /data/vendor/ramdump
01-31 18:27:10.173 11912 11912 I subsystem_ramdump:  Using default 0: Disable RPM log
01-31 18:27:10.173 11912 11912 I subsystem_ramdump:  Using default 0: Disable qdss ramdump
01-31 18:27:10.162 11912 11912 W subsystem_ramdu: type=1400 audit(0.0:813834): avc: denied { read } for name="enable_ramdumps" dev="sysfs" ino=25551 scontext=u:r:vendor_subsystem_ramdump:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
01-31 18:27:10.173 11912 11912 E subsystem_ramdump: Unable to open /sys/module/subsystem_restart/parameters/enable_ramdumps
01-31 18:27:11.182 11394 11394 W TcmReceiver: type=1400 audit(0.0:813835): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:12.202 11394 11394 W TcmReceiver: type=1400 audit(0.0:813836): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:12.543  1094  1094 D OemNetd : setLimit: enable, rate=0
01-31 18:27:13.202 11394 11394 W TcmReceiver: type=1400 audit(0.0:813837): avc: denied { write } for name="tcm" dev="tmpfs" ino=25023 scontext=u:r:theme:s0 tcontext=u:object_r:dpmtcm_socket:s0 tclass=sock_file permissive=0
01-31 18:27:13.837  5146  5588 D PowerCheckerService: onBatteryChanged, mBatteryLevel = 95, status = 2, level = 95, plug = 2, scale = 100
01-31 18:27:13.839 29829 29829 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
01-31 18:27:13.840  2463  2463 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
01-31 18:27:13.840 29372 29372 I BatteryInfoReceiver: ACTION_BATTERY_CHANGED

the name of the app is it.tennisronchi.eisapp. I don’t know why the webview on classic build doesn’t have any problem with eas build crash when i selected something inside the webview… The second crash happen for a component RNCAndroidDropdownPicker:

01-31 19:14:06.713 14905 14942 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
01-31 19:14:06.713 14905 14942 E AndroidRuntime: Process: it.tennisronchi.eisapp, PID: 14905
01-31 19:14:06.713 14905 14942 E AndroidRuntime: com.facebook.react.common.JavascriptException: Invariant Violation: requireNativeComponent: "RNCAndroidDropdownPicker" was not found in the UIManager.
01-31 19:14:06.713 14905 14942 E AndroidRuntime: 
01-31 19:14:06.713 14905 14942 E AndroidRuntime: This error is located at:
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in RNCAndroidDropdownPicker
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in Unknown
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in f
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in l
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in Styled(l)
01-31 19:14:06.713 14905 14942 E AndroidRuntime:     in RCTView

After some more investigations i’ve found the problem. I must include in packages.json this not direct dependency (it is native-base direct dependency):

"@react-native-picker/picker": "1.16.8",

both cashes were caused by the fact the this component was not found in UIManager on Android.
Anyway thank you very much @wodin for your suggestions.

1 Like

I am glad you figured it out.