From 6d634b3d442064f0ead39750d36be79dcb8acffa Mon Sep 17 00:00:00 2001 From: Ekagra Date: Fri, 8 Jan 2021 13:30:24 +0530 Subject: [PATCH 1/2] updated README.md for runtime error unable to get provider androidx.startup.InitializationProvider on running app on device or emulator --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a14f2af9d..ddacbd913 100755 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@

- + - +

@@ -120,6 +120,21 @@ Before you begin, you should have already downloaded the Android Studio SDK and 9. If the app was built successfully, you can test it by running it on either a real device or an emulated one by going to *Run > Run 'app'* or pressing the Run icon in the toolbar. + - *Note:* Disable automatic initialization for all components in case of runtime error `Unable to get provider androidx.startup.InitializationProvider` on running app on device or emulator. + + - add dependency + `implementation "androidx.startup:startup-runtime:1.0.0"` + + - include in manifest + ``` + + + + + 10. **To enable the sharing features to a different account, add API_KEY/ APP_ID associated with accounts**. Add the Keys in `constant.java` and `strings.xml`. Following are the links to developer pages of account. Go there to create apps and get keys. * Nextcloud: https://docs.nextcloud.com/server/stable/developer_manual/ * Twitter: https://dev.twitter.com From 06c893b52c8ac9520c99df403f928c75643c7e8c Mon Sep 17 00:00:00 2001 From: Ekagra Date: Mon, 11 Jan 2021 23:05:42 +0530 Subject: [PATCH 2/2] changes: closed application tag before merge tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ddacbd913..193f33a51 100755 --- a/README.md +++ b/README.md @@ -132,8 +132,8 @@ Before you begin, you should have already downloaded the Android Studio SDK and android:name="androidx.startup.InitializationProvider" android:authorities="${applicationId}.androidx-startup" tools:node="remove" /> - + 10. **To enable the sharing features to a different account, add API_KEY/ APP_ID associated with accounts**. Add the Keys in `constant.java` and `strings.xml`. Following are the links to developer pages of account. Go there to create apps and get keys. * Nextcloud: https://docs.nextcloud.com/server/stable/developer_manual/