Android Question Compile error on android 7

stevenindon

Active Member
Licensed User
Hello all,

I have been compiling my app for android 10 and 11 without problem. Now when i try to compile for my Samsung Tab - which is running on android 7.0, it prompts with below error :

B4X:
B4A Version: 11.20
Parsing code.    (0.05s)
    Java Version: 11
Building folders structure.    (0.08s)
Running custom action.    (0.05s)
Compiling code.    (0.08s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.17s)
Linking resources    (1.20s)
Compiling generated Java code.    (0.10s)
Convert byte code - optimized dex.    (4.43s)
Copying libraries resources    (15.27s)
ZipAlign file.    (0.26s)
Signing package file (private key).    (3.38s)
Installing file to device.    Error
adb: failed to install TWAPP.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl896429265.tmp/base.apk (at Binary XML file line #14): Bad class name TW.TWApp.Com.permission.C2D_MESSAGE in package TW.TWApp.Com]

What could be the possible problem? My application name is : TW.TWApp.Com

Could it be that the application name cannot consist of capital letters? * I have firebase in my app as well. Please help. Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
uppercase chars in the packagename can be problematic with firebase.
 
Upvote 0

stevenindon

Active Member
Licensed User
@DonManfred : Thank you for the tips. Will have to recreate firebase+ios cert+iosprovision profile etc etc.. as all links to the name... Wheeewww....

@agraham : Did not change anything. Compiled ok for Android 10 and 11.. but error when compile for android 7. As to why, just want to make sure that the application runs in MOST phones / Tabs
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Compiled ok for Android 10 and 11.. but error when compile for android 7
Check

 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top