Skip to content

error: package cn.touna.reactnativersautil does not exist #3

@SagiUziel

Description

@SagiUziel

I tried to install react-native-rsa-util like this:

npm i react-native-rsa-util
rnpm link react-native-rsa-util

After the installation I run react-native run-android and I got this error:

:app:processDebugResources UP-TO-DATE                                                                                                                                                                
:app:generateDebugSources UP-TO-DATE                                                                                                                                                                 
:app:processDebugJavaRes UP-TO-DATE                                                                                                                                                                  
:app:compileDebugJavaWithJavac                                                                                                                                                                       
D:\react\react-WriteNow\android\app\src\main\java\com\writenow\MainActivity.java:4: error: package cn.touna.reactnativersautil does not exist                                                        
import cn.touna.reactnativersautil.ReactNativeRSAUtilPackage;                                                                                                                                        
                                   ^                                                                                                                                                                  
1 error                                                                                                                                                                                              
:app:compileDebugJavaWithJavac FAILED                                                                                                                                                                

FAILURE: Build failed with an exception.

react-native-cli: 1.0.0
react-native: 0.34.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions