-
Notifications
You must be signed in to change notification settings - Fork 874
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
App fails to start after renaming #34
Comments
+1 @Zefau thanks for spotting and figuring this out! |
I got this error. I added MainApplication.java and MainActivity.java from the repo to the new folder and now I'm getting this error:
|
Hello @joshuakoh7 ! Does the path of the For example, in the boilerplate, the package name is Thanks |
I fixed it. I had unknowingly capitalised the app name in AndroidManifest.xml so it couldn't find the right app. |
I can see this issue is closed but I am still getting this issue. Btw |
Renaming the project updates the following files accordingly:
App/index.js
App/app.json
/android/settings.gradle
But the file
MainActivity.java
gets deleted once renaming the project. Thus/android/app/src/main/java/com/[yourprojectname]/MainActivity.java
does not exist.Manually copying and modifying the files solves the problem.
Thus, adaption of
yarn run rename
is required.Originally posted by @Zefau in #22 (comment)
The text was updated successfully, but these errors were encountered: