Programing Center Member Jul 20, 2020 #1 Hi all. Last Week, i was finish my project and i sharing my app. All the things are ok. but today i updating my b4a into version 10 and Update my Sdk into Api30. when i compiling my project and installing my app, when i click on my Software, It leaves my program without interruption without any log! I downgrade my b4a into 9.9 and my sdk into Api29 but the same thing happened again. what should i do?
Hi all. Last Week, i was finish my project and i sharing my app. All the things are ok. but today i updating my b4a into version 10 and Update my Sdk into Api30. when i compiling my project and installing my app, when i click on my Software, It leaves my program without interruption without any log! I downgrade my b4a into 9.9 and my sdk into Api29 but the same thing happened again. what should i do?
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2020 #2 B4A version is not related. Programing Center said: Update my Sdk into Api30 Click to expand... What exactly does it mean? targetSdkVersion? This is probably not related as well. My guess is that you've implemented FirebaseAdMob without the required app id. This is of course just a wild guess. Upvote 0
B4A version is not related. Programing Center said: Update my Sdk into Api30 Click to expand... What exactly does it mean? targetSdkVersion? This is probably not related as well. My guess is that you've implemented FirebaseAdMob without the required app id. This is of course just a wild guess.
Programing Center Member Jul 21, 2020 #3 Erel said: My guess is that you've implemented FirebaseAdMob without the required app id. This is of course just a wild guess. Click to expand... i use FireBaseNotification! A few days ago, when I ran it, it ran without any problems. I have encountered the problem that when I do not work on a project for a while, it has this kind of failure after a while. I checked that this happens when I use Firebase. When I delete the following lines, my application opens but gives an error for FireBase. B4X: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications) what should i do? i want to use Firebase notification! and when i remove these lines. b4a will gives an error like java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.zimath.programingnter. Make sure to call FirebaseApp.initializeApp(Context) first. Click to expand... Last edited: Jul 21, 2020 Upvote 0
Erel said: My guess is that you've implemented FirebaseAdMob without the required app id. This is of course just a wild guess. Click to expand... i use FireBaseNotification! A few days ago, when I ran it, it ran without any problems. I have encountered the problem that when I do not work on a project for a while, it has this kind of failure after a while. I checked that this happens when I use Firebase. When I delete the following lines, my application opens but gives an error for FireBase. B4X: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications) what should i do? i want to use Firebase notification! and when i remove these lines. b4a will gives an error like java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.zimath.programingnter. Make sure to call FirebaseApp.initializeApp(Context) first. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2020 #4 Delete your Android SDK and carefully follow these instructions: https://www.b4x.com/b4a.html Upvote 0
Programing Center Member Jul 22, 2020 #6 Dear Erel, I have 2 SDK. None of them worked. I tested both Api 28 , Api29 , Api30 . but don't Worked? Upvote 0
Dear Erel, I have 2 SDK. None of them worked. I tested both Api 28 , Api29 , Api30 . but don't Worked?
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2020 #7 Do what all other developers do and carefully follow the installation instructions. Number of SDKs is not relevant. Delete all of them. Also make sure that you don't have old copies of Firebase libraries in the internal libraries folder. Upvote 0
Do what all other developers do and carefully follow the installation instructions. Number of SDKs is not relevant. Delete all of them. Also make sure that you don't have old copies of Firebase libraries in the internal libraries folder.
Programing Center Member Jul 22, 2020 #8 Could you please Send Last Version of FireBase Library? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2020 #9 Latest versions are included in B4A v10.0. Uninstall your current version. Make sure that the installation folder is empty and reinstall it. Upvote 0
Latest versions are included in B4A v10.0. Uninstall your current version. Make sure that the installation folder is empty and reinstall it.
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2020 #11 Create a small project with Firebase, that crashes, and upload it. Upvote 0
Programing Center Member Jul 22, 2020 #12 Erel said: Create a small project with Firebase, that crashes, and upload it. Click to expand... this is Small Project. Without 'google-services.json' Attachments FireBase.zip FireBase.zip 8.6 KB · Views: 392 Upvote 0
Erel said: Create a small project with Firebase, that crashes, and upload it. Click to expand... this is Small Project. Without 'google-services.json'
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2020 #13 1. This is not needed: #StartAtBoot: true 2. Why are you setting the targetSdkVersion to 30??? It should be 29 or 28. 3. The app cannot be compiled as AppCompat is not configured properly. Upvote 0
1. This is not needed: #StartAtBoot: true 2. Why are you setting the targetSdkVersion to 30??? It should be 29 or 28. 3. The app cannot be compiled as AppCompat is not configured properly.
gglaz Member Licensed User Longtime User Aug 17, 2020 #15 Programing Center said: Solved its related to my Sdk's Extra Click to expand... Hello, I have the same problem. Can you describe what exactly solved it. Was a file missing in Android / extras? I've already tried the following: Deleted all folders and files in Android. Reloaded sdk 28 and sdk 29 and all associated ones via the B4 A SDK Manager. All internal libraries deleted. B4A 10 reinstalled. Upvote 0
Programing Center said: Solved its related to my Sdk's Extra Click to expand... Hello, I have the same problem. Can you describe what exactly solved it. Was a file missing in Android / extras? I've already tried the following: Deleted all folders and files in Android. Reloaded sdk 28 and sdk 29 and all associated ones via the B4 A SDK Manager. All internal libraries deleted. B4A 10 reinstalled.
DonManfred Expert Licensed User Longtime User Aug 17, 2020 #16 gglaz said: Hello, I have the same problem. Can you describe what exactly solved it. Was a file missing in Android / extras? I've already tried the following: Deleted all folders and files in Android. Reloaded sdk 28 and sdk 29 and all associated ones via the B4 A SDK Manager. All internal libraries deleted. B4A 10 reinstalled. Click to expand... Carefully follow the installation instructions: B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Upvote 0
gglaz said: Hello, I have the same problem. Can you describe what exactly solved it. Was a file missing in Android / extras? I've already tried the following: Deleted all folders and files in Android. Reloaded sdk 28 and sdk 29 and all associated ones via the B4 A SDK Manager. All internal libraries deleted. B4A 10 reinstalled. Click to expand... Carefully follow the installation instructions: B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com
gglaz Member Licensed User Longtime User Aug 17, 2020 #17 Thank you DonManfred, but I've tried this several times. Firebase had worked until I had to download and use SDK 29 last week. I'm also testing it with Erel's firebase-push-example. Same problem. Unfortunately, I don't get any helpful error messages either: --------- beginning of crash --------- beginning of system --------- beginning of main PackageAdded: package: mypackage.com Upvote 0
Thank you DonManfred, but I've tried this several times. Firebase had worked until I had to download and use SDK 29 last week. I'm also testing it with Erel's firebase-push-example. Same problem. Unfortunately, I don't get any helpful error messages either: --------- beginning of crash --------- beginning of system --------- beginning of main PackageAdded: package: mypackage.com
Erel B4X founder Staff member Licensed User Longtime User Aug 18, 2020 #18 You should never post questions in existing threads. Please start a new thread. Upvote 0