Error inflating class android.support.design.widget.CoordinatorLayout
See original GitHub issueHi there,
ENV:
- WSL2-ubuntu-18.04.4
- Android Studio 3.6.2
- ADB 1.0.41
- Node 12.16.1
- NPM 6.14.4
- @ionic/cli 6.4.1
- @capacitor/cli 2.0.0
I installed capacitor-firebase-auth in a new ionic/capacitor android app and am receiving the following error when launching the app:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rff.myapp/com.rff.myapp.MainActivity}: android.view.InflateException: Binary XML file line #2 in com.rff.myapp:layout/bridge_layout_main: Binary XML file line #2 in com.rff.myapp:layout/bridge_layout_main: Error inflating class android.support.design.widget.CoordinatorLayout
There were two other errors related to androidx which I temporarily patched but I’m not sure what is going on with this one. Any ideas? Thanks in advance.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Error inflating class android.support.design.widget ...
Please change it into AppCompatActivity if you use Activity. Probably it becomes the error when it is Activity.
Read more >Error inflating class android.support.design.widget ... - GitHub
I get the above error when I add this plugin to my project and try to run on an Android device and the...
Read more >Help me fix this Android.Views.InflateException - Microsoft Q&A
I have the following error on Build: Android.Views. ... Error inflating class android.support.design.widget.CoordinatorLayout'.
Read more >Error inflating class android.support.design.widget ... - YouTube
Android : Error inflating class android.support.design.widget.CoordinatorLayout [ Beautify Your Computer ...
Read more >Error inflating class android.support.design.widget ... - YouTube
Android : Error inflating class android.support.design.widget.CoordinatorLayout and ClassNotFoundException: android.support.design.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey man, I solve that issue adding this to your build.gradle (app level)
and changing your activity_main.xml tag to
androidx.coordinatorlayout.widget.CoordinatorLayout
So far with @capacitor/android 2.0.0 beta1 and @capacitor/core 2.0.0 beta 1, I can confirm the next branch work with Android native Google login.