Android Question I tried clicking compile to library:(Solved with package name change)

Shelby

Well-Known Member
Licensed User
Longtime User
I have a new project using SqLite and I tried clicking: compile to library from the project tab and now I have ruined my project. Is there a quick way to remedy this or should I bring my project out of a zip file where I saved it?
I did try to bring it back from the zip file and it didn't help. My printscreen image would not attach: too large
 

LucaMs

Expert
Licensed User
Longtime User
I mean this one:

1610207413995.png

not a system one.
If it (Auto Backup) is checked, you should have a folder named "AutoBackups" in the project folder.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
I do have that auto backups folder. The auto backups was indeed checked. My friend is going to help with a go to meeting in a few mins. Thanks
 
Last edited:
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
My primary problem is that the B4A bridge won't allow the install.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
I was just stupidly trying to get the project to compile. I'll attach the zipped project in a moment. Thanks Klaus
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Again I was stupidly trying to compile and clicked the compile to library as an experiment. I think we have cleared that up. My project is a database type app. The attach files link below is not recognizing my zip file on my desktop or in my project folder. I'm using 7Zip; still trying.
 
Last edited:
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Maybe this will help. It's from my automatic backup folder.
 

Attachments

  • Backup SS2021 2021-01-09 09.29.zip
    32.1 KB · Views: 113
Upvote 0

klaus

Expert
Licensed User
Longtime User
The attach files link below is not recognizing my zip file on my desktop ...
Which attached file?
As far as I know, when you compile a project to a library, the original project is not affected.
Does the original project work?
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
After clicking install, the phone stops from allowing the installation with the b4A-bridge connected properly. Phone reads: App not installed. My phone is a Samsung S9. It installs properly for my tutor's S9. In the settings of the S9, allowing unknown B4A-bridge is allowed. I don't see the new app name: IRC..... in those allowed settings list. My other apps display ok; I just ran it.
 
Last edited:
Upvote 0

klaus

Expert
Licensed User
Longtime User
Have you tried to uninstall the program from the phone before installing it again?
You must also change the package name in Build Configurations?
It is set to 'b4a.example' which can cause problems if you have already other projects with the same package name.

Have you tried to connect it via USB?
If you can, I would suggest you to always connect your device via USB, it is easier to use.
I had connected my devices via B4XBridge quite some time ago, but via USB is much more convenient, at least fro me.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
I always use USB (wired). I'll try the other suggestions now. Thanks
I'm not sure what program I might have installed into the phone other than B4A-bridge. I'll change the package name.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Hoorah!! The package name did it. Thanks..........I'll be sending some beer; oh that's Don's request..........Santa will be contacted.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
When I create a project, the first two steps are:
1. Change the #ApplicationLabel: on top of the code.
2. Change the Package name.

And this is also useful when you download projects from the forum, check and modify, if necessary, the two points above.
It is a habit I have acquired quite some years ago, because of similar problems.
 
Upvote 0
Top