Home > Mobile >  Reference libraries, each Yarn, the Module name will change
Reference libraries, each Yarn, the Module name will change

Time:11-05

From setting. Gradle cites several RN in libraries, reference method is as follows:
 include ': the react - native - safe - area - the context' 
Project (' : the react - native - safe - area - the context '). The projectDir=new File (rootProject projectDir, '$rootDir/../../.. RN/node_modules/react - native - safe - area - the context/android ')


When performing yarn, every time when you need to introduce new library Android studio in these libraries will rename itself into a new, could you tell me how to solve the
  • Related