Android Question Install and debug problems

santiago

Member
Licensed User
Longtime User
I develop an app with B4A.
It worked OK in all devices .But I bough a new device and I have this response when I try to install or debug

INSTALL_FAILED_DUPLICATE_PACKAGE: app not in white_list

Its not possible the device had that name app installed. And I tried with others with the same message.

Android version is 13

My manifiest include
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>

I am missing something or the device has limits to install software or some new from Google?
How can I fix the problem? I must update SDK ?

Thanks in advance
 

Cableguy

Expert
Licensed User
Longtime User
Are you installing using B4ABridge, or from GooglePlay?
The app name may be different but you may have an app with the same package name.
Also, some device don't allow side loading as default.
 
Upvote 0

santiago

Member
Licensed User
Longtime User
Are you installing using B4ABridge, or from GooglePlay?
The app name may be different but you may have an app with the same package name.
Also, some device don't allow side loading as default.
Thanks for your answer

I am tryinng to install using these ways :
a)Debug from B4A. It connects with device but breaks debugging when try to install
b) Deploy from B4A, when it tries to install message is showed
c) I access the device, copy the file and try to install . The same
d)Download the file from email , its download OK and when try to install the same message

The curious thing , I bought the same device 2 months ago and it worked but it seem the new one have a new compilation. Same Android version.

Maybe I must actualice my SDK version ? Because I try to configure all options I found with not success
 
Upvote 0

santiago

Member
Licensed User
Longtime User
What brand and model is your new device?
I am using a device from China.Its an Android 13 with printer(bluetooht)
I bought the same dodel 2 months ago and I was able to install without problem.
I think they changed the compilation and made changes????
 
Upvote 0

santiago

Member
Licensed User
Longtime User
Are you installing using B4ABridge, or from GooglePlay?
The app name may be different but you may have an app with the same package name.
Also, some device don't allow side loading as default.
Its not possible the device has the same name app installed. It has my own name app and the device its just new.

The only question its , why the black list? I am not using Google Play
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Search on how to activate dev mode in Android, the procedure is the same in any version..
Then you will have new dev options menu, search for "install from unknown sources" and allow it.

That should fix your problem.
 
Upvote 0

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
bear in mind it is not the name of the app but the package name that is important for duplisates. Check the "build configuration" and the package name there. Perhaps change and try to compile and install again.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
The app name may be different but you may have an app with the same package name

bear in mind it is not the name of the app but the package name that is important for duplisates
As in appname : mycrazyapp
Package name : me.developer.crazyapps

Even if you change the app name hundreds of times, if the base version is lower than and the Package name is the same as some already installed app, it won't allow to install
 
Upvote 0

santiago

Member
Licensed User
Longtime User
Thaks.
I changed the package name. Was the first thing I did.
After that I changed the App name and changed the package name again. Not success
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Then you must have dev options off, try to activate them.
Whenever I get a new device, it's one of the first things I do.
 
Upvote 0

santiago

Member
Licensed User
Longtime User
I activated development mode. In setup and inside devolopment options I activated debbug via USB and install via USB with not success.
Monday I will contact with provider because its the first time I has this problem
 
Upvote 0

teddybear

Well-Known Member
Licensed User
I am using a device from China.Its an Android 13 with printer(bluetooht)
I bought the same dodel 2 months ago and I was able to install without problem.
I think they changed the compilation and made changes????
Do you know what brand and model your printer is? I think your app is restricted installing in the printer by the manufacturer.
Contact the manufactirer for the solution.
 
Upvote 0

MicroDrie

Well-Known Member
Licensed User
Longtime User
  1. Tools clean project on PC
  2. De-install B4A bridge on tablet
  3. Install B4A Bridge current version 2.67 on tablet
  4. Start B4A Bridge on tablet
  5. Connect to B4A Bridge on PC
  6. Run program in IDE
Don't use APP scan and don't install app make More information choice and then installation without scanning.

If the problem persists, reinstall B4A program and follow each installation step by step.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
if the base version is lower than and the Package name is the same as some already installed app, it won't allow to install
Remember if changing an update on GooglePlay, #VersionCode: at top of Main module must be at least one number higher than last update.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…