Bundle project error


#1

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)

#3

That label (???) is chinese character.


#4

Try not using Chinese characters.


#5

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


#7

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


#8

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


#9

Why are you so melodramatic?


#12

:rofl::rofl::rofl:


#13

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