-
-
Notifications
You must be signed in to change notification settings - Fork 40
Snapshot Bundle failed with custom android activity #568
Comments
Hey @RadouaneRoufid, I've tried to reproduce this issue with my android-extend-ng sample app, but to no avail. |
Hi @vchimev I changed
I'm using Thank you for your reactivity ! |
I have a little question @vchimev. I need to import my custoMActivity in my app.component. The problem is in dev mode, I need to import from How can i handle this scenario ? |
Hey @RadouaneRoufid, The right way is to add a common |
Hey @RadouaneRoufid, Let me follow up that adding a custom android app component to the array on the top of the webpack.config.js file should be resolved to an absolute path, i.e. In regard to the original problem with build failed, you reported, I updated all the demos in the branch for the fix above to extend android activity and application, and managed to execute them successfully, not reproducing the problem. Do you still experience it? |
I'm still using
|
Issue Checklist
Tell us about the problem
I'm using a custom android activity in my nativescript project.
I declared this activity in my AndroidManifest.xml as below
I added this activity in webpack.config.js
Building with:
tns build android --bundle --env.aot --env.uglify --env.snapshot
results with the following error:Local environment
Project data
The text was updated successfully, but these errors were encountered: