Coder Social home page Coder Social logo

App crash after build: FATAL EXCEPTION: main - java.lang.RuntimeException: Unable to instantiate activity - java.lang.ClassNotFoundException: Didn't find class "com.NAME.APPNAME.MainActivity" on path: DexPathList about create_flutter_provider_app HOT 3 CLOSED

rainerlonau avatar rainerlonau commented on July 26, 2024
App crash after build: FATAL EXCEPTION: main - java.lang.RuntimeException: Unable to instantiate activity - java.lang.ClassNotFoundException: Didn't find class "com.NAME.APPNAME.MainActivity" on path: DexPathList

from create_flutter_provider_app.

Comments (3)

KenAragorn avatar KenAragorn commented on July 26, 2024

Hello @rainerlonau ,

Thanks for the heads up!
Sorry, was away for few short day. Yes, that is 1 way to fix the MainActivity issue. But, so far this is the first time I saw issue as this. Let me do a update on the latest Flutter build on this project and try.

from create_flutter_provider_app.

rainerlonau avatar rainerlonau commented on July 26, 2024

Maybe this error came because I renamed the bundle itentifier in the AndroidManifest files and everywhere else I could find it. This step wasn´t explicitly explained in the setup of the project.

I guess it´s because of what I mentioned. In your setup you have a few spots where you explain to change the bundle identifier. But I changed it also in other places and I guess that´s when MainActivity could be found anymore because the folders were not renamed correctly (at first)

from create_flutter_provider_app.

KenAragorn avatar KenAragorn commented on July 26, 2024

Ok, great. After I complete a new project that used this package, I will update the README on this. Thanks again.:)

from create_flutter_provider_app.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.