hui-z / flutter_install_plugin

A flutter plugin for install apk for android; and using url to go to app store for iOS.
MIT License
103 stars 111 forks source link

install err #28

Closed yuefeng007 closed 4 years ago

yuefeng007 commented 4 years ago

PlatformException(IllegalArgumentException, Couldn't find meta-data for provider with authority com.example.app_update_demo.fileProvider.install, null)

Podia ter corrido normalmente. Repentinamente mal relatado

lyqiai commented 4 years ago

same problem

thinking001 commented 4 years ago

请问解决了吗?

qiantongtech commented 4 years ago

AndroidManifest.xml

        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.fileProvider.install"
            android:exported="false"
            tools:replace="android:authorities"
            android:grantUriPermissions="true">
            <meta-data
                tools:replace="android:resource"
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_install_paths"/>
        </provider>