2

On my nougat device, I have downloaded an app from the playstore, which is running great. I then extracted the apk from the installed app, and uninstalled it and again successfully, with the package installer. But the second time on app launch, it crashed. I have analysed both installation with apk analyzer. First one shows com.android.vending as installer and the application source as "Google Play". Sideload installation shows com.google.android.packageinstaller and source Unkown.

My first thought is that developer doesn't want users to install the app from unknown sources to avoid MOD app or pirate release, etc., and is checking programmatically for this parameter. I have decompiled to Java but didn't find any clue where such a condition is begin checked and exception generated.

There is a permission BIND_GET_INSTALL_REFERRER_SERVICE, maybe its causing a crash. I know how to decompile and do some smali editing and already changed verifyinstallation method to true in Smali but the app still crashes.

3
  • 2
    If it crashes, then the first thing you should look at (and include in any related questions) is the exception/stack trace or any other related error messages from logcat.
    – JesusFreke
    May 10, 2020 at 22:03
  • You need to post the crash/tombstome/relevant part of the logcat to show what the crash is on. Otherwise no one can help you.
    – diff
    Jun 18, 2020 at 21:48
  • Im having a similar issue im going to try and use luckypatcher to see if it's an issue with permissions or Google play itself alot of guesswork with MT and luckypatcher should let me figure out what's happening
    – ddos
    Dec 20, 2023 at 22:13

1 Answer 1

1

I don't think it is related to BIND_GET_INSTALL_REFERRER_SERVICE. That is related to Firebase Analytics, i.e., referrer for analytics purposes.

However, it may be related to Google Play app licensing? See https://developer.android.com/google/play/licensing/overview for more details.

1
  • Thanks auspicious99. Its not related to licensing because its not paid app. Your link article saying "Google Play considers a user to be licensed if the user is a recorded purchaser of the application". its free with inapp purchase and anyone can install and use it. Installing same apk after successfull installatiin fail to run as expected. I think app has some installation source checking routine and then generating exception. App is play.google.com/store/apps/details?id=com.inscode.autoclicker May 10, 2020 at 9:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.