New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Get Package/Action List #2250

Open
wofdy opened this Issue Sep 26, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@wofdy

wofdy commented Sep 26, 2018

gapid version: v1.1.0
host: Windows 7 x64
phong Android version: 6.0.1

in 'Select Activity" window, only 31 of 227 packages are listed. I can not find my App in the list.

I make a App which test function PackageManager::getInstalledPackages()
when I call
List<PackageInfo> packages = getInstalledPackages(0);
packages.size() is 227

but
List<PackageInfo> packages = getInstalledPackages(PackageManager.GET_ACTIVITIES);
and
List<PackageInfo> packages = getInstalledPackages(PackageManager.GET_ACTIVITIES | PackageManager.GET_SIGNATURES);
packages.size() is 31
and log said:
E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 4)
W/ParceledListSlice: Failure retrieving array: only received 31 of 277
android.os.DeadObjectException: Transaction failed on small parcel: remote process probably died
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.content.pm.ParceledListSlice.(ParceledListSlice.Java:97)
at android.content.pm.ParceledListSlice.(ParceledListSlice.Java:41)
at android.content.pm.ParceledListSlice$2.createFromParcel(ParceledListSlice.java:200)
at android.content.pm.ParceledListSlice$2.createFromParcel(ParceledListSlice.java:198)
at android.content.pm.IPackageManager$Stub$Proxy.getInstalledPackages(IPackageManager.java:3208)
at android.app.ApplicationPackageManager.getInstalledPackages(ApplicationPackageManager.java:589)
at android.app.ApplicationPackageManager.getInstalledPackages(ApplicationPackageManager.java:582)

@AWoloszyn AWoloszyn added the triaged label Oct 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment