compile C++ for Android with Visual Studio

  • Thread starter Thread starter Peadar O'Colmain
  • Start date Start date
P

Peadar O'Colmain

Guest
I’d just like to ask a general question please. Did anyone ever get Visual Studio to create a C++ program and then get it compile it for Android?

I have been at this for days and it just doesn’t seem to work. I have done everything recommended by various websites. I have done the Windows Update, Disabled my Anti-Virus, Re_run SDK installer as Admin. I can run Android Studio and create a Java Program and that compiles and runs so there doesn’t seem to be anything wrong with my SDK.

The versions I have installed are;

JDK

jdk-14_windows-x64_bin.exe

NDK

android-ndk-r21-windows-x86_64.zip

SDK

wnsdksetup_4171233914.exe

When I try to do a build with the above combination installed I get this error;

[taskdef] Could not load definitions from resource emma_ant.properties. it could not be found.

This is a project which I have created with Visual studio. I have put absolutely no code into it and it fails to compile.

Is there some particular combination of versions of JDK, NDK and SDK that I should be installing?

Thank you in advance for any help.

Peadar, Dublin, Ireland 07 04 2020.

Continue reading...
 
Back
Top