Bundle project error

I tried to bundle with bob.jar on linux, and i got this error:

%Exception in thread “main” com.dynamo.bob.CompileExceptionError: Failed building Android resources to R.java: Failed building Android resources to R.java: /tmp/tmp6292570146010850453bundle/AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at ‘label’ with value ‘???HD’).

/tmp/tmp6292570146010850453bundle/AndroidManifest.xml:29: error: Error: No resource found that matches the given name (at ‘value’ with value ‘???HD’).

/tmp/tmp6292570146010850453bundle/AndroidManifest.xml:47: error: Error: No resource found that matches the given name (at ‘label’ with value ‘???HD’).

    at com.dynamo.bob.Project.generateRJava(Project.java:547)
    at com.dynamo.bob.Project.buildEngine(Project.java:651)
    at com.dynamo.bob.Project.doBuild(Project.java:772)
    at com.dynamo.bob.Project.build(Project.java:344)
    at com.dynamo.bob.Bob.main(Bob.java:438)

That label (???) is chinese character.

Try not using Chinese characters.

Yes, please try with only using ids that contain ASCII characters perhaps. Not sure how well we handle anything else @mats.gisselson and @sven?

yes, it work as you say, but I am looking for another solution.

But the strange thing is I succeed on another computer. (same project)

Why are you so melodramatic?

1 Like

:rofl::rofl::rofl:

I found a solution: use “java -Dfile.encoding=UTF-8 -jar bob.jar” to build project.

2 Likes