Android Question App Installation takes too long and the debugger stops

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.

I have a problem. If I try to debug the app on a phone which is 3-5 years old (Android 10 Alcatel) it takes too long to install this app and the debugger stops. If I try to do the same on a phone with Android 10 LGQ-720 AM (which is more faster) - everything Ok because the same app installation takes a few seconds.

If I run the same app in Release mode on Alcatel - it works.

How to fix it?

Thanks.
 

Pendrush

Well-Known Member
Licensed User
Longtime User
You should debug your app on the phone/device that have same or higher Android version as yours app targetSdkVersion.
Soon that will be targetSdkVersion="31" (Android 12).
Also faster phone (faster CPU, faster GPU, faster local storage for writes and install) is better for sure.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
You should debug your app on the phone/device that have same Android version as yours app targetSdkVersion.
Soon that will be targetSdkVersion="31" (Android 12).
Also faster phone (faster CPU, faster GPU, faster local storage for writes and install) is better for sure.
Both phones have Android 10. The app itself works fine on both phones.

The Alcatel phone is a bit slower but there isnothing I can do about it. My question is - how to make the debugger to wait a little bit longer for the app to install on a slower phone?
 
Upvote 0
Top