# \[Solved\] Android publish creates crashable app - (incorrect admob publisher I’d caused issue)

**URL:** <https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064>\
**Category:** Issues / Bugs\
**Created:** [June 16, 2022, 12:07am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064 "2022-06-16T00:07:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [June 16, 2022, 12:07am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/1 "2022-06-16T00:07:12Z")

</div>

Somethings is wrong with Android publishing. It made an app that just crashes. Only change I made was updated admob setting. Republishing it now…

---

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [June 16, 2022, 12:29am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/2 "2022-06-16T00:29:31Z")

</div>

I just republished and its immediately crashes when I open it. Anyone else having this symptom when publishing android?

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [June 16, 2022, 6:27am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/3 "2022-06-16T06:27:00Z")

</div>

Last time I had this kind of issue, thinking that Thunkable is the problem, I found out that my app was crashing because an API I used was returning some of the value retrieved as .null, being not offline, but not fully functionally from time to time - and because no blocks were changed I was really confused.  
Can’t tell if Thunkable builder has issues in the last 2 days (as I didn’t build any .aab) but I 'm sharing this with you thinking that maybe will help you a little. 😊

---

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [June 27, 2022, 4:03pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/4 "2022-06-27T16:03:19Z")

</div>

Another week and android publish build is crashing on open. Anyone on the thunkable team have an idea why it would do this? Immediately right after you tap the app icon. My last openable build was build 90, I’m at build 113.

To test I created two other apps in my console, they are starter thunkable projects but they did open.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [June 27, 2022, 4:18pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/5 "2022-06-27T16:18:26Z")

</div>

This requires some debugging @exploriverse.com

To start, can you talk about your first screen? What is happening on the screen that loads first?

What blocks run on “screen open” or “screen start”

Does the project work on both ios and android or is it platform specific?

Does the app work on Thunkable live ?

---

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [June 28, 2022, 2:28pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/6 "2022-06-28T14:28:41Z")

</div>

What is happening on the screen that loads first? Establish variables and navigate for new game or existing game or offline.

What blocks run on “screen open” or “screen start”? Screen open

Does the project work on both ios and android or is it platform specific? This crash is android specific

Does the app work on Thunkable live? Yes

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [July 1, 2022, 4:06pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/7 "2022-07-01T16:06:15Z")

</div>

Hey @exploriverse.com

Just wanted to follow up here. It seems that the error is likely related to the admob publisher ID. can you ensure your admob pub id is correct in the settings by deleting and then copy/pasting from admob into thunkable again?

I shared a screenshot of the logs with you in a DM on the platform.

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 1, 2022, 7:21pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/8 "2022-07-01T19:21:16Z")

</div>

> [@jared](#):
>
> It seems that the error is likely related to the admob publisher ID.

Seeing this, i want to share my experience with that, maybe will help.  
1st of all, building and publishing is working very well. Just did it few hours ago, with no issue. I updated my app because some interstitial admob was crashing my app, so i removed it. My app was crashing because admob told me that as developer i’m not able to click my own interstitial - they take that as a fraude. But that interstitial alowed me to have acces to more contest, and as I’m using my own app as other users, of course I clicked that to have acces to that content.  
Weird policy but nothing to do against. So i just removed that interstitial and all is working well.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 1, 2022, 8:03pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/9 "2022-07-01T20:03:04Z")

</div>

> [@mimostel](#):
>
> Weird policy but nothing to do against.

I know I’m veering off-topic with this @mimostel, but don’t forget to add your phone(s) under the test devices menu here:

 ![Screenshot 2022-07-01 at 21.01.59](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/014e7b627e882330e55217906da340f2126a6e93.png)

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 1, 2022, 8:54pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/10 "2022-07-01T20:54:51Z")

</div>

Thank you @domhnallohanlon . Didn’t noticed that. Very helpful.

---

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [July 2, 2022, 12:53am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/11 "2022-07-02T00:53:26Z")

</div>

@jared Brought to my attention that when he ran my apk that he saw an error with my admob id.

I looked and turns out I was using the banner ad id in the admob id setting. I fixed it, retested the build and crash issue fixed!

 ![Screen Shot 2022-07-01 at 5.52.36 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/3/d3e5ae69e7d3b48a7b906ba92ec5db38a697c4fc.png)  
 ![Screen Shot 2022-07-01 at 5.18.46 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/907e276170fe0380994fad6e1f4fe8b0a7cc3c4e.png)

---

<div class="post-metadata">

**Author:** ![exploriverse.com](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/exploriverse.com/32/77609_2.png) [@exploriverse.com](https://community.thunkable.com/u/exploriverse.com)\
**Post date:** [July 2, 2022, 12:54am UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/12 "2022-07-02T00:54:54Z")

</div>

Early this year my admob account got frozen for 30d because I was testing and didn’t add my devices. I didn’t know so this is helpful for all.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:13pm UTC](https://community.thunkable.com/t/solved-android-publish-creates-crashable-app-incorrect-admob-publisher-i-d-caused-issue/1927064/14 "2024-11-08T13:13:12Z")

</div>


