"Package Not Found" on Calculator

"Package Not Found"  error when we launch the Calculator App on the Mobile device

Error message received from device (Package [com.google.android.calculator] does not contain default activity)

Model TC52X

Calculator  Installed-  com.google.android.calculator 7.8 (271241277)

3 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
3 years ago

In general, it is not uncommon to see  similar error message for old apps developed for earlier Android version when targeted to devices running much more recent Android version.  Sometimes, the problem can be due to the way the apps is coded and structured, but this is more common for apps developed by less experienced programmer.    As your calculator app is from Google, I believe this is unliklely to be the cause for your case... 

Could you provide more details for you case:

1.  What are the version and build number of your device firmware and of your MobiControl device agent?

2. Is your device using Android-Enterprise agent or Zebra OEM specific Android+ device agent?

3. Is the app bundled on your device, or deployed from Google/Managed-Google Play store or with a .pcg package? 

4.  Did you launch the app with  the lockdown menu (kiosk mode) enabled?

RS
Rohit Sharma
3 years ago

Thanks Raymond.

here are the responses:

1.  What are the version and build number of your device firmware and of your MobiControl device agent?

Model is TC52X. MX Version is 10.2.0.34, Agent version is 14.4.3.1074

2. Is your device using Android-Enterprise agent or Zebra OEM specific Android+ device agent?

Unsure. How may I find this out?

3. Is the app bundled on your device, or deployed from Google/Managed-Google Play store or with a .pcg package? 

Bundled with the device. Looking at the configuration, calculator is not an app mandated by the policy.

4.  Did you launch the app with  the lockdown menu (kiosk mode) enabled?

using the lockdown menu

Thanks

Rohit

RC
Raymond Chan Diamond Contributor
3 years ago

Hi Rohit,

If you don't know which Android device platform mode the device is enrolled in, just check the active MDM API entry reported in the Device-Configuration tab of the device agent or in the Device-Details tab of the device in the web-console.

I installed Google latest  com.google.android.calculator app from Managed Google Play store on a test device.  Its version is v8.2 (453324893) rather than yours, which is 7.8.  I don't know if there is any big change in the activities modules hierarchy between these two versions. Assuming they remain the same,  maybe you can try sending out the following script, which I did successfully get the v8.2 app launched properly when the kiosk mode is off:

   start activity com.google.android.calculator/com.android.calculator2.Calculator
 
Please note that the long package-activity argument is case sensitive.   
 
 
If it works in launching your v7.2 app ,  you should be able to launch the app successfully from your kiosk by using the following in your kiosk item
 
   launch://com.google.android.calculator/com.android.calculator2.Calculator
 
 
AF
Allen Foster
2 years ago

Hey Raymond,  This is a little bit older thread but I have a question here.  I have two TC52 devices both with Android 11 installed. Both were upgraded from either Android 9 or 8.1 to 11.  One has been wiped and re-enrolled after the upgrade.  The other has just been in SOTI.  The ones that get wiped re-enrolled show the bundleID as com.google.android.calculator.  But the one that is just upgraded without a wipe shows as com.android.calculator2.  is there a way to have a single lockscreen item that points to both bundle-ids?  I tried as you suggested here and the newly enrolled works but the one that still has com.android.calculator2 does not.  I don't want to have two different lock screens.  My other option is to try to uninstall and then re-install to see what we get.

N
Nico
2 years ago

I have the exact same problem, Also tried uninstalling com.android.calculator2 via adb and installing com.google.android.calculator manually via apk but somehow it changes automatically back to com.android.calculator2

T
THMOD@SOTI
3 years ago

Hi Rohit,

 

Thank you for posting on SOTI Central and thanks Raymond for responding to the post.

 

Would you please confirm if it is the correct Bundle ID in your MobiControl Web Console?

 

1. Navigate the device details and click on "Applications" tab.

2. Type Calculator and confirm.

 

 

Please let me know if this helps.

 

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

RS
Rohit Sharma
3 years ago

Here is the information for one of the devices with Calculator issues 

T
THMOD@SOTI
3 years ago

Hi Rohit,

 

What is the MobiControl version you are using?

 

Please go to administrator mode of the device and test if the app is running fine.

 

In lockdown, you will need to add this app in the Home Screen Items.

 

For the older version of MobiControl, you will need to type the entire command:

 

Launch://com.google.android.calculator

 

Please also check if there is any Application Run Control applied to the device. Please remove it if there is any related to this app.

 

Hope this helps.

 

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |