package android.support.v4.app does not exist ; in Android studio 0.8

前端 未结 12 1619
我在风中等你
我在风中等你 2020-12-01 05:24

I\'ve recently updated the android studio IDE to 0.8 to work with the new android L SDK. To start I imported a finished android project that receives no errors in the older

12条回答
  •  感情败类
    2020-12-01 05:41

    error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider;

    using jetify helped to solve .

    from jcesarmobile' s post --- >https://github.com/ionic-team/capacitor/pull/2832

    Error: "package android.support.* does not exist" This error occurs when some Cordova or Capacitor plugin has old android support dependencies instead of using the new AndroidX equivalent. You should report the issue in the plugin repository so the maintainers can update the plugin to use AndroidX dependencies.

    As workaround you can also patch the plugin using jetifier

    npm install jetifier

    npx jetify

    npx cap sync android

提交回复
热议问题