Android Question Object reference not set to an instance of an object.

hookshy

Well-Known Member
Licensed User
Longtime User
I can not user my project as for new app , I do not know what shall i do next.
I changed the package name from tools builder options and does not allow me to run due to this object reference not set to an instance of an object

I have downloaded new dexer available and added #MultiDex: True
Now I have to think what to do to fix this....

Is this a bug from the new Ide 7.8 ?
If I change the build name and keep the package name it works ok ...the problem is when I change the package from build tools ...and I do want to publish more apps in the future
thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I have downloaded new dexer available and added #MultiDex: True
No need to download any dexer if you are using the latest version of B4A.

My guess is that your manifest code calls:
B4X:
CreateResourceFromFile("google-services", "google-services.json")
The package name in the json file must match the project package name.
 
Upvote 0

hookshy

Well-Known Member
Licensed User
Longtime User
it works now .... thanks

fixed by replaceing the write google-services.json.. the old one was pointing to wrong package name ...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…