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"

Daydream&Cardboard build fails on android-21

Fails packaging 'Daydream & Cardboard' app in 4.15.3, when min and target SDK versions are set to 21. Error messages:

[aapt] D:\github\memory\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute 'enableVrMode' in package 'android'

[aapt] D:\github\memory\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute 'resizeableActivity' in package 'android'

Looks like it is trying to use Android N features. Cardboard-only build completes but crashes on device.

In 4.14.3 it was possible to build such configuration.

Product Version: UE 4.15 Preview
Tags:
more ▼

asked Feb 02 '17 at 09:02 PM in Bug Reports

avatar image

diamond3
23 2 5 10

avatar image Rudy Q ♦♦ STAFF Feb 03 '17 at 02:49 PM

Hello diamond3,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?

  3. Could you provide screen shots of any blueprints/settings that may be involved with this issue?

  4. What device are you currently trying to package/launch on to?

  5. Are you packaging or launching on?

  6. What is the current OS that is being run on the device?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first

Hello diamond3,

You will need to set the Android SDK Level to android-24 in the Android SDK project settings, but leave NDK level at android-21. Set your target SDK to 21, not 24. This will fix the compile error. Also make sure you install SDK Platform 24 with SDK Manager (only 19 and 21 are installed by default by Codework for Android). I hope that this information helps.

Make it a great day

more ▼

answered Feb 03 '17 at 03:31 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 525

avatar image diamond3 Feb 05 '17 at 01:48 PM

Your suggestions didn't work for me. However, I managed to launch project on Android 7.1.1 device.

avatar image Rudy Q ♦♦ STAFF Feb 07 '17 at 02:26 PM

I am unclear after your last comment as to whether or not you still require assistance with this issue. If you still require help, could you go through and answer the questions from my previous post?

avatar image diamond3 Feb 07 '17 at 06:05 PM

Well, I still can't launch project on Android 6. Thus, I still need help or this is an issue of UE4.15. I won't have additional info today but will update you as soon as I can.

avatar image diamond3 Feb 07 '17 at 08:37 PM

My bad. Apparently, I messed with SDK versions at first. After reading your instructions more carefully, I managed to make a correct build which works on both Android 6 and 7. Thanks a lot!

For reference, here is my working configs: alt text alt text

untitled-1.jpg (144.8 kB)
untitled-2.jpg (92.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Be the first one to answer this question
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