-
Notifications
You must be signed in to change notification settings - Fork 906
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
Error type 3 Error: Activity class {....} does not exist #2349
Comments
The issue also accrues on my app. |
I had something similar but a slightly different error message - so careful! - this may not apply - however, this PR may be of interest - either it or something like it may work for you? #2388 |
|
hey @eidan66 did you resolve your issue? |
Let me know if the issue is still presented, happy to re-open and fix support for detecting MainActivity :) |
Have a nice day. I have many mistakes, can you help me? |
@1210505903 if you you think that's an issue with React Native Community CLI, please raise new issue - we'll do our best to help you :) |
After trying everything I could find, including clearing every cache I could think of and restarting my computer and Studio a number of times, I think there was still some sort of caching issue happening because I ended up needing to add my package name to the front of |
Environment
Description
I Updated
namespace
andapplicationId
to be the same name (after we initiate the project and change the name), after it i rannpm run android
i'm getting this error message and the app won't open automaticallyStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=XX.XXX.XXXX/.MainActivity } Error type 3 Error: Activity class {XX.XXX.XXXX/XX.XXX.XXXX.MainActivity} does not exist.
XX.XXX.XXXX
= my package nameReproducible Demo
I can't share the code..
I have try those things before open this ticket:
https://stackoverflow.com/questions/20915266/error-type-3-error-activity-class-does-not-exist
#2269 (and it already install by react native community by the versions on my project)
./gradlew clean
->npm run android
-> same errorremoving build folder -> same error
The text was updated successfully, but these errors were encountered: