Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[4.7] Android Packaging fails due to '-' in package name

There are a few bugs with packaging for android with 4.7.

  1. Having a hyphen '-' in your package name causes javac not to find the semicolon at the end of the package line in /[project root]/Intermediate/Android/APK/gen/com/[your-name-here]/[yourProjectHere]/BuildConfig.java, and R.java, in the same folder. This causes packaging to fail. Might be user error on my part, but still a bug.

  2. When changing package names in the Android pane of the Project Settings window, UE4 creates a new set of folders with the new package name, but does not remove the old ones. This compounds the above problem, because even if you fixed the name, it is still trying to compile with the old files as well.

I am aware that the issue with hyphens will probably not go away, due to how java works. However, I would suggest implementing some form of error filtering in (at the very least) the package name input field. Even a lowly tooltip would be nice.

Also, please do try to make the editor clean up after itself when switching package names.

Product Version: Not Selected
more ▼

asked Feb 27 '15 at 10:14 PM in Bug Reports

avatar image

Axtel Sturnclaw
73 4 8 12

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Howdy Axtel,

Thank you for reporting this issue that you have been running into. I have written Jira report UE-11360 and placed this report into our bug database so that the issue may be addressed. I will be sure to keep you updated as I see any progress being made or if this is by design.

If it is by design, then I will place a feature request in to better explain that no '-' can be used in the title.

Thanks and have a great day!

more ▼

answered Mar 05 '15 at 08:26 PM

avatar image

[Epic] Gribbs ♦♦ STAFF
11.8k 292 14 76

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question