I use bob.jar to build my android bundle, with –variant debug
And I put one print in my .script, but when run in android, I don’t see any print in logcat
Are you supplying the --variant
argument to both the build and bundle commands?
Are you using any .appmanifest
?
No.I think the --variant
argument just affect the bundle phase.
Yes, my project has one appmanifest
Ahh, hm, then it might be wrong in the help!
--variant
is needed during the build step as well, since this is also where the binary is built if the project uses native extensions or appmanifest. The default value is release during the build command, so could you try running it using --variant debug
?
OK, do the --variant
needed in the bundle phase?
And, what does it say?
I specify --variant
both in build and bundle phase, it work. I’ll try only specify in build phase
I just had tried to only specify --variant debug
in build phase,It works.