# Crash caused by an error in AndroidManifest.xml

**URL:** <https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150>\
**Category:** Questions about Thunkable X\
**Tags:** admob\
**Created:** [February 9, 2022, 7:20pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150 "2022-02-09T19:20:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dani19130a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/dani19130a/32/120952_2.png) [@dani19130a](https://community.thunkable.com/u/dani19130a)\
**Post date:** [February 9, 2022, 7:20pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/1 "2022-02-09T19:20:49Z")

</div>

There is blocking issue in thunkable platform, please help.  
I opened a new ticket on github [https://github.com/thunkable/thunkable-issues/issues/1114](https://github.com/thunkable/thunkable-issues/issues/1114)

It is very urgent because it generates crash in android apps that use admob.

Sorry if I use also this channel, I do this with hope that someone can fix this very soon.

In the following u can see the description of the bug.

### Severity

**BLOCKING ISSUE**

Since today the Thunkable platform encode the ~ symbol with %7E in Android Manifest in the meta-data com.google.android.gms.ad.APPLICATION\_ID

This causes a crash anytime I open my app.

It is a very urgent issue because I cannot deliver the app to my customers.

### Platform

Does this affect:  
Drag and Drop UI - Android

### Steps to Reproduce

1. Insert Android Admob App ID in project settings (app id normally contains symbol ~)
2. Build and download the APK
3. Open the app

### Expected Behavior

No crash expected

### Actual Behavior

What actually happens?  
The App crashes immediately every time

### Project Link

> **[Thunkable](https://x.thunkable.com/projects/61ae31cc17ca440442439781)**

```auto
  STACK TRACE AND/OR SCREENSHOTS

```

The issue is located in the android manifest

ADB debugger shows this  
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:  
02-09 12:36:18.362 28630 28630 E AndroidRuntime:  
02-09 12:36:18.362 28630 28630 E AndroidRuntime: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
02-09 12:36:18.362 28630 28630 E AndroidRuntime: \* Invalid application ID. Follow instructions here: \*  
02-09 12:36:18.362 28630 28630 E AndroidRuntime: \* [Get Started &nbsp;|&nbsp; Android &nbsp;|&nbsp; Google for Developers](https://googlemobileadssdk.page.link/admob-android-update-manifest) \*  
02-09 12:36:18.362 28630 28630 E AndroidRuntime: \* to find your app ID. \*  
02-09 12:36:18.362 28630 28630 E AndroidRuntime: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

<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:** [February 9, 2022, 8:43pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/2 "2022-02-09T20:43:27Z")

</div>

Hey @dani19130a

We just pushed an update to live. Please try building your app again! Sorry for the issue here!

---

<div class="post-metadata">

**Author:** ![dani19130a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/dani19130a/32/120952_2.png) [@dani19130a](https://community.thunkable.com/u/dani19130a)\
**Post date:** [February 9, 2022, 9:22pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/3 "2022-02-09T21:22:25Z")

</div>

Hey @jared  
Yes, it works, many thanks to solve it so quickly!  
Regards,  
Daniele

---

<div class="post-metadata">

**Author:** ![josepandare02t](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@josepandare02t](https://community.thunkable.com/u/josepandare02t)\
**Post date:** [February 10, 2022, 8:36pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/4 "2022-02-10T20:36:06Z")

</div>

Hello…

Since a couple of days, my app is crashing when leaving or closing specifics screens (below code). Works fine in WEB, iOS and Android Live testing app, but after building, I just can not get it working as usual (no code changes). The issue, is only on the installed version from APK on same phones have been always testing on.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/a/ca88cb78f24058011260ebb12eba30956c927036.png)

or

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/c/ec982636a1e8614f521b53e4a7965b880bb2b81f.png)

what may be common is the web viewer url being assigned to “” which have been on de code long time ago with no problem.

It is something related to Android apk build server? Any one else having this issue?

Regards…

JMP

---

<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:** [February 10, 2022, 9:44pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/5 "2022-02-10T21:44:19Z")

</div>

Are you still. experiencing this today?

What if you publish without using a blank URL.

For example using just `https://`

---

<div class="post-metadata">

**Author:** ![josepandare02t](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@josepandare02t](https://community.thunkable.com/u/josepandare02t)\
**Post date:** [February 10, 2022, 10:53pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/6 "2022-02-10T22:53:07Z")

</div>

Hello…

When I first added webviewer with html code, (month ago) I needed to clean up URL to avoid crash and worked like that with no issues. I can try with http:// only but, unless something changed on apk building service, won’t be different.

Also it is working fine when running on thunkable live testing app on Android and iOS and compiled iOS.

José M Pandare

---

<div class="post-metadata">

**Author:** ![josepandare02t](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@josepandare02t](https://community.thunkable.com/u/josepandare02t)\
**Post date:** [February 10, 2022, 11:01pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/7 "2022-02-10T23:01:05Z")

</div>

I also got the bellow error on last two or three apk requests:

Error: Command failed: cd /thunkable/androidBuildServer/…/thunkableCompanion/android/; ./gradlew AssembleRelease ⚠ Cannot resolve the path to “@react-native-community/cli” package. ⚠ Cannot resolve the path to “@react-native-community/cli” package. error node\_modules/@firebase/database/dist/index.esm2017.js: Call retries were exceeded. FAILURE: Build failed with an exception. \* What went wrong: Execution failed for task ‘:app:bundleReleaseJsAndAssets’. \> Process ‘command ‘node’’ finished with non-zero exit value 1 \* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. \* Get more help at [https://help.gradle.org](https://help.gradle.org/) BUILD FAILED in 5m 51s

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 11, 2022, 11:01pm UTC](https://community.thunkable.com/t/crash-caused-by-an-error-in-androidmanifest-xml/1725150/8 "2022-05-11T23:01:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
