So i just build a new react native app with typescript. And the problem here is when i runnpm run build_apk
it got error like below. And i think because i use typescript so my file name was index.tsx ,not index.js , but i don't know how to fix it.
This is how my build_apk command look like
"build_apk": "cd android && .\\gradlew assembleRelease"