Open ysavr opened 4 years ago
when build or debug i've got error:
C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:9: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:121: error: cannot find symbol return FileProvider.getUriForFile(registrar.context(), authorities, tempFile); ^ symbol: variable FileProvider location: class FileHelper C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:127: error: cannot find symbol Uri providerUri = FileProvider.getUriForFile(registrar.context(), authorities, new File(uri.getPath())); ^ symbol: variable FileProvider location: class FileHelper
when build or debug i've got error:
C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:9: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:121: error: cannot find symbol return FileProvider.getUriForFile(registrar.context(), authorities, tempFile); ^ symbol: variable FileProvider location: class FileHelper C:\Users\Savr\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\advanced_share-0.1.0\android\src\main\java\in\mertcan\advancedshare\FileHelper.java:127: error: cannot find symbol Uri providerUri = FileProvider.getUriForFile(registrar.context(), authorities, new File(uri.getPath())); ^ symbol: variable FileProvider location: class FileHelper