Android Question firebase error

Discussion in 'Android Questions' started by ihabsharaf, May 6, 2019.

  1. ihabsharaf

    ihabsharaf Member Licensed User

    hi every one
    i have this error when add firebase to manifest this issues occurred with old android version


    B4A Version: 9.01.2
    Java Version: 8
    Parsing code. (0.16s)
    Building folders structure. (0.04s)
    Compiling code. (0.11s)
    Compiling layouts code. (0.03s)
    Organizing libraries. (0.00s)
    Generating R file. (0.00s)
    Compiling generated Java code. (0.08s)
    Convert byte code - optimized dex. (18.92s)
    Packaging files. (3.63s)
    Copying libraries resources (0.05s)
    Found 33 resource files.
    Signing package file (private key). (2.75s)
    ZipAlign file. (0.10s)
    Installing file to device. Error
    adb: failed to install BlueCube.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1699231097.tmp/base.apk (at Binary XML file line #14): Bad class name BlueCube.infirst.permission.C2D_MESSAGE in package BlueCube.infirst]
  2. DonManfred

    DonManfred Expert Licensed User

    And you are thinking hiding yur manifestcode will help us helping you?
    Last edited: May 6, 2019
  3. ihabsharaf

    ihabsharaf Member Licensed User

    i'm not hide Manifest just forget to upload it

    <uses-sdk android:minSdkVersion=
    "9" android:targetSdkVersion="27"/>
    <supports-screens android:largeScreens=

    CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
    CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
    CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
    CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)

    "18" />

    CreateResource(xml, provider_paths,
    path name="name" path="shared" />

    CreateResource(values, theme.xml,
        <style name=
    "MyAppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
            <item name=
            <item name=
            <item name=
            <item name=
            <item name=
            <item name=
            <item name=

    SetActivityAttribute(main, android:windowSoftInputMode, adjustResize)
  4. DonManfred

    DonManfred Expert Licensed User

    maybe the mixed case in your packagename is the problem? i remember it should all lowercased.
    Also the packagename should be 3 parts if i remember correctly. com.bluecube.infirst for ex.
    Erel and ihabsharaf like this.
  5. ihabsharaf

    ihabsharaf Member Licensed User

    thank you DonManfred

    Package name changed to 3 parts
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice