You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+35-3
Original file line number
Diff line number
Diff line change
@@ -52,19 +52,51 @@ Cordova Plugin for SightCall.
52
52
53
53
## Troubleshooting guide
54
54
55
-
Q: I get compilation errors on Android
55
+
**Q: I get compilation errors on Android**
56
56
57
57
A: First, check if your project compiles without this plugin. In that case, verify the plugin version you are using on your project because since 4.0 version we just support Cordova projects that are using Android with AndroidX. Below 4.0 version, take into account that this plugin is not compatible with AndroidX as it uses old Android Support Libraries. In that case, to migrate the plugin code to AndroidX, you can do the following:
58
58
59
59
- Add plugin to enable AndroidX in the project (`cordova plugin add cordova-plugin-androidx`) and add plugin to patch existing plugin source that uses the Android Support Library to use AndroidX (`cordova plugin add cordova-plugin-androidx-adapter`)
60
60
61
61
- Or using Jetifier if you are using this plugin on a Capacitor project: https://github.com/mikehardy/jetifier
62
62
63
-
64
-
Q: I get Android compilation errors when linking resources in the manifest file like:
63
+
**Q: I get Android compilation errors when linking resources in the manifest file like:**
65
64
```
66
65
error: attribute android:requestLegacyExternalStorage not found.
67
66
error: attribute android:foregroundServiceType not found.
68
67
```
69
68
70
69
A: You need to compile against SDK 29 and maybe use the most recent build tools for aapt to know this attribute, because it's introduced in Android 10.
70
+
71
+
**Q: Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. Something like:**
72
+
```
73
+
Execution failed for task ':app:androidDependencies'.
74
+
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
75
+
> Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0-beta01.
76
+
Required by:
77
+
project :app
78
+
> Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
0 commit comments