Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

[Android] Package does not exist #77

Closed
mlumbroso opened this issue Aug 7, 2016 · 2 comments
Closed

[Android] Package does not exist #77

mlumbroso opened this issue Aug 7, 2016 · 2 comments

Comments

@mlumbroso
Copy link

mlumbroso commented Aug 7, 2016

Hi again,

trying to compile my app on Android with RN 0.31, I've got this error that links to the import on my MainApplication.java (version 0.8.1 is correctly installed via npm) :

error: package com.RNFetchBlob does not exist
import com.RNFetchBlob.RNFetchBlobPackage;

Any idea why?

Thanks for your great work 👍

@mlumbroso mlumbroso changed the title [Android] Package does not exit [Android] Package does not exist Aug 7, 2016
@mlumbroso
Copy link
Author

mlumbroso commented Aug 7, 2016

I think I tracked down the issue,

I don't have the problem anymore if I add :

compile project(':react-native-fetch-blob')
to android/app/build.gradle

Now I have an error with import okhttp3.internal.http.OkHeaders but I think I saw it on another issue, will check this now.

The error is

`error: cannot find symbol
import okhttp3.internal.http.OkHeaders;
                            ^
  symbol:   class OkHeaders
  location: package okhttp3.internal.http

Adding compile 'com.squareup.okhttp3:okhttp:3.4.1' in android/app/build.gradle didn't help

@mlumbroso
Copy link
Author

mlumbroso commented Aug 7, 2016

I opened another issue #78 for this specific problem.

ieschalier pushed a commit to ieschalier/react-native-fetch-blob that referenced this issue Jun 26, 2018
No depracation warning on instantiating dirs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant