Apk Closes When Start

Discussion in 'Buildbox General Discussion' started by Louay, Aug 1, 2020.

  1. Louay

    Louay Boxer

    Joined:
    Jul 28, 2020
    Messages:
    2
    Likes Received:
    0
    I cant start my apk in android studio with debugging it closes and i have 0 erros
    i use bb2 upload_2020-8-1_11-33-12.png
     
  2. adrianjgomez

    adrianjgomez Boxer

    Joined:
    Apr 1, 2016
    Messages:
    44
    Likes Received:
    30
    If you you are using admob you need to add the APK key like this:

    Code:
    <application android:label="@string/app_name"
            android:icon="@drawable/icon"
            android:allowBackup="true"
            android:name="androidx.multidex.MultiDexApplication">
    
    ...
            <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
                android:value="ca-app-pub-yourkey"/>
    
    ...
    
     

Share This Page