x

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"

Engine updates don't update the XML files

There are still some major failures with the UE4 engine. Especially when converting a project from an older build to a newer like 4.2.1 to 4.3. Several XML files don't get updated.

\Build\Android\AndroidManifest.XML this file isn't updated between engine versions mine was missing a ton of play services and admob related entries.

\Build\Android\proguard-project.txt this file also wasn't updated and was missing a lot of entries going from 4.2.1 to 4.3

\Build\Android\res\values\GooglePlayAppID.XML this file doesn't seem to follow the documentation from google. https://developers.google.com/games/services/android/quickstart#step_3_modify_your_code as it only holds the app_id and no achievement or leaderboard ID's at all. I couldn't find any relations to the GooglePlayAppID.XML file at all in the Google documentation

according to Google the \Build\Android\res\values\folder should hold a ids.xml file that contains all the specific ID's related to your app/achievements/leaderboards

To run the game, you need to configure the application ID as a resource in your Android project. You will also need to add games metadata in the AndroidManifest.xml.

  • Open res/values/ids.xml and replace the placeholder IDs. If you are creating an Android game from scratch, you will need to create this file first.

Specify your application ID in the app_id resource.

Specify each achievement ID that you created earlier in the corresponding achievement_* resource.

Specify each leaderboard ID that you created earlier in the corresponding leaderboard_* resource.

  • Open AndroidManifest.xml and enter your package name in the package attribute of the element. If you are creating an Android game from scratch, make sure that you also add the following code inside the element:

The only way to fix this is by deleting the Application\Build and Application\Intermediate folders. This will get rid of the old XML files and make sure the updated ones will be build ones you enter the Project Settings and make the Android files writable.

I also want to thank KRushin for providing me with some useful feedback on these subjects.

Product Version: Not Selected
Tags:
more ▼

asked Jul 13 '14 at 12:24 PM in Bug Reports

avatar image

KillerSneak
151 10 12 17

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

1 answer: sort voted first

Hi KillerSneak,

Thank you for your report. I have put in a request for a member of our development team to take a look at the issues you have mentioned with these Android files.

more ▼

answered Jul 15 '14 at 08:39 PM

avatar image

Tim C ♦♦ STAFF
18.1k 423 69 286

avatar image KillerSneak Jul 17 '14 at 08:51 PM

Thanks, if any further information is needed please let me know. I saved some backup files for comparison. If they need them please let me know so I can upload them somewhere for download.

(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