Check out example codes for "Unsupported Modules Detected". It will help you in understanding the concepts better.

Code Example 1

Delete .idea/modules.xml
Reload All Gradle Projects

Code Example 2

save .idea folder somewhere else (for backup)
remove .idea folder
start AndroidStudio
select project
[there may be an error, ignore that]
click File -> Invalidate Caches/ Restart
click button: Invalidate Caches/ Restart
resolved

Learn ReactJs, React Native from akashmittal.com