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"

How to debug Android w/ 4.16's -vsdebugandroid option?

Hi guys:

I am trying to figure out how to debug an android build ON THE DEVICE. 4.16 supposedly has a new feature making android debugging easier, which as I understand involves the following:

  1. [Engine Source Folder] Run GenerateBatchFiles.bat with the "-vsdebugandroid" flag

  2. [In Engine] Package the game for Android as DEVELOPMENT, and install the packaged build to device

  3. [In VS2017] Set the project as the startup project

  4. [In VS2017] Set Configuration to DEVELOPMENT-ANDROID

  5. [In VS2017] Debug -> Start New Instance

For me, at step #5, immediately after the build completes successfully, an error message pops up saying it can't find the .so file for the project (the Android static library file, I assume). "Unable to start program 'C:/xxx/yyy/zzz/MyProject.so' The system cannot find the file specified." And this is currently where I am stuck.

Have I set the wrong configuration in #4? Did I miss a step somewhere? Is VS2017 not set up correctly? (Yes, I have common tools installed)

Any hint/guidance to get this debugger to work would be greatly appreciated!

Product Version: UE 4.18
Tags:
more ▼

asked Dec 20 '17 at 05:27 PM in C++ Programming

avatar image

Orakga
35 5 11 14

avatar image Orakga Dec 20 '17 at 06:02 PM

alt text

Just for some additional info., I noticed that the error message looks for a filename that doesn't QUITE exist. As you can see in the captured image, the .so file that actually exists has a slightly longer filename (specifically with "-armv7-es2").

I'm not sure if this info. helps, but thought I'd share nonetheless.

capture.png (47.9 kB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first
more ▼

answered Jun 11 '18 at 08:35 AM

avatar image

qzl90082831
1 1

(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