Android Question Can't install on other device

Quillok

Member
Licensed User
Longtime User
hey, i got a strange problem. (to me strange, probably the solution is totally simple)

I can compile my app normally via USB connection and install it on my phone.
However, if I connect another mobile/tablet, this will not work. Both have the developer option enabled and USB debugging.

I get the following error message when I try to compile the app:


In my manifest I use this line:

<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="28"/>

Any idea what the problem is? I would be grateful for any help.

Thanks in advance!
 

barx

Well-Known Member
Licensed User
Longtime User
Do the 'other' devices have a new enough version of android. You have set the Min to 28. So devices need at least version 28. If you don't NEED ver 28 for the app to operate then target the desired, but set min lower.
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
p.s. sdk version 28 is Android Pie. So anything running an SDK level below this will reject the install.
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Have you pressed Ctrl-P (clean project) before compile with the new phone?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…