Android Question FirebaseAdMob2 + Crashlytics

When using those two together the app won't install.

The attached project will not install.
However when changing the manifest by removing then next few lines and it does install.

B4X:
'=============== Crashlytics ===============
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics)
'=============== Crashlytics ===============

And is the advertising ID still available in FirebaseAdMob2? Can't find it anywhere.
We're not publising our app in any store but want to pinpoint certain installations.

I'm using B4A 11.20 and already did a reinstall of the sdk.
We're not publising our app in any store.
 

Attachments

  • Test2.zip
    9.5 KB · Views: 186
You have two copies of this line: CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
Try to remove one of them.
Doesn't make a difference.
However when I change the build configuration to another app and include that google.json then it is installing.

Looking at the unfiltered logs there appears:
"EXTRA_VERIFICATION_INSTALL_PACKAGE is invalid"

Advertising ID is working.

onUnbind: Intent { act=com.google.android.gms.safetynet.service.START pkg=com.google.android.gms }>>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
CheckJNI is OFF
No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
register_android_hardware_Radio DONE
Calling main entry com.android.commands.pm.Pm
Failed to load assets verifier: 0
Uid = 1000
startInstallVerification : 82
pkgName = com.panasonic.psn.android.app.whiteblacklisting
check Signature: 30820416308202fea003020102020900be576bd042eb1f1f300d06092a864886f70d01010505003065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c060355040313054954504255301e170d3132303730383039333634365a170d3339313132343039333634365a3065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c06035504031305495450425530820120300d06092a864886f70d01010105000382010d00308201080282010100f196a485f6e23db2cf8d10c5d7bcfb0966754ddb7cac90f44e92c24219170a01a2d85d86c5c1d974084c183af448b31e4aff857025a88720f8d356ec61c11ad65f08bffa95ce372ba074c00710f5ff4d905b7c375f94a1b648c485f0dc004ae5dbac254f95a17b499c7e889ac63015219b93f6cc3c0ee30bed469ea40fbdf5ae7d70a97064fd824db13d686001d8badfa135f16305ca6a1bd0d48c65bccb05c65e247950be19839030689ea4a1d58ce7e45bec647332383978e4a3b230db2dc1bc6416155ee10eec6b4e643ed71bbe3b074d217918af2f1b65204790691b8fac829bb1a24eb2f7fad030b0bf6f8e026dbf8ca6bdc682255b967790eb38c0c023020103a381ca3081c7301d0603551d0e0416041405c61b365ef447827b87888fb0cc53f4c22727543081970603551d2304818f30818c801405c61b365ef447827b87888fb0cc53f4c2272754a169a4673065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c060355040313054954504255820900be576bd042eb1f1f300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100468c2845b6a521d1bac07e699ba6f8f718aaaa0bb9d15abae2009369a530dd9dfd56b3a081b36e689515aa639064cb60dc1c4f180d38d141ba3fddd15f04dd8ba1e38c7b9f4172b9c0e6af1ebe6de07d753039e605ec21032bc05a6553ca7cf2eac46020f3758854c03a29321aa908d419f5d16de463797bf8b9f0119f37dd406b57eb699f65268cfec35e7f32c25ac31f2e12949e154edf78adc4957312fb387c4e35e04e10218625dbb778581dbf5dfe7e2eac5e013f3c64de0572585f94a59e63556121c6133404b9cd3955bc62bc4cef2cf60f03afb9e2d9c45a36c39f5aacab6e7b3e7b82dc7a76111d076a0caeae3e5ea00322f1e2bcce601fd10e96c9
Signature match.
Asset path /data/local/tmp/Test2.apk is neither a directory nor file (type=0).
Parse package is failed (PackageParserException)
android.content.pm.PackageParser$PackageParserException: Failed adding asset path: /data/local/tmp/Test2.apk
at android.content.pm.PackageParser.loadApkIntoAssetManager(PackageParser.java:858)
at android.content.pm.PackageParser.parseBaseApk(PackageParser.java:879)
at android.content.pm.PackageParser.parseMonolithicPackage(PackageParser.java:838)
at android.content.pm.PackageParser.parsePackage(PackageParser.java:756)
at com.panasonic.mobile.frameworks.devmgmt.service.tcd2.DevMgmtService.startInstallVerification(DevMgmtService.java:406)
at com.panasonic.mobile.frameworks.devmgmt.service.tcd2.DevMgmtAppReceiver.onReceive(DevMgmtAppReceiver.java:40)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2725)
at android.app.ActivityThread.access$1800(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
sendBroadcast to com.panasonic.psn.android.app.whiteblacklisting/com.panasonic.psn.android.app.whiteblacklisting.receiver.VerificationReceiver
EXTRA_VERIFICATION_INSTALL_PACKAGE is invalid
Parse package is failed (PackageParserException)
android.content.pm.PackageParser$PackageParserException: /data/local/tmp/Test2.apk (at Binary XML file line #14): Bad class name WMSscan.jds.android.permission.C2D_MESSAGE in package WMSscan.jds.android
at android.content.pm.PackageParser.parseBaseApk(PackageParser.java:892)
at android.content.pm.PackageParser.parseMonolithicPackage(PackageParser.java:838)
at android.content.pm.PackageParser.parsePackage(PackageParser.java:756)
at com.panasonic.android.frameworks.devmgmt.DevMgmtReceiver.onReceive(DevMgmtReceiver.java:205)
at com.panasonic.psn.android.app.whiteblacklisting.receiver.VerificationReceiver.onReceive(VerificationReceiver.java:34)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2725)
at android.app.ActivityThread.access$1800(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
pkgName = com.panasonic.psn.android.app.whiteblacklisting
check Signature: 30820416308202fea003020102020900be576bd042eb1f1f300d06092a864886f70d01010505003065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c060355040313054954504255301e170d3132303730383039333634365a170d3339313132343039333634365a3065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c06035504031305495450425530820120300d06092a864886f70d01010105000382010d00308201080282010100f196a485f6e23db2cf8d10c5d7bcfb0966754ddb7cac90f44e92c24219170a01a2d85d86c5c1d974084c183af448b31e4aff857025a88720f8d356ec61c11ad65f08bffa95ce372ba074c00710f5ff4d905b7c375f94a1b648c485f0dc004ae5dbac254f95a17b499c7e889ac63015219b93f6cc3c0ee30bed469ea40fbdf5ae7d70a97064fd824db13d686001d8badfa135f16305ca6a1bd0d48c65bccb05c65e247950be19839030689ea4a1d58ce7e45bec647332383978e4a3b230db2dc1bc6416155ee10eec6b4e643ed71bbe3b074d217918af2f1b65204790691b8fac829bb1a24eb2f7fad030b0bf6f8e026dbf8ca6bdc682255b967790eb38c0c023020103a381ca3081c7301d0603551d0e0416041405c61b365ef447827b87888fb0cc53f4c22727543081970603551d2304818f30818c801405c61b365ef447827b87888fb0cc53f4c2272754a169a4673065310b3009060355040613024a50310e300c060355040813054f73616b6131123010060355040713094d6f7269677563686931123010060355040a130950616e61736f6e6963310e300c060355040b13054954504255310e300c060355040313054954504255820900be576bd042eb1f1f300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100468c2845b6a521d1bac07e699ba6f8f718aaaa0bb9d15abae2009369a530dd9dfd56b3a081b36e689515aa639064cb60dc1c4f180d38d141ba3fddd15f04dd8ba1e38c7b9f4172b9c0e6af1ebe6de07d753039e605ec21032bc05a6553ca7cf2eac46020f3758854c03a29321aa908d419f5d16de463797bf8b9f0119f37dd406b57eb699f65268cfec35e7f32c25ac31f2e12949e154edf78adc4957312fb387c4e35e04e10218625dbb778581dbf5dfe7e2eac5e013f3c64de0572585f94a59e63556121c6133404b9cd3955bc62bc4cef2cf60f03afb9e2d9c45a36c39f5aacab6e7b3e7b82dc7a76111d076a0caeae3e5ea00322f1e2bcce601fd10e96c9
Signature match.
verifyPendingInstall : 82(2)
PACKAGE_INSTALL_VERIFIED
Intent Received from MDM System.
Starting a blocking GC Explicit
Explicit concurrent mark sweep GC freed 44713(2MB) AllocSpace objects, 0(0B) LOS objects, 33% free, 19MB/28MB, paused 1.016ms total 66.443ms
System.exit called, status: 1
VM exiting with result code 1.
 
Upvote 0
Top