This might be related to this or this, which were solutions to common problems in the rev. 22 update.\
 UPDATE: 
It seem this code is used to get IMEI.
   String deviceId=Util.getDeviceId(getApplicationContext());
Use it instead:
 TelephonyManager telephonyManager = (TelephonyManager) context
                .getSystemService(Context.TELEPHONY_SERVICE);
        String deviceId = telephonyManager.getDeviceId();
I think this problem is this page you refer is not show all code, may be there still remain one class Util: 
public static class Util {
        public static String getDeviceId(Context context) {
            TelephonyManager telephonyManager = (TelephonyManager) context
                    .getSystemService(Context.TELEPHONY_SERVICE);
            return telephonyManager.getDeviceId();
        }
    }
Then it explain why they use : Util.getDeviceId(getApplicationContext()) normally. Just copy this code to your class InstalledAppData. The compiler will clean.