Skip to content
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

package com.cmcewen.blurview does not exist #213

Closed
codedre opened this issue Jun 26, 2017 · 1 comment
Closed

package com.cmcewen.blurview does not exist #213

codedre opened this issue Jun 26, 2017 · 1 comment

Comments

@codedre
Copy link

codedre commented Jun 26, 2017

In my MainApplication.java

...
import com.cmcewen.blurview.BlurViewPackage;
...
public class MainApplication extends Application implements ReactApplication {
...
@Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
          new BlurViewPackage()
      );
    }
  };
...

I am getting this error when compile the app to run on the simulator
error: package com.cmcewen.blurview does not exist import com.cmcewen.blurview.BlurViewPackage;

RN: 0.42
react: 15.4.2
react-native-blur: 3.1.0
@codedre
Copy link
Author

codedre commented Jun 27, 2017

Solve this by adding the following to build.gradle under dependencies:

...
dependencies {
   compile project(':react-native-blur')
}
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant