-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with module when react-native run-android #132
Comments
I think this it's due the android x update. Facing the same problem. |
android x update , How to solve??? |
hi, you can try |
@aybarsyalcin, it didnt work for me. |
having the same issue any solution for this? |
Under Add between |
@Grewer Thanks, you save lot |
node_modules\react-native-doc-viewer\android\src\main\java\com\reactlibrary\FileProviderClass.java:3: error: package android.support.v4.content does
not exist
public class FileProviderClass extends android.support.v4.content.FileProvider {
^
C:\Users\EndarUliu\Desktop\H\node_modules\react-native-doc-viewer\android\src\main\java\com\reactlibrary\RNReactNativeDocViewerModule.java:34: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
C:\Users\EndarUliu\Desktop\H\node_modules\react-native-doc-viewer\android\src\main\java\com\reactlibrary\RNReactNativeDocViewerModule.java:338: error: cannot find symbol
Uri contentUri = FileProvider.getUriForFile(context, reactContext.getPackageName()+".docViewer_provider", result);
^
symbol: variable FileProvider
location: class RNReactNativeDocViewerModule.FileDownloaderAsyncTask
3 errors
The text was updated successfully, but these errors were encountered: