Description of the problem:
The starter works fine under the Chrome browser, but crashes or shows a white screen on some Android devices.
logcat:
Capacitor: Unable to read file at path public/plugins
Capacitor/Plugin/Browser: Error binding to custom tabs service
Affected platform
OS of the development machine
Other information:
Tested on Android Emulator and real devices - API 21, 22, 25
Capacitor version:
"@capacitor/android" = 1.1.1
"@capacitor/core" = 1.1.1
"@capacitor/cli" = 1.1.1
node version:
v12.3.1
npm version:
6.4.1
CocoaPods version:
-
Steps to reproduce:
ionic start itest tabs
ionic build
ionic capacitor sync android
Link to sample project:
None of those should crash the app.
In which devices is it failing?
Just tested Genymotion 7.1 (API 25) and 5.0 (API 21) - 5.0 shows the white screen forever, 7.1 crashes.
And both of them seemed to have the same logcat messages.
The white screen on genymotion is probably related to not having the system webview up to date.
Experiencing the same issue using the tabs starter with Android API 24 and earlier. API 25 and up works as expected.
i have same issue,How can it be solved
same issue E/Capacitor: Unable to read file at path public/plugins
I had this issue E/Capacitor: Unable to read file at path public/plugins above, webDir in capacitor.config.json was set to src instead of www.
After fixing that, rebuilding the android studio project I could deploy again without error.
What are you using @WolfieXIII
My build has no www folder, it's build (default project)
@jcesarmobile It's not only about crashing or not. If you don't have cordova plugins, is it correct to have an error in logs ?
npm install com-darryncampbell-cordova-plugin-intent
npm install @ionic-native/web-intent
ionic cap sync
Most helpful comment
i have same issue,How can it be solved