Android Question App crashing

ilan

Expert
Licensed User
Longtime User
hi

i need help. After getting warning mails from google that i have to update all my apps to target sdk28 i wanted to update my app and installed all updates in the SDK manager and only changed the target sdk

i have not changed anything just updated all recommened peckages from the sdk manager and change the target sdk to 28. no app is crashing immidiatly and i am not getting any warning. so i tried the unfiltered log and the logs just runs as crazy so i cannot figure out whats the problem.

this is the last lines from the logs:


what could be the reason for that?

google mail:

 

ilan

Expert
Licensed User
Longtime User
Upvote 0

ilan

Expert
Licensed User
Longtime User
after some research i found out that it has something to do with firebase.

if i use firebase admob for example it crashes without using firebase it works.

i am including a simple example. try to use with build configutation "full" (it will load) then set it to "free" and it will crash.
the only difference is in manifest

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.

#if free
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
#End If

lib versions:

FirebaseAdmob (Version: 1.60)
FirebaseAnalytics (Version: 1.11)

B4A Version: 9.50
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
After getting warning mails from google that i have to update all my apps to target sdk28

Hello Google Play Developer,



This is a reminder that starting November 1, 2019, updates to apps and games on Google Play will be required to target Android 9 (API level 28) or higher.


The above does not mean that you MUST update all your apps already published but that if you update your app you must set its target to 28.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User

and what do they mean by that:

If you have more than 20 apps that could be affected in your account, please check the Play Console for a full list.
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
and what do they mean by that:
The email list the affected apps. If you happen to have more than 20 published apps, then the email would only have provided you with information on 20 apps. For the remaining apps, you'll check your account on the Play Console.
 
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
No need to panic.... Recently I was updating the application from the play store, which had android:targetSdkVersion="19"
 
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
I was misunderstood. The application has been upgraded to SDK 28
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…