Builder Bob.jar issue (SOLVED)

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?

1 Like

image
No.I think the --variant argument just affect the bundle phase.

Yes, my project has one appmanifest

1 Like

Ahh, hm, then it might be wrong in the help! :slight_smile:

--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?

1 Like

OK, do the --variant needed in the bundle phase?

1 Like

And, what does it say?

2 Likes

I specify --variant both in build and bundle phase, it work. I’ll try only specify in build phase

1 Like

I just had tried to only specify --variant debug in build phase,It works.

1 Like