gavinpugh / vs-android

Integrated development of Android NDK C/C++ software with Microsoft Visual Studio.
Other
119 stars 34 forks source link

Wrong target name. #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have any of the vs-android samples.
2. Check, that Target Name is set to $(ProjectName).
3. Build it.

What is the expected output? What do you see instead?
My apk should have project's name, but it has Activity's name.
But when I perform some actions to name my *.apk as I want, it makes impossible 
to deploy and run it automatically in emulator after build.

What version of the product are you using? On what operating system?
vs-android latest version. windows 7.

Please provide any additional information below.
No additional information.

Original issue reported on code.google.com by prouse...@gmail.com on 19 Feb 2012 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 21 Feb 2012 at 11:47

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 25 Jul 2012 at 1:47

GoogleCodeExporter commented 9 years ago
vs-android names the .so after the $(ProjectName).

The activity name is determined from the build.xml file. vs-android only reads 
the build.xml file to determine the apk name for dependency checking and 
deployment purposes. Ant controls the actual final output name of the apk, not 
vs-android.

To do what you're requesting would essentially mean stripping out "ant" 
entirely and calling all the Android tools myself. I did consider doing this at 
one point a couple of years ago, but it really isn't worth the huge effort 
involved.

Original comment by gavin.dj.pugh on 21 May 2013 at 7:35