question

huynguyen avatar image
huynguyen asked Raymond Lee Deactivated answered

App failed to install on Flex device from the Production App Market

We made an update to fix a bug of our existing application on Clover App market. The reviewer told us that our new .apk file does not support Flex device even though we did not make a changes on device configuration, device supports, etc.
We asked for the log and here is what they provided. We could not find any useful information about the issue.

11-27 09:57:08.784 263-727/? D/audio_hw_primary: start_output_stream: enter: stream(0xb896f3e8)usecase(1: low-latency-playback) devices(0x2) select_devices: out_snd_device(2: speaker) in_snd_device(0: )11-27 09:57:08.784 263-727/? D/hardware_info: hw_info_append_hw_type : device_name = speaker-lite11-27 09:57:08.784 263-727/? D/ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path = 0 ACDB -> send_adm_topology ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID ACDB -> send_asm_topology ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID ACDB -> send_audtable ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE ACDB -> AUDIO_SET_AUDPROC_CAL ACDB -> send_audvoltable ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE ACDB -> AUDIO_SET_AUDPROC_VOL_CAL ACDB -> send_afe_cal ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE ACDB -> AUDIO_SET_AFE_CAL11-27 09:57:08.793 263-727/? D/audio_hw_primary: select_devices: done11-27 09:57:08.823 1823-26031/? I/AppsIntentService: onHandleIntent(AppsIntentService.java:61): getting token from m; token = 7da3e9a1-52aa-cc82-f0ee-1a0975762c4311-27 09:57:08.825 1823-26031/? I/AppsIntentService: onHandleIntent(AppsIntentService.java:70): requesting apps sync11-27 09:57:08.914 1823-26044/? I/AppsSyncAdapter: onPerformSync(AppsSyncAdapter.java:82): onPerformSync of AppsSyncAdapter called at Tue Nov 27 09:57:08 PST 201811-27 09:57:08.930 1823-26044/? I/EngineMerchantImpl: getLocalProperties(EngineMerchantImpl.java:1068): properties: Bundle[{ownerAccountId=BPHHR49GCMR6J, localDevicePropertyTerminalPrefix=2, termsUrl=https://www.clover.com/terms.raw.html, account=Account {name=reviewerName's Savory Salads | reviewerName.lastName@clover.com, type=com.clover.account}, dashboardUrl=https://www.clover.com/home, target=prod_us, supportUrl=http://help.clover.com, token=7da3e9a1-52aa-cc82-f0ee-1a0975762c43, cardSwiper=com.clover.register.services.CardSwipePlugins.IDTech.SecureMagII, connectionState=CONNECTED, localDevicePropertyUSBPrintWait=10, localDevicePropertyTransactionNumber=4, accountName=reviewerName's Savory Salads | reviewerName.lastName@clover.com, connectionStatus=CONNECTED, deviceId=cf089488-8c62-4074-897d-321da485cd3b, isSyncing=true, waitingOnTaxSync=false}], token: 7da3e9a1-52aa-cc82-f0ee-1a0975762c4311-27 09:57:08.931 1823-26044/? I/V1MerchantBinder: onMerchantLocalPropertiesChanged(V1MerchantBinder.java:183): local properties changed11-27 09:57:08.931 1823-26044/? I/CloverBinder: onMerchantLocalPropertiesChanged(CloverBinder.java:259): local properties changed11-27 09:57:08.932 1823-26044/? I/CloverBinder: onMerchantLocalPropertiesChanged(CloverBinder.java:259): local properties changed11-27 09:57:08.932 1823-2764/? I/MerchantService: doNotifyLocalPropertiesChanged(MerchantService.java:422): callbacks: 1, properties: Bundle[{isSyncing=true}]11-27 09:57:08.933 1823-26044/? I/AppsSyncAdapter: onPerformSync(AppsSyncAdapter.java:97): refreshing apps, merchant id = WXN111126ZK9111-27 09:57:08.933 2342-26045/? I/AppsSyncAdapter: onPerformSync(AppsSyncAdapter.java:41): onPerformSync of AppsSyncAdapter called at Tue Nov 27 09:57:08 PST 201811-27 09:57:08.934 1823-26044/? I/JsonHttpClient: execute(JsonHttpClient.java:278): Starting GET to url: https://d.clover.com/v2/internal/android_apps?context=engine-check11-27 09:57:08.944 2342-26045/? D/clover: SNI enabled11-27 09:57:09.130 266-266/? D/QSEECOMAPI:: QSEECom_get_handle sb_length = 0x2000 App is not loaded in QSEE11-27 09:57:09.130 266-266/? E/QSEECOMAPI:: Error::Cannot open the file /firmware/image/clovertz.mdt Error::Loading image failed with ret = -111-27 09:57:09.130 266-266/? D/QSEECOMAPI:: QSEECom_get_handle sb_length = 0x2000 App is already loaded QSEE and app id = 311-27 09:57:09.182 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:304): beginning broadcast to 3 listeners ... changed properties: [isSyncing] notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:09.184 25591-25591/? I/InstalledAppActivity: onCloverChanged(CommonAppCompatActivity.java:788): @230f555a clover changed: com.clover.common2.clover.Clover@e48897911-27 09:57:09.186 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:09.187 25591-25591/? I/AppDetails: onCloverChanged(CommonAppCompatActivity.java:788): @1ba2cd87 clover changed: com.clover.common2.clover.Clover@3b5b96be11-27 09:57:09.187 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:09.238 1823-26044/? I/JsonHttpClient: execute(JsonHttpClient.java:288): GET to url: https://d.clover.com/v2/internal/android_apps?context=engine-check took: 302 ms11-27 09:57:09.377 266-266/? D/libclovertz:: ---- Response: SIGN DATA -----11-27 09:57:09.377 266-266/? D/QSEECOMAPI:: QSEECom_dealloc_memory QSEECom_shutdown_app, app_id = 311-27 09:57:09.437 2342-26045/? I/DeviceHttpClient: UpdaterApplication >> GET /v2/internal/android_apps?context=push HTTP/1.111-27 09:57:09.467 1823-26044/? W/CursorWindow: Window is full: requested allocation 20 bytes, free space 0 bytes, window size 2097152 bytes11-27 09:57:09.611 2342-26045/? I/DeviceHttpClient: UpdaterApplication << HTTP/1.1 200 OK UpdaterApplication GET https://d.clover.com/v2/internal/android_apps?context=push HTTP/1.1 took: 669ms11-27 09:57:09.918 2342-2342/? I/AppUpdater: onReceive called action=com.clover.intent.action.GET_APPS_DONE, data=null, downloadId=0, replacing=false11-27 09:57:09.924 2342-26045/? I/UpdaterApplication: notifyAppsUpdated(AppsSyncAdapter.java:184): start app updater service11-27 09:57:09.927 2342-2342/? I/AppUpdater: Service onCreate11-27 09:57:09.934 2342-26068/? I/AppUpdater: Service onStartCommand: action=com.clover.intent.action.APP_UPDATE_CHECK, data=null, downloadId=0, replacing=false resetInstallSet: old installSet.size=1 updates confirmed11-27 09:57:09.938 2342-26069/? I/AppUpdater: UpdateThread start11-27 09:57:09.940 2342-26069/? I/AppUpdater: number of rows from apps-db: 7811-27 09:57:09.970 2342-26069/? I/AppUpdater: number of apps to update: 111-27 09:57:09.976 2342-26069/? I/AppUpdater: number of rows from downloads-db: 111-27 09:57:09.977 2342-26069/? I/AppUpdater: updated download (246) com.ourapp.us.clover, status: INSTALL_FAILED keep current download (246) com.ourapp.us.clover, status: INSTALL_FAILED, new app info com.ourapp.us.clover11-27 09:57:09.980 2342-26069/? I/AppUpdater: UpdateThread done null11-27 09:57:09.981 2342-26070/? I/AppUpdater: InstallThread start InstallThread: new install, get downloads InstallThread: installSet.size=1 InstallThread: isDone=true InstallThread done null11-27 09:57:10.037 1823-26044/? W/CursorWindow: Window is full: requested allocation 153807 bytes, free space 85250 bytes, window size 2097152 bytes11-27 09:57:10.106 1823-1847/? I/art: Background partial concurrent mark sweep GC freed 577892(25MB) AllocSpace objects, 410(15MB) LOS objects, 39% free, 16MB/27MB, paused 1.404ms total 173.710ms11-27 09:57:10.677 1823-1847/? I/art: Background partial concurrent mark sweep GC freed 44022(2MB) AllocSpace objects, 86(1840KB) LOS objects, 37% free, 26MB/42MB, paused 1.475ms total 126.789ms11-27 09:57:12.558 263-886/? D/audio_hw_primary: out_standby: enter: stream (0xb896f3e8) usecase(1: low-latency-playback)11-27 09:57:12.607 263-886/? D/hardware_info: hw_info_append_hw_type : device_name = speaker-lite11-27 09:57:13.206 690-891/? E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=70.93 rxSuccessRate=452.07 targetRoamBSSID=any RSSI=-5211-27 09:57:15.058 2342-2342/? I/AppUpdater: onReceive called action=com.clover.intent.action.GET_APPS_DONE, data=null, downloadId=0, replacing=false11-27 09:57:15.060 2342-26068/? I/AppUpdater: Service onStartCommand: action=com.clover.intent.action.APP_UPDATE_CHECK, data=null, downloadId=0, replacing=false11-27 09:57:15.060 1823-26044/? I/EngineApplication: notifyAppsUpdated(AppsSyncAdapter.java:236): start app updater component ComponentInfo{com.clover.appupdater/com.clover.appupdater.UpdaterService}11-27 09:57:15.061 2342-26068/? I/AppUpdater: resetInstallSet: old installSet.size=111-27 09:57:15.062 2342-26088/? I/AppUpdater: UpdateThread start11-27 09:57:15.064 1823-26044/? I/EngineMerchantImpl: getLocalProperties(EngineMerchantImpl.java:1068): properties: Bundle[{ownerAccountId=BPHHR49GCMR6J, localDevicePropertyTerminalPrefix=2, termsUrl=https://www.clover.com/terms.raw.html, account=Account {name=reviewerName's Savory Salads | reviewerName.lastName@clover.com, type=com.clover.account}, dashboardUrl=https://www.clover.com/home, target=prod_us, supportUrl=http://help.clover.com, token=7da3e9a1-52aa-cc82-f0ee-1a0975762c43, cardSwiper=com.clover.register.services.CardSwipePlugins.IDTech.SecureMagII, connectionState=CONNECTED, localDevicePropertyUSBPrintWait=10, localDevicePropertyTransactionNumber=4, accountName=reviewerName's Savory Salads | reviewerName.lastName@clover.com, connectionStatus=CONNECTED, deviceId=cf089488-8c62-4074-897d-321da485cd3b, isSyncing=false, waitingOnTaxSync=false}], token: 7da3e9a1-52aa-cc82-f0ee-1a0975762c4311-27 09:57:15.064 1823-26044/? I/V1MerchantBinder: onMerchantLocalPropertiesChanged(V1MerchantBinder.java:183): local properties changed11-27 09:57:15.065 1823-26044/? I/CloverBinder: onMerchantLocalPropertiesChanged(CloverBinder.java:259): local properties changed onMerchantLocalPropertiesChanged(CloverBinder.java:259): local properties changed11-27 09:57:15.066 1823-2815/? I/MerchantService: doNotifyLocalPropertiesChanged(MerchantService.java:422): callbacks: 1, properties: Bundle[{isSyncing=false}]11-27 09:57:15.069 2342-26088/? I/AppUpdater: number of rows from apps-db: 7811-27 09:57:15.094 2342-26088/? I/AppUpdater: number of apps to update: 111-27 09:57:15.099 2342-26088/? I/AppUpdater: number of rows from downloads-db: 1 updated download (246) com.ourapp.us.clover, status: INSTALL_FAILED keep current download (246) com.ourapp.us.clover, status: INSTALL_FAILED, new app info com.ourapp.us.clover11-27 09:57:15.102 2342-26088/? I/AppUpdater: UpdateThread done null11-27 09:57:15.104 2342-26089/? I/AppUpdater: InstallThread start InstallThread: new install, get downloads InstallThread: installSet.size=1 InstallThread: isDone=true InstallThread done null11-27 09:57:15.316 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:304): beginning broadcast to 3 listeners ... changed properties: [isSyncing] notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:15.318 25591-25591/? I/InstalledAppActivity: onCloverChanged(CommonAppCompatActivity.java:788): @230f555a clover changed: com.clover.common2.clover.Clover@e48897911-27 09:57:15.318 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:15.319 25591-25591/? I/AppDetails: onCloverChanged(CommonAppCompatActivity.java:788): @1ba2cd87 clover changed: com.clover.common2.clover.Clover@3b5b96be11-27 09:57:15.319 1823-2592/? I/CloverBinder: notifyOnCloverChangedListeners(CloverBinder.java:308): broadcasting to PID: 2559111-27 09:57:18.433 24378-24378/? I/AppLogMonitorApplication: onQueueUnprocessedCount(AppLogMonitorApplication.java:52): queue unprocessed count for queue: logs, count: 0
Production
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Raymond Lee avatar image
Raymond Lee Deactivated answered
This sounds related to your other question regarding the POP_CASH_DRAWER permission, as Android will not allow you to install an app that defines the same permission as a different app. Since our clover-android-sdk and clover-android-connector-sdk both defined POP_CASH_DRAWER at one point, make sure you have them both updated to the latest version. See more details in the answer to your other question here.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community