Android Question new package in Build configurations: compilation error

peacemaker

Expert
Licensed User
Longtime User
To get the new app package for another language (must be!) i tried to make 2 build configurations.
But when switching to the second new one, i get the error during compilation:

Code:
B4A Version: 7.80
Parsing code.    (0.20s)
Compiling code.    Error
Ссылка на объект не указывает на экземпляр объекта.

RU error text can be translated like "Object reference not set to an instance of an object".
Where to dig to ?
 
Last edited:
Erel, can i email you privately the manifest file source to check ?
No idea how to debug the situation with this error.
And why error is on RU ?
 
Upvote 0
I also have the same error.
When I try to change to new package I also get "Object reference not set to an instance of an object".
Any suggestion how to fix it?
 
Upvote 0
Ha! Indeed, package name is another.
But it means, that now impossible to use Build configurations with projects that use Firebase. Is it correct, Erel ?
 
Upvote 0
1. This is a comunity forum. dont limit your question to a single member.
2. Always create a new thread for a new question.
3. Why it should not work???

Manifest Code:
Code:
#If BUILD1
createresource(...)
#Else If BUILD2
createresource(...)
#End If
 
Last edited:
Upvote 0
Don, it is the same discussion continue, and it was my question to Erel to his last reply in this topic.
And your code is irrelevant. Question is about the compilation, selecting the build from the IDE combobox.
But thanks for reply attempt.
 
Upvote 0
And your code is irrelevant.
No, it is the solution
Question is about the compilation, selecting the build from the IDE combobox.
You CAN select the build from the combobox if you have the right snippet in the Manifest which loads the relevant json file for the selected build!
I don´t see a problem here.
 
Upvote 0
Thanks, Don, you are right here. New google-services.json and condition in the Manifest is required.
 
Upvote 0
Back
Top