-
-
Notifications
You must be signed in to change notification settings - Fork 40
uglify option prevent the generation of application java class. #564
Comments
There are few differences between your code VS the demo's code . Just saying . Are you sure you use the |
For I had to prefix MainActivity with For symlink, I tried to play with the option. I reverted it. It does not solve the problem. |
@vchimev any work around so far regarding application extend? |
Hey Guys, Let me first refer to this pull request addressing the issue where an absolute path in I updated all the demos to extend android activity and application in the same branch, and managed to execute them successfully with:
Extend Android ActivityIn regard to extend android activity, it should be added only to the
In this way and with the default config, these components get in the common vendor.js chunk and are required in the bundle by Extend Android ApplicationIn regard to extend android application, it should be added only as an entry.
In this way, the source code of The |
@vchimev @jibon57 @RadouaneRoufid Hello. Can you please explain why Vasil used in here :
Can you please shed some light about the steps that occur here ? |
It may help #568 (comment) |
Hey @RoyiNamir,
|
Hey @RadouaneRoufid and @jibon57, I'm closing this as demos and docs were updated. Please, let me know in case of any other issues. |
Hey @vchimev . Docs here you mean ? found it . |
Any news on this ? Problem still present in tns 6.1.2 |
I found the solution. |
Issue Checklist
Tell us about the problem
The issue 559 results in a problem in using --env.uglify option when using a custom application. In fact, the custom application Java Class is not generated causing an error on app start: ClassNotFoundException
with a
-- env.uglify
option, the build succeed without console errors. But when starting the app on device or emulator, the classNotFoundExcetion occurs. I tried to understand why it does not work and I realized the java class of the@JavaProxy
is not generated as you can see belowwhile without --env.uglify option, a MainActivity.java exists under org.bricool as below :
Local environment
Project data
The text was updated successfully, but these errors were encountered: