Skip to content

Commit

Permalink
Update HybridObjectRegistry.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent aa50e9a commit c7a76b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ std::shared_ptr<HybridObject> HybridObjectRegistry::createHybridObject(const std
"- If you use Nitrogen, make sure your library (*Package.java)/app (MainApplication.java) calls "
"`System.loadLibrary(\"<<androidCxxLibName>>\")` somewhere on app-startup.\n"
"- If you use Nitrogen, make sure your cpp-adapter.cpp calls `margelo::nitro::<<cxxNamespace>>::initialize(vm)`.\n"
"- If you use Nitrogen, inspect the generated `<<androidCxxLibName>>OnLoad.cpp` file.\n"
"- If you don't use Nitrogen, make sure you called `HybridObjectRegistry.registerHybridObject(...)`.\n";
throw std::runtime_error(message);
}
Expand Down

0 comments on commit c7a76b0

Please sign in to comment.