none
VS 2015 + Android RRS feed

  • Question

  • Currently i am in the process of porting an Android project to VS 2015, and all has been going great thus far.  I am able to debug the native code, and fast and smooth.

    However, i have moved into a more advanced library now.  This library contains an *.S file that when run using "ndk-build" from the Android NDK, it compiles and the library is usable. I can not figure out how to compile this file within VS 2015 to provide an object file to the library.  I have tried doing a custom build tool, setting the command line to gcc and g++ and the proper arguments, but to no avail.  

    Is this possible within the VS framework?  

    Thanks for any help and assistance.

    Note: Setting Item Type to C/C++ compiler for x86 allows the file to build, but not for ARM.


    Friday, August 14, 2015 5:30 PM

Answers

All replies

  • Hi Stephen C. Keefer,

    Thank you for visiting the MSDN forum. This forum is to discuss the VS IDE usage:

    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    Based on your description, I'm afraid that it is not correct forum for this issue. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum. Thanks for your understanding.

    In addition, it would be better if you could share more information in your new reply, for example, where did you get the *.S file? Is it the third party library or others?

    Thanks,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 17, 2015 8:09 AM
  • Hello,

    What Android addin are you using?

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Tuesday, August 25, 2015 3:47 PM
    Moderator
  • It's not using any third party plugin.  VS 2015 enables native development of Android applications.  It is a stock application, using a library that has an *.S file in it.  In debug mode, setting the content type to C++/C Compiler works, but in release mode, it does not.
    Tuesday, August 25, 2015 4:22 PM
  • If it is C++ I'd try them over here.

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral&filter=alltypes&sort=lastpostdesc

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Saturday, September 5, 2015 9:25 PM
    Moderator