-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
React Native Windows App looks for MainApplication.java file, but my app has MainApplication.kt #12734
Comments
I'm confused about seeing an error about |
It looks like the error is coming from something called firebase? It doesn't look like that module supports windows. |
|
@dannyouu can you share the module dependencies from your package.json? |
Hi Chris, it's too long for a screenshot, here's the pasted code:
|
Thanks, the list of modules is very helpful. |
Problem Description
I have a react native app that runs on both iOS and Android (0.73.0) and when I try to create a windows build following the article here - https://microsoft.github.io/react-native-windows/docs/getting-started
![image](https://private-user-images.githubusercontent.com/4019053/304702301-72493518-aa22-460c-b627-b17156b7545b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNzM0NTYsIm5iZiI6MTcyMTI3MzE1NiwicGF0aCI6Ii80MDE5MDUzLzMwNDcwMjMwMS03MjQ5MzUxOC1hYTIyLTQ2MGMtYjYyNy1iMTcxNTZiNzU0NWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDMyNTU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDY2ZDZiNDgxYzA1NTE1MTEyMmZlNDcxYjBhZTdjYTk0NzU2YTMzZjQ5MDc5MjNmYTM2ZDI3MzA3ZjY2YTdlNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.dxk_6Od51ZkQl-ZCECUx3WTyKpB5i5vrBx5ysEhITP8)
I get the following error:
And after following the steps I still get the same error.
Here's a screenshot of my android folder.
![image](https://private-user-images.githubusercontent.com/4019053/304705548-55b97a19-074d-4fe7-acca-36b4e374ff26.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNzM0NTYsIm5iZiI6MTcyMTI3MzE1NiwicGF0aCI6Ii80MDE5MDUzLzMwNDcwNTU0OC01NWI5N2ExOS0wNzRkLTRmZTctYWNjYS0zNmI0ZTM3NGZmMjYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMDMyNTU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDM4NTk0MWE1YmZjOGVlNDNjZWI3MzkyN2JhZmM5Zjc4YmNkNWIxMjY0NWM1ZGI3N2EzOGIyMTBiODUwNTBkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.OfECYtHL8VqCzcyCTuvDKclZH_x9h1PMMWmPHI4RucI)
Steps To Reproduce
I Just follow the steps in this article: https://microsoft.github.io/react-native-windows/docs/getting-started
Expected Results
I expect to have my RN app, running on windows.
CLI version
npx react-native -v 12.2.0
Environment
Target Platform Version
10.0.19041
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
The newly created app builds flawlessly.
The text was updated successfully, but these errors were encountered: