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:

B4X:
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:

peacemaker

Expert
Licensed User
Longtime User
But default configuration is compiled well o_O
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
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

Alvsky

Member
Licensed User
Longtime User
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

peacemaker

Expert
Licensed User
Longtime User
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

DonManfred

Expert
Licensed User
Longtime User
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:
B4X:
#If BUILD1
createresource(...)
#Else If BUILD2
createresource(...)
#End If
 
Last edited:
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
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

DonManfred

Expert
Licensed User
Longtime User
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

peacemaker

Expert
Licensed User
Longtime User
Thanks, Don, you are right here. New google-services.json and condition in the Manifest is required.
 
Upvote 0
Top